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
27 AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented
28 AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
34 void SetTOFSegmentation();
39 AliTOFGeometry* fGeom;
40 AliTOFDigitMap* fTOFdigitMap;
42 AliEveTOFDigitsInfo();
43 virtual ~AliEveTOFDigitsInfo();
45 void SetTree(TTree* tree);
46 void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
49 void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
50 Int_t nPadZ, Int_t nPadX,
52 TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
53 TClonesArray* GetDigits(Int_t nSector);
55 Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
56 Int_t GetTOFInfos() const;
59 TTree* GetTree() {return fTree;};
62 ClassDef(AliEveTOFDigitsInfo, 1);
63 }; // endclass AliEveTOFDigitsInfo