]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/TOFDigitsInfo.h
From Annalisa: changes for the new TOF geometry classes.
[u/mrichter/AliRoot.git] / EVE / Alieve / TOFDigitsInfo.h
CommitLineData
8616d353 1#ifndef ALIEVE_TOFDigitsInfo_H
2#define ALIEVE_TOFDigitsInfo_H
3
4#include <Reve/VSD.h>
5
6//#include <map>
7
8#include <TObject.h>
9#include <TClonesArray.h>
10#include <TTree.h>
11
12#include <AliTOF.h>
13#include <AliTOFGeometry.h>
14#include <AliTOFDigitMap.h>
15
16namespace Alieve {
17
18class TOFDigitsInfo : public TObject, public Reve::ReferenceCount
19 {
20 TOFDigitsInfo(const TOFDigitsInfo&); // Not implemented
21 TOFDigitsInfo& operator=(const TOFDigitsInfo&); // Not implemented
22
23 private:
24
25 protected:
26
27 void SetTOFSegmentation();
28
29 public:
30 TTree* fTree;
31 TTree* fNewTree;
32 AliTOFGeometry* fGeom;
33 AliTOFDigitMap* fTOFdigitMap;
34
35 TOFDigitsInfo();
36 virtual ~TOFDigitsInfo();
37
38 void SetTree(TTree* tree);
39 void LoadDigits();
40
41 //TClonesArray* GetDigits(Int_t nSector,
42 void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
43 Int_t nPadZ, Int_t nPadX,
44 Int_t indexDigit[3]);
45 TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
46 TClonesArray* GetDigits(Int_t nSector);
47 void GetDigits();
48
49 ClassDef(TOFDigitsInfo, 1);
50 }; // endclass TOFDigitsInfo
51
52}
53#endif