]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFDigitsInfo.h
Added a getter method for the private variable fGeom
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFDigitsInfo.h
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          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9 #ifndef AliEveTOFDigitsInfo_H
10 #define AliEveTOFDigitsInfo_H
11
12 #include <TEveVSD.h>
13
14 #include <TObject.h>
15 #include <TClonesArray.h>
16 #include <TTree.h>
17
18 #include <AliRawReader.h>
19
20 #include <AliTOF.h>
21 #include <AliTOFdigit.h>
22 #include <AliTOFGeometry.h>
23 #include <AliTOFDigitMap.h>
24
25 class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
26   {
27
28   public:
29
30     AliEveTOFDigitsInfo();
31     virtual ~AliEveTOFDigitsInfo();
32     
33     void SetTree(TTree* tree);
34     void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
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;
45     AliTOFGeometry * GetTOFgeometry() const {return fGeom;};
46     //void GetDigits();
47
48     TTree* GetTree() {return fTree;};
49
50   protected:
51
52     AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&);            // Not implemented
53     AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
54
55   private:
56
57     TTree*                fTree;
58     TTree*                fNewTree;
59     AliTOFGeometry*       fGeom;
60     AliTOFDigitMap*       fTOFdigitMap;
61
62     ClassDef(AliEveTOFDigitsInfo, 1);
63   }; // endclass AliEveTOFDigitsInfo
64
65 #endif