1 #ifndef ALIEVETOFDIGITSINFO_H
2 #define ALIEVETOFDIGITSINFO_H
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 **************************************************************************/
11 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
14 // Class to map TOF digit/raw data information
29 class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
34 AliEveTOFDigitsInfo();
35 virtual ~AliEveTOFDigitsInfo();
37 void SetTree(TTree * const tree);
38 void ReadRaw(AliRawReader* rawReader, Int_t newDecoder=2);
41 void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
42 Int_t nPadZ, Int_t nPadX,
44 TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
45 TClonesArray* GetDigits(Int_t nSector);
47 Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
48 Int_t GetTOFInfos() const;
49 AliTOFGeometry * GetTOFgeometry() const {return fGeom;};
52 TTree* GetTree() {return fTree;};
54 AliTOFDigitMap* GetTOFdigitMap() const { return fTOFdigitMap;};
58 AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented
59 AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
63 TTree* fTree; // pointer to TOF digit tree
64 TTree* fNewTree; // pointer to TOF digit tree
65 AliTOFGeometry* fGeom; // pointer to AliTOFGeometry class
66 AliTOFDigitMap* fTOFdigitMap; // pointer to AliTOFDIgitMap class
68 ClassDef(AliEveTOFDigitsInfo, 1);
69 }; // endclass AliEveTOFDigitsInfo