]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSPhysicsAnalyzerSpectrumComponent.h
Added new files to build system
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSPhysicsAnalyzerSpectrumComponent.h
CommitLineData
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
8#include "AliHLTProcessor.h"
91b95d47 9
10class TH1F;
11class AliHLTPHOSPhysicsAnalyzerSpectrum;
12class AliHLTPHOSPhysicsAnalyzerPeakFitter;
13class Rtypes;
14class AliHLTPHOSDefinitions;
15class AliHLTPHOSPhysicsDefinitions;
16class TFile;
17
18struct AliHLTPHOSClusterDataStruct;
2410262d 19
20
21class AliHLTPHOSPhysicsAnalyzerSpectrumComponent: public AliHLTProcessor
22{
23 public:
24
25 AliHLTPHOSPhysicsAnalyzerSpectrumComponent();
26 ~AliHLTPHOSPhysicsAnalyzerSpectrumComponent();
27 AliHLTPHOSPhysicsAnalyzerSpectrumComponent(const AliHLTPHOSPhysicsAnalyzerSpectrumComponent &);
28 AliHLTPHOSPhysicsAnalyzerSpectrumComponent & operator = (const AliHLTPHOSPhysicsAnalyzerSpectrumComponent &)
29 {
30 return *this;
31 }
32 const char* GetComponentID();
33 void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&);
34
35 AliHLTComponentDataType GetOutputDataType();
36
37 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
38
39
40 Int_t DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*,
41 AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&,
42 std::vector<AliHLTComponentBlockData>&);
43
44
45 AliHLTComponent* Spawn();
46
47 protected:
48
49 Int_t DoInit(int argc, const char** argv);
50 Int_t Deinit();
51 Int_t DoDeinit();
52
53 private:
54
91b95d47 55 AliHLTPHOSPhysicsAnalyzerSpectrum* fAnalyzerPtr; //! /**<Pointer to spectrum analyzer*
56 AliHLTPHOSPhysicsAnalyzerPeakFitter* fPeakFitter; //! /**<Pointer to peak fitter*/
57 TH1F* fRootHistPtr; //! /**<Pointer to histogram*/
58 AliHLTPHOSClusterDataStruct* fClusterArrayPtr[10000]; //! /**<Pointer to array of clusters*/
59 Int_t fWriteInterval; /**<Interval for writing to disk*/
60
61 static const AliHLTComponentDataType fgkInputDataTypes[]; /**<Data types*/
62 static UInt_t fgCount; /**<Event count*/
2410262d 63};
64
65#endif