]>
Commit | Line | Data |
---|---|---|
fd54c9e3 | 1 | #ifndef ALIEVETOFDIGITSINFO_H |
2 | #define ALIEVETOFDIGITSINFO_H | |
d810d0de | 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 | **************************************************************************/ |
8616d353 | 9 | |
fd54c9e3 | 10 | // $Id$ |
11 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
12 | ||
13 | // | |
14 | // Class to map TOF digit/raw data information | |
15 | // | |
8616d353 | 16 | |
8616d353 | 17 | #include <TObject.h> |
8616d353 | 18 | |
fd54c9e3 | 19 | #include <TEveUtil.h> |
20 | ||
21 | class TClonesArray; | |
22 | class TTree; | |
23 | ||
24 | class AliRawReader; | |
ee9d8eca | 25 | |
fd54c9e3 | 26 | class AliTOFGeometry; |
27 | class AliTOFDigitMap; | |
8616d353 | 28 | |
d810d0de | 29 | class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt |
545d5001 | 30 | { |
31 | ||
32 | public: | |
33 | ||
34 | AliEveTOFDigitsInfo(); | |
35 | virtual ~AliEveTOFDigitsInfo(); | |
ee9d8eca | 36 | |
fd54c9e3 | 37 | void SetTree(TTree * const tree); |
ebc2af25 | 38 | void ReadRaw(AliRawReader* rawReader, Int_t newDecoder=2); |
545d5001 | 39 | void LoadDigits(); |
40 | ||
41 | void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip, | |
42 | Int_t nPadZ, Int_t nPadX, | |
43 | Int_t indexDigit[3]); | |
44 | TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip); | |
45 | TClonesArray* GetDigits(Int_t nSector); | |
46 | ||
47 | Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip); | |
48 | Int_t GetTOFInfos() const; | |
610580f6 | 49 | AliTOFGeometry * GetTOFgeometry() const {return fGeom;}; |
545d5001 | 50 | //void GetDigits(); |
51 | ||
52 | TTree* GetTree() {return fTree;}; | |
53 | ||
82dabae7 | 54 | AliTOFDigitMap* GetTOFdigitMap() const { return fTOFdigitMap;}; |
55 | ||
545d5001 | 56 | protected: |
57 | ||
58 | AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented | |
59 | AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented | |
60 | ||
61 | private: | |
62 | ||
fd54c9e3 | 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 | |
545d5001 | 67 | |
68 | ClassDef(AliEveTOFDigitsInfo, 1); | |
55ee7431 | 69 | }; // endclass AliEveTOFDigitsInfo |
51346b82 | 70 | |
8616d353 | 71 | #endif |