]>
Commit | Line | Data |
---|---|---|
2410262d | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
91b95d47 | 2 | * See cxx source for full Copyright notice */ |
3 | //Component for create an invariant mass spectrum for pi0's | |
2410262d | 4 | |
91b95d47 | 5 | #ifndef ALIHLTPHOSPHYSICSANALYZERSPECTRUMCOMPONENT_H |
6 | #define ALIHLTPHOSPHYSICSANALYZERSPECTRUMCOMPONENT_H | |
2410262d | 7 | |
9c9d15d6 | 8 | // removed PTH#include "AliHLTProcessor.h" |
9 | #include "AliHLTPHOSProcessor.h" // added by PTH | |
d2b84453 | 10 | #include "AliHLTPHOSBase.h" |
91b95d47 | 11 | |
12 | class TH1F; | |
13 | class AliHLTPHOSPhysicsAnalyzerSpectrum; | |
14 | class AliHLTPHOSPhysicsAnalyzerPeakFitter; | |
15 | class Rtypes; | |
16 | class AliHLTPHOSDefinitions; | |
17 | class AliHLTPHOSPhysicsDefinitions; | |
18 | class TFile; | |
19 | ||
20 | struct AliHLTPHOSClusterDataStruct; | |
2410262d | 21 | |
22 | ||
9c9d15d6 | 23 | // PTH class AliHLTPHOSPhysicsAnalyzerSpectrumComponent: public AliHLTPHOSBase, public AliHLTProcessor |
24 | class AliHLTPHOSPhysicsAnalyzerSpectrumComponent: public AliHLTPHOSProcessor // added by PTH | |
2410262d | 25 | { |
26 | public: | |
27 | ||
28 | AliHLTPHOSPhysicsAnalyzerSpectrumComponent(); | |
29 | ~AliHLTPHOSPhysicsAnalyzerSpectrumComponent(); | |
d2b84453 | 30 | |
31 | // PTH AliHLTPHOSPhysicsAnalyzerSpectrumComponent(const AliHLTPHOSPhysicsAnalyzerSpectrumComponent &); | |
32 | // AliHLTPHOSPhysicsAnalyzerSpectrumComponent & operator = (const AliHLTPHOSPhysicsAnalyzerSpectrumComponent &) | |
33 | // { | |
34 | // return *this; | |
35 | // } | |
2410262d | 36 | const char* GetComponentID(); |
7c4091c1 | 37 | void GetInputDataTypes(vector<AliHLTComponentDataType>& list); |
2410262d | 38 | |
39 | AliHLTComponentDataType GetOutputDataType(); | |
40 | ||
41 | void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
42 | ||
6e709a0d | 43 | /* |
2410262d | 44 | Int_t DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, |
45 | AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, | |
6e709a0d | 46 | std::vector<AliHLTComponentBlockData>&);*/ |
7c4091c1 | 47 | int DoEvent(const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData); |
2410262d | 48 | |
49 | AliHLTComponent* Spawn(); | |
50 | ||
51 | protected: | |
52 | ||
53 | Int_t DoInit(int argc, const char** argv); | |
54 | Int_t Deinit(); | |
55 | Int_t DoDeinit(); | |
56 | ||
57 | private: | |
58 | ||
91b95d47 | 59 | AliHLTPHOSPhysicsAnalyzerSpectrum* fAnalyzerPtr; //! /**<Pointer to spectrum analyzer* |
60 | AliHLTPHOSPhysicsAnalyzerPeakFitter* fPeakFitter; //! /**<Pointer to peak fitter*/ | |
61 | TH1F* fRootHistPtr; //! /**<Pointer to histogram*/ | |
62 | AliHLTPHOSClusterDataStruct* fClusterArrayPtr[10000]; //! /**<Pointer to array of clusters*/ | |
63 | Int_t fWriteInterval; /**<Interval for writing to disk*/ | |
64 | ||
65 | static const AliHLTComponentDataType fgkInputDataTypes[]; /**<Data types*/ | |
66 | static UInt_t fgCount; /**<Event count*/ | |
2410262d | 67 | }; |
68 | ||
69 | #endif |