1 #ifndef ALIITSONLINESDD_H
2 #define ALIITSONLINESDD_H
5 ///////////////////////////////////////////////////////////////////
7 // Base class for SDD detector algorithms //
8 // Origin: F.Prino, Torino, prino@to.infn.it //
10 ///////////////////////////////////////////////////////////////////
14 class AliITSOnlineSDD : public TObject {
18 AliITSOnlineSDD(Int_t mod, Int_t sid);
19 virtual ~AliITSOnlineSDD(){};
21 void SetModule(Int_t mod){fModuleId=mod;}
22 void SetDetectorSide(Int_t sid){fSide=sid;}
23 void SetFirstGoodTB(Int_t itb=1){fFirstGoodTB=itb;}
24 void SetLastGoodTB(Int_t itb=254){fLastGoodTB=itb;}
26 Int_t GetModuleId() const {return fModuleId;}
27 Int_t GetDetectorSide() const {return fSide;}
28 Int_t GetFirstGoodTB() const {return fFirstGoodTB;}
29 Int_t GetLastGoodTB() const {return fLastGoodTB;}
32 static const Int_t fgkNAnodes = 256; // number of anodes in each half-module
33 Int_t fModuleId; // module number from 0 to 255
34 Int_t fSide; // detector side (0-1)
35 Int_t fFirstGoodTB; // first good time bin (to exclude time bin 0)
36 Int_t fLastGoodTB; // last good time bin (to exclude time bin 255)
38 ClassDef(AliITSOnlineSDD,2);