]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
a15e6d7d | 9 | #ifndef AliEveTOFDigitsInfo_H |
10 | #define AliEveTOFDigitsInfo_H | |
8616d353 | 11 | |
84aff7a4 | 12 | #include <TEveVSD.h> |
8616d353 | 13 | |
8616d353 | 14 | #include <TObject.h> |
15 | #include <TClonesArray.h> | |
16 | #include <TTree.h> | |
17 | ||
ee9d8eca | 18 | #include <AliRawReader.h> |
19 | ||
8616d353 | 20 | #include <AliTOF.h> |
545d5001 | 21 | #include <AliTOFdigit.h> |
8616d353 | 22 | #include <AliTOFGeometry.h> |
23 | #include <AliTOFDigitMap.h> | |
24 | ||
d810d0de | 25 | class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt |
545d5001 | 26 | { |
27 | ||
28 | public: | |
29 | ||
30 | AliEveTOFDigitsInfo(); | |
31 | virtual ~AliEveTOFDigitsInfo(); | |
ee9d8eca | 32 | |
545d5001 | 33 | void SetTree(TTree* tree); |
82dabae7 | 34 | void ReadRaw(AliRawReader* rawReader, Bool_t newDecoder=kTRUE); |
545d5001 | 35 | void LoadDigits(); |
36 | ||
37 | void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip, | |
38 | Int_t nPadZ, Int_t nPadX, | |
39 | Int_t indexDigit[3]); | |
40 | TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip); | |
41 | TClonesArray* GetDigits(Int_t nSector); | |
42 | ||
43 | Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip); | |
44 | Int_t GetTOFInfos() const; | |
610580f6 | 45 | AliTOFGeometry * GetTOFgeometry() const {return fGeom;}; |
545d5001 | 46 | //void GetDigits(); |
47 | ||
48 | TTree* GetTree() {return fTree;}; | |
49 | ||
82dabae7 | 50 | AliTOFDigitMap* GetTOFdigitMap() const { return fTOFdigitMap;}; |
51 | ||
545d5001 | 52 | protected: |
53 | ||
54 | AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented | |
55 | AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented | |
56 | ||
57 | private: | |
58 | ||
59 | TTree* fTree; | |
60 | TTree* fNewTree; | |
61 | AliTOFGeometry* fGeom; | |
62 | AliTOFDigitMap* fTOFdigitMap; | |
63 | ||
64 | ClassDef(AliEveTOFDigitsInfo, 1); | |
55ee7431 | 65 | }; // endclass AliEveTOFDigitsInfo |
51346b82 | 66 | |
8616d353 | 67 | #endif |