]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSBeamTestDigSDD.h
EffC++ warnings corrected.
[u/mrichter/AliRoot.git] / ITS / AliITSBeamTestDigSDD.h
1 #ifndef ALIITSBEAMTESTDIGSDD_H
2 #define ALIITSBEAMTESTDIGSDD_H
3
4 ////////////////////////////////////////////////////
5 //  Class to define                               //
6 //  SDD beam test raw 2 dig conv.                 //
7 //  Origin: E. Crescio crescio@to.infn.it         //
8 //                                                //
9 ////////////////////////////////////////////////////
10
11 #include "AliITSBeamTestDig.h"
12
13
14 class AliITSRawStreamSDD;
15
16 typedef enum {kAug04,kNov04} BeamtestPeriod_t;
17
18 class AliITSBeamTestDigSDD: public AliITSBeamTestDig {
19  
20  public:
21
22  
23   AliITSBeamTestDigSDD();
24   AliITSBeamTestDigSDD(const Text_t* name, const Text_t* title);
25   AliITSBeamTestDigSDD(const AliITSBeamTestDigSDD& bt);
26   AliITSBeamTestDigSDD& operator=(const AliITSBeamTestDigSDD &source);
27
28   virtual ~AliITSBeamTestDigSDD();
29
30   void SetBtPeriod(BeamtestPeriod_t per=kNov04) {fBtPer=per;}
31   void SetThreshold(Int_t threshold) {fThreshold=threshold;}
32
33   BeamtestPeriod_t GetBtPeriod() const {return fBtPer;}
34   Int_t GetThreshold() const {return fThreshold;}
35   
36   virtual void Exec(Option_t* opt);
37
38   
39  
40  protected:      
41
42   Int_t  fSDDEvType;                 //SDD event type (real, calibration)
43   const UInt_t* fSubEventAttributes; //SDD sub-event attributes 
44   BeamtestPeriod_t fBtPer;           //beam test version 
45                                      // November 2004 = kNov04
46                                      // August 2004 = kAug04
47   Int_t fThreshold;                  // Low carlos threshold 
48   AliITSRawStreamSDD* fStreamer;     //! SDD streamer
49
50  private: 
51
52   Int_t GetEventType();
53
54
55   ClassDef(AliITSBeamTestDigSDD,1)  // An Alice SDD beam test digitizer
56
57  };
58
59
60
61 #endif
62
63