]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/EveDet/AliEveTOFDigitsInfo.h
CMake: removing qpythia from the depedencies
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFDigitsInfo.h
... / ...
CommitLineData
1#ifndef ALIEVETOFDIGITSINFO_H
2#define ALIEVETOFDIGITSINFO_H
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
10// $Id$
11// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
12
13//
14// Class to map TOF digit/raw data information
15//
16
17#include <TObject.h>
18
19#include <TEveUtil.h>
20
21class TClonesArray;
22class TTree;
23
24class AliRawReader;
25
26class AliTOFGeometry;
27class AliTOFDigitMap;
28
29class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
30 {
31
32 public:
33
34 AliEveTOFDigitsInfo();
35 virtual ~AliEveTOFDigitsInfo();
36
37 void SetTree(TTree * const tree);
38 void ReadRaw(AliRawReader* rawReader, Int_t newDecoder=2);
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;
49 AliTOFGeometry * GetTOFgeometry() const {return fGeom;};
50 //void GetDigits();
51
52 TTree* GetTree() {return fTree;};
53
54 AliTOFDigitMap* GetTOFdigitMap() const { return fTOFdigitMap;};
55
56 protected:
57
58 AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&); // Not implemented
59 AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
60
61 private:
62
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
67
68 ClassDef(AliEveTOFDigitsInfo, 1);
69}; // endclass AliEveTOFDigitsInfo
70
71#endif