]>
Commit | Line | Data |
---|---|---|
56b1929b | 1 | #ifndef ALIFMDMULTPOISSON_H |
2 | #define ALIFMDMULTPOISSON_H | |
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$ */ | |
11 | //____________________________________________________________________ | |
12 | // | |
13 | // Class to do multiplicity reconstruction using the Poisson method. | |
14 | // That is, we count the number of empty strips in a region, and | |
15 | // derive the charge particle multiplicity from that number. | |
16 | // | |
17 | ||
18 | #ifndef ALIFMDMULTALGORITHM_H | |
19 | # include "AliFMDMultAlgorithm.h" | |
20 | #endif | |
21 | #ifndef ALIFMDBOOLMAP_H | |
22 | # include "AliFMDBoolMap.h" | |
23 | #endif | |
24 | ||
25 | //____________________________________________________________________ | |
26 | class AliFMDMultPoisson : public AliFMDMultAlgorithm | |
27 | { | |
28 | public: | |
29 | AliFMDMultPoisson(); | |
30 | virtual ~AliFMDMultPoisson() {} | |
31 | ||
32 | virtual void PreEvent(TTree* treeR, Float_t ipZ); | |
33 | virtual void ProcessDigit(AliFMDDigit* digit, | |
34 | Float_t eta, | |
35 | Float_t phi, | |
36 | UShort_t counts); | |
37 | virtual void PostEvent(); | |
38 | ||
39 | void SetDeltaEta(Float_t deta=.1) { fDeltaEta = deta; } | |
40 | void SetDeltaPhi(Float_t dphi=360) { fDeltaPhi = dphi; } | |
41 | void SetThreshold(UShort_t t=6) { fThreshold = t; } | |
42 | protected: | |
43 | AliFMDBoolMap fEmpty; //! Map of empty channels | |
44 | Float_t fCurrentVertexZ; //! Current IP's Z-coordinate | |
45 | Float_t fDeltaEta; // Bin size in eta | |
46 | Float_t fDeltaPhi; // Bin size in phi | |
47 | UShort_t fThreshold; // Threshold for Poisson recon. | |
48 | ||
49 | ClassDef(AliFMDMultPoisson, 0) // Poisson algorithm | |
50 | }; | |
51 | ||
52 | #endif | |
53 | //____________________________________________________________________ | |
54 | // | |
55 | // Local Variables: | |
56 | // mode: C++ | |
57 | // End: | |
58 | // | |
59 | // EOF | |
60 | // |