Line data Source code
1 : #ifndef ALIHLTTPCCLUSTERSTAT_H
2 : #define ALIHLTTPCCLUSTERSTAT_H
3 : //* This file is property of and copyright by the ALICE HLT Project *
4 : //* ALICE Experiment at CERN, All rights reserved. *
5 : //* See cxx source for full Copyright notice *
6 :
7 : #include "AliHLTProcessor.h"
8 : #include "AliHLTComponentBenchmark.h"
9 : #include "AliZMQhelpers.h"
10 :
11 : class AliHLTTPCClusterStatComponent : public AliHLTProcessor, public AliOptionParser
12 : {
13 : public:
14 : /** standard constructor */
15 : AliHLTTPCClusterStatComponent();
16 : /** destructor */
17 : virtual ~AliHLTTPCClusterStatComponent();
18 :
19 : // interface methods of base class
20 432 : const char* GetComponentID() {return "TPCClusterStat";};
21 : void GetInputDataTypes(AliHLTComponentDataTypeList& list);
22 : AliHLTComponentDataType GetOutputDataType();
23 : void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
24 0 : AliHLTComponent* Spawn() {return new AliHLTTPCClusterStatComponent;}
25 :
26 : protected:
27 : // interface methods of base class
28 : int DoInit(int argc, const char** argv);
29 : int DoDeinit();
30 : int DoEvent( const AliHLTComponentEventData& evtData,
31 : const AliHLTComponentBlockData* blocks,
32 : AliHLTComponentTriggerData& trigData,
33 : AliHLTUInt8_t* outputPtr,
34 : AliHLTUInt32_t& size,
35 : AliHLTComponentBlockDataList& outputBlocks );
36 :
37 : using AliHLTProcessor::DoEvent;
38 : int ProcessOption(TString option, TString value);
39 :
40 : private:
41 : /** copy constructor prohibited */
42 : AliHLTTPCClusterStatComponent(const AliHLTTPCClusterStatComponent&);
43 : /** assignment operator prohibited */
44 : AliHLTTPCClusterStatComponent& operator=(const AliHLTTPCClusterStatComponent&);
45 :
46 : int fTotal, fSplitPad, fSplitTime, fSplitPadTime, fSplitPadOrTime; //!
47 :
48 : int fPrintClusters; //!
49 : int fPrintClustersScaled; //!
50 : int fDumpClusters; //!
51 :
52 : FILE* fp;
53 :
54 : protected:
55 :
56 6 : ClassDef(AliHLTTPCClusterStatComponent, 0)
57 : };
58 : #endif
|