2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
9 #ifndef AliEveTOFDigitsInfo_H
10 #define AliEveTOFDigitsInfo_H
15 #include <TClonesArray.h>
18 #include <AliRawReader.h>
21 #include <AliTOFdigit.h>
22 #include <AliTOFGeometry.h>
23 #include <AliTOFDigitMap.h>
25 class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
30 AliEveTOFDigitsInfo();
31 virtual ~AliEveTOFDigitsInfo();
33 void SetTree(TTree* tree);
34 void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
37 void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
38 Int_t nPadZ, Int_t nPadX,
40 TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
41 TClonesArray* GetDigits(Int_t nSector);
43 Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
44 Int_t GetTOFInfos() const;
45 AliTOFGeometry * GetTOFgeometry() const {return fGeom;};
48 TTree* GetTree() {return fTree;};
52 AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented
53 AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
59 AliTOFGeometry* fGeom;
60 AliTOFDigitMap* fTOFdigitMap;
62 ClassDef(AliEveTOFDigitsInfo, 1);
63 }; // endclass AliEveTOFDigitsInfo