]>
Commit | Line | Data |
---|---|---|
38300302 | 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 | #include "AliITSBeamTest.h" | |
13 | ||
14 | class AliRawReaderDate; | |
15 | class AliITSRawStreamSDD; | |
16 | ||
17 | class AliITSBeamTestDigSDD: public AliITSBeamTestDig { | |
18 | ||
19 | public: | |
20 | ||
21 | ||
22 | AliITSBeamTestDigSDD(); | |
23 | AliITSBeamTestDigSDD(const Text_t* name, const Text_t* title); | |
24 | AliITSBeamTestDigSDD(const AliITSBeamTestDigSDD& bt); | |
25 | AliITSBeamTestDigSDD& operator=(AliITSBeamTestDigSDD &bt); | |
26 | ||
27 | virtual ~AliITSBeamTestDigSDD(); | |
28 | ||
29 | void SetBtPeriod(BeamtestPeriod_t per=kNov04) {fBtPer=per;} | |
30 | void SetThreshold(Int_t threshold) {fThreshold=threshold;} | |
31 | ||
32 | BeamtestPeriod_t GetBtPeriod() const {return fBtPer;} | |
33 | Int_t GetThreshold() const {return fThreshold;} | |
34 | ||
35 | virtual void Exec(Option_t* opt); | |
36 | ||
37 | ||
38 | ||
39 | protected: | |
40 | ||
41 | Int_t fSDDEvType; //SDD event type (real, calibration) | |
42 | const UInt_t* fSubEventAttributes; //SDD sub-event attributes | |
43 | BeamtestPeriod_t fBtPer; //beam test version | |
44 | // November 2004 = kNov04 | |
45 | // August 2004 = kAug04 | |
46 | Int_t fThreshold; // Low carlos threshold | |
47 | AliITSRawStreamSDD* fStreamer; //! SDD streamer | |
48 | ||
49 | private: | |
50 | ||
51 | Int_t GetEventType(); | |
52 | ||
53 | ||
54 | ClassDef(AliITSBeamTestDigSDD,1) // An Alice SDD beam test digitizer | |
55 | ||
56 | }; | |
57 | ||
58 | ||
59 | ||
60 | #endif | |
61 | ||
62 |