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 <AliTOFGeometry.h>
22 #include <AliTOFDigitMap.h>
25 class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
30 AliTOFGeometry* fGeom;
31 AliTOFDigitMap* fTOFdigitMap;
33 AliEveTOFDigitsInfo();
34 virtual ~AliEveTOFDigitsInfo();
36 void SetTree(TTree* tree);
37 void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
40 void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
41 Int_t nPadZ, Int_t nPadX,
43 TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
44 TClonesArray* GetDigits(Int_t nSector);
46 Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
47 Int_t GetTOFInfos() const;
50 TTree* GetTree() { return fTree; }
53 void SetTOFSegmentation();
56 AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented
57 AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
59 ClassDef(AliEveTOFDigitsInfo, 0);
60 }; // endclass AliEveTOFDigitsInfo