]>
Commit | Line | Data |
---|---|---|
348f80b7 | 1 | #ifndef ALIITSONLINESDD_H |
2 | #define ALIITSONLINESDD_H | |
3 | ||
4 | ||
5 | /////////////////////////////////////////////////////////////////// | |
6 | // // | |
7 | // Base class for SDD detector algorithms // | |
8 | // Origin: F.Prino, Torino, prino@to.infn.it // | |
9 | // // | |
10 | /////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #include<TObject.h> | |
13 | #include<TMath.h> | |
14 | ||
15 | class AliITSOnlineSDD : public TObject { | |
16 | ||
17 | public: | |
18 | AliITSOnlineSDD(); | |
19 | AliITSOnlineSDD(Int_t mod, Int_t sid); | |
20 | virtual ~AliITSOnlineSDD(){}; | |
21 | ||
22 | void SetModule(Int_t mod){fModuleId=mod;} | |
23 | void SetDetectorSide(Int_t sid){fSide=sid;} | |
24 | ||
25 | Int_t GetModuleId() const {return fModuleId;} | |
26 | Int_t GetDetectorSide() const {return fSide;} | |
27 | ||
28 | protected: | |
29 | static const Int_t fgkNAnodes = 256; | |
30 | Int_t fModuleId; // module number from 0 to 255 | |
31 | Int_t fSide; // detector side (0-1) | |
32 | ||
33 | ClassDef(AliITSOnlineSDD,1); | |
34 | }; | |
35 | #endif |