]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSBeamTestDig.h
Using AliLog (F.Carminati)
[u/mrichter/AliRoot.git] / ITS / AliITSBeamTestDig.h
1 #ifndef ALIITSBEAMTESTDIG_H
2 #define ALIITSBEAMTESTDIG_H
3
4 ////////////////////////////////////////////////////
5 //  Class to define                               //
6 //  beam test raw 2 dig conv.                     //
7 //  Origin: E. Crescio crescio@to.infn.it         //
8 //  November 2004                                 //
9 ////////////////////////////////////////////////////
10
11 #include "TTask.h"
12
13 class AliITS;
14 class AliRawReader;
15 class TTree;
16 class AliITSEventHeader;
17
18 class AliITSBeamTestDig: public TTask {
19  
20  public:
21
22  
23   AliITSBeamTestDig();
24   AliITSBeamTestDig(const Text_t* name, const Text_t* title);
25   AliITSBeamTestDig(const AliITSBeamTestDig& bt);
26   AliITSBeamTestDig& operator=(const AliITSBeamTestDig &source);
27   virtual ~AliITSBeamTestDig() {}
28  
29   void SetRawReader(AliRawReader* rd) {fReader=rd;}
30   void SetTree(TTree* treedig) {fTreeD=treedig;}
31   void SetITSEventHeader(AliITSEventHeader* header){fITSHeader = header;}
32
33   void SetBeamTest(AliITS* bt) {fBt=bt;}
34
35
36  protected:      
37   
38   AliITSEventHeader* fITSHeader;     // its event header
39   AliRawReader* fReader;             // !reader ;
40   TTree* fTreeD;                     // tree of digits
41  
42   AliITS* fBt;               // !beam test object
43
44   ClassDef(AliITSBeamTestDig,3)   // its beam test digitization 
45
46  };
47
48
49
50 #endif
51
52