// $Id$ // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 /************************************************************************** * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * * full copyright notice. * **************************************************************************/ #ifndef AliEveTOFDigitsInfo_H #define AliEveTOFDigitsInfo_H #include #include #include #include #include #include #include #include #include class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt { public: AliEveTOFDigitsInfo(); virtual ~AliEveTOFDigitsInfo(); void SetTree(TTree* tree); void ReadRaw(AliRawReader* rawReader, Bool_t newDecoder=kTRUE); void LoadDigits(); void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip, Int_t nPadZ, Int_t nPadX, Int_t indexDigit[3]); TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip); TClonesArray* GetDigits(Int_t nSector); Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip); Int_t GetTOFInfos() const; AliTOFGeometry * GetTOFgeometry() const {return fGeom;}; //void GetDigits(); TTree* GetTree() {return fTree;}; AliTOFDigitMap* GetTOFdigitMap() const { return fTOFdigitMap;}; protected: AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented private: TTree* fTree; TTree* fNewTree; AliTOFGeometry* fGeom; AliTOFDigitMap* fTOFdigitMap; ClassDef(AliEveTOFDigitsInfo, 1); }; // endclass AliEveTOFDigitsInfo #endif