]>
Commit | Line | Data |
---|---|---|
56b1929b | 1 | #ifndef ALIFMDMULTALGORITHM_H |
2 | #define ALIFMDMULTALGORITHM_H | |
e802be3e | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights |
4 | * reserved. | |
5 | * | |
6 | * Latest changes by Christian Holm Christensen <cholm@nbi.dk> | |
7 | * | |
8 | * See cxx source for full Copyright notice | |
9 | */ | |
10 | /* $Id$ */ | |
088f8e79 | 11 | |
e802be3e | 12 | //____________________________________________________________________ |
13 | // | |
088f8e79 | 14 | // Base class for FMD reconstruction algorithms. |
e802be3e | 15 | // Derived classes will implement various ways of reconstructing the |
16 | // charge particle multiplicity in the FMD. | |
17 | // | |
18 | ||
19 | #ifndef ROOT_TTask | |
20 | # include <TTask.h> | |
21 | #endif | |
22 | ||
23 | //____________________________________________________________________ | |
24 | class AliFMDDigit; | |
56b1929b | 25 | class TTree; |
26 | class AliFMD; | |
27 | class TClonesArray; | |
e802be3e | 28 | |
29 | //____________________________________________________________________ | |
56b1929b | 30 | class AliFMDMultAlgorithm : public TNamed |
e802be3e | 31 | { |
32 | public: | |
56b1929b | 33 | AliFMDMultAlgorithm(const char* name, const char* title); |
34 | virtual ~AliFMDMultAlgorithm(); | |
e802be3e | 35 | |
56b1929b | 36 | virtual void PreRun(AliFMD* fmd) { fFMD = fmd; } |
37 | virtual void PreEvent(TTree* treeR, Float_t ipZ); | |
e802be3e | 38 | virtual void ProcessDigit(AliFMDDigit* digit, |
39 | Float_t eta, | |
40 | Float_t phi, | |
41 | UShort_t counts) = 0; | |
56b1929b | 42 | virtual void PostEvent() {} |
43 | virtual void PostRun() {} | |
e802be3e | 44 | protected: |
56b1929b | 45 | TTree* fTreeR; //! Reconstruction tree |
46 | TClonesArray* fMult; //! Reconstructed multiplicities | |
47 | Int_t fNMult; //! Number of reconstructed multiplicities | |
48 | AliFMD* fFMD; //! Detector information | |
49 | ||
50 | ClassDef(AliFMDMultAlgorithm, 0) // Base class for algorithms | |
e802be3e | 51 | }; |
52 | ||
53 | #endif | |
54 | //____________________________________________________________________ | |
55 | // | |
56 | // Local Variables: | |
57 | // mode: C++ | |
58 | // End: | |
59 | // | |
60 | // EOF | |
61 | // |