]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSBeamTestDigSDD.h
Fix for report #68441 SSD dE signal level in MC do not match SDD dE signal level...
[u/mrichter/AliRoot.git] / ITS / AliITSBeamTestDigSDD.h
CommitLineData
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"
38300302 12
8ace09b6 13
e2662f55 14class AliITSRawStreamSDDBeamTest;
38300302 15
5ba31760 16typedef enum {kAug04,kNov04} BeamtestPeriod_t;
17
38300302 18class 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);
5ba31760 26 AliITSBeamTestDigSDD& operator=(const AliITSBeamTestDigSDD &source);
38300302 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
e2662f55 48 AliITSRawStreamSDDBeamTest* fStreamer; //! SDD streamer
38300302 49
50 private:
51
52 Int_t GetEventType();
53
54
e2662f55 55 ClassDef(AliITSBeamTestDigSDD,2) // An Alice SDD beam test digitizer
38300302 56
57 };
58
59
60
61#endif
62
63