X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSOnlineSDD.h;h=5859fb7434f6c0019b41e287d3ede4db156dea73;hb=f2565a6b957b6554ff9bac368c652901bbbb5b42;hp=d4c7049fc1a08d50419f1f776cdf28eeb56d3644;hpb=750296dd2d7012658946035d73105f5b42604e7c;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSOnlineSDD.h b/ITS/AliITSOnlineSDD.h index d4c7049fc1a..5859fb7434f 100644 --- a/ITS/AliITSOnlineSDD.h +++ b/ITS/AliITSOnlineSDD.h @@ -11,30 +11,37 @@ #include +class TH2F; + class AliITSOnlineSDD : public TObject { public: AliITSOnlineSDD(); - AliITSOnlineSDD(Int_t mod, Int_t sid); + AliITSOnlineSDD(Int_t nddl, Int_t ncarlos, Int_t sid); virtual ~AliITSOnlineSDD(){}; - void SetModule(Int_t mod){fModuleId=mod;} + void SetDDL(Int_t nd){fDDL=nd;} + void SetCarlos(Int_t nc){fCarlos=nc;} void SetDetectorSide(Int_t sid){fSide=sid;} void SetFirstGoodTB(Int_t itb=1){fFirstGoodTB=itb;} - void SetLastGoodTB(Int_t itb=254){fLastGoodTB=itb;} + void SetLastGoodTB(Int_t itb=126){fLastGoodTB=itb;} - Int_t GetModuleId() const {return fModuleId;} + Int_t GetDDL() const {return fDDL;} + Int_t GetCarlos() const {return fCarlos;} Int_t GetDetectorSide() const {return fSide;} Int_t GetFirstGoodTB() const {return fFirstGoodTB;} Int_t GetLastGoodTB() const {return fLastGoodTB;} + static TH2F* ApplyZeroSuppression(TH2F* hRaw, Float_t basl, Int_t tL, Int_t tH); + protected: static const Int_t fgkNAnodes = 256; // number of anodes in each half-module - Int_t fModuleId; // module number from 0 to 255 + Int_t fDDL; // SDD DDL number (from 0 to 24) + Int_t fCarlos; // carlos number inside DDL (from 0 to 11) Int_t fSide; // detector side (0-1) Int_t fFirstGoodTB; // first good time bin (to exclude time bin 0) Int_t fLastGoodTB; // last good time bin (to exclude time bin 255) - ClassDef(AliITSOnlineSDD,2); + ClassDef(AliITSOnlineSDD,3); }; #endif