]>
Commit | Line | Data |
---|---|---|
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; | |
40 | AliITSgeom* fGeom; | |
41 | AliITSsegmentationSPD* fSegSPD; | |
42 | AliITSsegmentationSDD* fSegSDD; | |
43 | AliITSsegmentationSSD* fSegSSD; | |
44 | ||
d54c094e | 45 | Int_t fSPDScaleX[5]; |
46 | Int_t fSPDScaleZ[5]; | |
47 | Int_t fSDDScaleX[5]; | |
48 | Int_t fSDDScaleZ[5]; | |
49 | Int_t fSSDScale [5]; | |
5a5a1232 | 50 | |
265ecb21 | 51 | ITSDigitsInfo(); |
5a5a1232 | 52 | virtual ~ITSDigitsInfo(); |
53 | ||
54 | void SetTree(TTree* tree); | |
55 | ||
56 | TClonesArray* GetDigits(Int_t moduleID, Int_t detector); | |
57 | ||
58 | void GetSPDLocalZ(Int_t j, Float_t& z); | |
59 | ||
5a5a1232 | 60 | virtual void Print(Option_t* opt="") const; |
61 | ||
62 | ClassDef(ITSDigitsInfo, 1); | |
63 | }; // endclass ITSDigitsInfo | |
64 | ||
65 | } | |
66 | #endif |