]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/MUONDigitsInfo.h
Merge from EVE-dev to HEAD.
[u/mrichter/AliRoot.git] / EVE / Alieve / MUONDigitsInfo.h
1 /* HEAD11Jul06 */
2 #ifndef ALIEVE_MUONDigitsInfo_H
3 #define ALIEVE_MUONDigitsInfo_H
4
5 //////////////////////////////////////////////////////////////////////////
6 //                                                                      //
7 // Access interface to the trees with digits, clusters, tracks          //
8 //                                                                      //
9 //////////////////////////////////////////////////////////////////////////
10
11 #include <TObject.h>
12
13 #include <Reve/VSD.h>
14
15 namespace Alieve {
16
17 class MUONDigitsInfo : public TObject
18 {
19
20  public:
21
22   MUONDigitsInfo() : TObject(), fDTree(0), fRTree(0), fTTree(0) {}
23   virtual ~MUONDigitsInfo() {}
24
25   MUONDigitsInfo(const MUONDigitsInfo&);            
26   MUONDigitsInfo& operator=(const MUONDigitsInfo&);
27
28   void SetDTree(TTree* tree);
29   void SetRTree(TTree* tree);
30   void SetTTree(TTree* tree);
31
32   TClonesArray* GetDigits(Int_t chamber);
33   TClonesArray* GetClusters(Int_t chamber);
34   TClonesArray* GetTracks();
35
36  private:
37
38   void CreateColors();
39
40   TTree* fDTree;          // Tree with digits
41   TTree* fRTree;          // Tree with clusters
42   TTree* fTTree;          // Tree with tracks
43   
44  protected:
45
46  ClassDef(MUONDigitsInfo,1);
47
48 };
49
50 }
51
52 #endif