]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/ITSDigitsInfo.h
Put black-listed classes out of Alieve namespace.
[u/mrichter/AliRoot.git] / EVE / Alieve / ITSDigitsInfo.h
1 // $Header$
2
3 #ifndef ALIEVE_ITSDigitsInfo_H
4 #define ALIEVE_ITSDigitsInfo_H
5
6 #include <TEveUtil.h>
7
8 #include <map>
9 #include <vector>
10
11 #include <TObject.h>
12 #include <TClonesArray.h>
13 #include <TTree.h>
14
15 #include <AliITS.h>
16 #include <AliITSgeom.h>
17 #include <AliITSsegmentationSPD.h>
18 #include <AliITSsegmentationSDD.h>
19 #include <AliITSsegmentationSSD.h>
20
21 class AliRawReader;
22
23 namespace Alieve {
24 /**************************************************************************/
25 // ITSModuleSelection
26 /**************************************************************************/
27 class ITSModuleSelection
28 {
29 public:
30   Int_t    fType;
31   Int_t    fLayer;
32   Float_t  fMinPhi;
33   Float_t  fMaxPhi;
34   Float_t  fMinTheta;
35   Float_t  fMaxTheta; 
36   
37   ITSModuleSelection();
38   virtual ~ITSModuleSelection() {}
39
40   ClassDef(ITSModuleSelection, 1);
41 };
42
43 /**************************************************************************/
44 // ITSDigitsInfo
45 /**************************************************************************/
46 class ITSDigitsInfo : public TObject, public TEveRefCnt
47 {
48   ITSDigitsInfo(const ITSDigitsInfo&);            // Not implemented
49   ITSDigitsInfo& operator=(const ITSDigitsInfo&); // Not implemented
50
51 private:
52   Float_t fSPDZCoord[192];
53
54   void InitInternals();
55
56 protected:
57   map<Int_t,  TClonesArray*> fSPDmap;
58   map<Int_t,  TClonesArray*> fSDDmap;
59   map<Int_t,  TClonesArray*> fSSDmap;
60
61   void        SetITSSegmentation();
62
63 public:
64   TTree*                   fTree;
65
66   AliITSgeom*              fGeom;
67   AliITSsegmentationSPD*   fSegSPD;
68   AliITSsegmentationSDD*   fSegSDD;
69   AliITSsegmentationSSD*   fSegSSD;
70
71   Int_t                    fSPDMinVal;
72   Int_t                    fSSDMinVal;
73   Int_t                    fSDDMinVal;
74   Int_t                    fSPDMaxVal;
75   Int_t                    fSSDMaxVal;
76   Int_t                    fSDDMaxVal;
77
78   Int_t                    fSPDHighLim;
79   Int_t                    fSDDHighLim;
80   Int_t                    fSSDHighLim;
81
82   Int_t                    fSPDScaleX[5];
83   Int_t                    fSPDScaleZ[5];
84   Int_t                    fSDDScaleX[5];
85   Int_t                    fSDDScaleZ[5];
86   Int_t                    fSSDScale [5];
87
88   ITSDigitsInfo();
89   virtual ~ITSDigitsInfo();
90
91   void SetTree(TTree* tree);
92   void ReadRaw(AliRawReader* raw, Int_t mode);
93
94   TClonesArray* GetDigits(Int_t moduleID, Int_t detector);
95
96   void GetSPDLocalZ(Int_t j, Float_t& z);
97
98   void GetModuleIDs(ITSModuleSelection* sel, std::vector<UInt_t>& ids);
99
100   virtual void Print(Option_t* opt="") const;
101
102   ClassDef(ITSDigitsInfo, 1);
103 }; // endclass ITSDigitsInfo
104
105 }
106 #endif