]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFDigitsInfo.h
Fix order of public/protected/private sections to conform with coding
[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 <AliTOFGeometry.h>
22 #include <AliTOFDigitMap.h>
23
24   
25 class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
26 {
27 public:
28   TTree*                fTree;
29   TTree*                fNewTree;
30   AliTOFGeometry*       fGeom;
31   AliTOFDigitMap*       fTOFdigitMap;
32
33   AliEveTOFDigitsInfo();
34   virtual ~AliEveTOFDigitsInfo();
35     
36   void SetTree(TTree* tree);
37   void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
38   void LoadDigits();
39
40   void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
41                  Int_t nPadZ, Int_t nPadX,
42                  Int_t indexDigit[3]);
43   TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
44   TClonesArray* GetDigits(Int_t nSector);
45
46   Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
47   Int_t GetTOFInfos() const;
48   //void GetDigits();
49
50   TTree* GetTree() { return fTree; }
51
52 protected:
53   void SetTOFSegmentation();
54  
55 private:
56   AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&);            // Not implemented
57   AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
58
59   ClassDef(AliEveTOFDigitsInfo, 0);
60 }; // endclass AliEveTOFDigitsInfo
61
62 #endif