5a5a1232 |
1 | // $Header$ |
2 | |
3 | #ifndef ALIEVE_ITSDigitsInfo_H |
4 | #define ALIEVE_ITSDigitsInfo_H |
5 | |
d54c094e |
6 | #include <Reve/Reve.h> |
5a5a1232 |
7 | |
8 | #include <map> |
9 | |
10 | #include <TObject.h> |
11 | #include <TClonesArray.h> |
12 | #include <TTree.h> |
13 | |
14 | #include <AliITS.h> |
15 | #include <AliITSgeom.h> |
16 | #include <AliITSsegmentationSPD.h> |
17 | #include <AliITSsegmentationSDD.h> |
18 | #include <AliITSsegmentationSSD.h> |
19 | |
5a5a1232 |
20 | |
21 | namespace Alieve { |
22 | |
d54c094e |
23 | class ITSDigitsInfo : public TObject, public Reve::ReferenceCount |
5a5a1232 |
24 | { |
265ecb21 |
25 | ITSDigitsInfo(const ITSDigitsInfo&); // Not implemented |
26 | ITSDigitsInfo& operator=(const ITSDigitsInfo&); // Not implemented |
27 | |
5a5a1232 |
28 | private: |
5a5a1232 |
29 | Float_t fSPDZCoord[192]; |
30 | |
31 | protected: |
5a5a1232 |
32 | map<Int_t, TClonesArray*> fSPDmap; |
33 | map<Int_t, TClonesArray*> fSDDmap; |
34 | map<Int_t, TClonesArray*> fSSDmap; |
35 | |
36 | void SetITSSegmentation(); |
37 | |
38 | public: |
39 | TTree* fTree; |
d4b6a94c |
40 | |
5a5a1232 |
41 | AliITSgeom* fGeom; |
d4b6a94c |
42 | |
5a5a1232 |
43 | AliITSsegmentationSPD* fSegSPD; |
44 | AliITSsegmentationSDD* fSegSDD; |
45 | AliITSsegmentationSSD* fSegSSD; |
46 | |
d4b6a94c |
47 | Int_t fSPDMinVal; |
48 | Int_t fSSDMinVal; |
49 | Int_t fSDDMinVal; |
50 | Int_t fSPDMaxVal; |
51 | Int_t fSSDMaxVal; |
52 | Int_t fSDDMaxVal; |
53 | |
54 | Float_t fSPDMaxOcc; |
55 | Float_t fSDDMaxOcc; |
56 | Float_t fSSDMaxOcc; |
57 | |
58 | Int_t fSPDScaleX[5]; |
59 | Int_t fSPDScaleZ[5]; |
60 | Int_t fSDDScaleX[5]; |
61 | Int_t fSDDScaleZ[5]; |
62 | Int_t fSSDScale [5]; |
63 | |
265ecb21 |
64 | ITSDigitsInfo(); |
5a5a1232 |
65 | virtual ~ITSDigitsInfo(); |
66 | |
67 | void SetTree(TTree* tree); |
68 | |
69 | TClonesArray* GetDigits(Int_t moduleID, Int_t detector); |
70 | |
71 | void GetSPDLocalZ(Int_t j, Float_t& z); |
72 | |
5a5a1232 |
73 | virtual void Print(Option_t* opt="") const; |
74 | |
75 | ClassDef(ITSDigitsInfo, 1); |
76 | }; // endclass ITSDigitsInfo |
77 | |
78 | } |
79 | #endif |