]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSBeamTestDig.h
beam test digitisation classes
[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 #include "AliITSEventHeader.h"
13
14 class AliITSBeamTest;
15 class AliRawReaderDate;
16 class TTree;
17
18
19 class AliITSBeamTestDig: public TTask {
20  
21  public:
22
23  
24   AliITSBeamTestDig();
25   AliITSBeamTestDig(const Text_t* name, const Text_t* title);
26   AliITSBeamTestDig(const AliITSBeamTestDig& bt);
27   AliITSBeamTestDig& operator=(AliITSBeamTestDig &bt);
28   virtual ~AliITSBeamTestDig() {}
29  
30   void SetRawReaderDate(AliRawReaderDate* rd) {fReaderDate=rd;}
31   void SetTree(TTree* treedig) {fTreeD=treedig;}
32   void SetITSEventHeader(AliITSEventHeader* header){fITSHeader = header;}
33
34   void SetBeamTest(AliITSBeamTest* bt) {fBt=bt;}
35
36
37  protected:      
38   
39   AliITSEventHeader* fITSHeader;     // its event header
40   AliRawReaderDate* fReaderDate;     // !reader date;
41   TTree* fTreeD;                     // tree of digits
42  
43   AliITSBeamTest* fBt;               // !beam test object
44
45   ClassDef(AliITSBeamTestDig,1)   // its beam test digitization 
46
47  };
48
49
50
51 #endif
52
53