]>
Commit | Line | Data |
---|---|---|
75bbe3c8 | 1 | #ifndef ALITRDCALDCSGTUSEGMENT_H |
2 | #define ALITRDCALDCSGTUSEGMENT_H | |
3821ce70 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id: AliTRDCalDCSGTUSegment.h 18952 2007-06-08 11:36:12Z cblume $ */ | |
7 | ||
8 | /////////////////////////////////////////////////////////////////////////////// | |
9 | // // | |
10 | // TRD calibration class for TRD GTU configuration parameters // | |
11 | // // | |
12 | /////////////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | #include "TNamed.h" | |
3821ce70 | 15 | |
16 | class TString; | |
75bbe3c8 | 17 | class TObjArray; |
18 | class AliTRDCalDCSGTUBoardInfo; | |
3821ce70 | 19 | |
20 | class AliTRDCalDCSGTUSegment : public TNamed { | |
21 | ||
22 | public: | |
23 | ||
24 | AliTRDCalDCSGTUSegment(); | |
25 | AliTRDCalDCSGTUSegment(const char *name, const char *title); | |
26 | AliTRDCalDCSGTUSegment(const AliTRDCalDCSGTUSegment &); | |
27 | AliTRDCalDCSGTUSegment& operator=(const AliTRDCalDCSGTUSegment& sh); | |
28 | virtual ~AliTRDCalDCSGTUSegment() { }; | |
29 | ||
75bbe3c8 | 30 | Int_t GetId() const { return fId; } |
31 | Int_t GetFromRunNumber() const { return fFromRunNumber; } | |
32 | Int_t GetFromSORFlag() const { return fFromSORFlag; } | |
33 | Int_t GetFromChild() const { return fChild; } | |
3821ce70 | 34 | |
35 | void SetId(Int_t id) { fId = id; } | |
75bbe3c8 | 36 | void SetFromRunNumber(Int_t rn) { fFromRunNumber = rn; } |
3821ce70 | 37 | void SetFromSORFlag(Int_t fg) { fFromSORFlag = fg; } |
75bbe3c8 | 38 | void SetFromChild(Int_t ch) { fChild = ch; } |
3821ce70 | 39 | |
40 | TObjArray* GetTmuArray() const { return fTmuArr; } | |
75bbe3c8 | 41 | void SetTmuArray(TObjArray * const ta) { fTmuArr = ta; } |
42 | ||
43 | TString GetSmuStackMask() const { return fSmuStackMask; } | |
44 | Int_t GetSmuTracklets() const { return fSmuTracklets; } | |
45 | Int_t GetSmuTracks() const { return fSmuTracks; } | |
46 | Int_t GetSmuIdelay() const { return fSmuIdelay; } | |
47 | Int_t GetSmuTriggerWindowL1Low() const { return fSmuTriggerWindowL1Low; } | |
48 | Int_t GetSmuTriggerWindowL1High() const { return fSmuTriggerWindowL1High; } | |
49 | Int_t GetSmuTriggerWindowL2Low() const { return fSmuTriggerWindowL2Low; } | |
50 | Int_t GetSmuTriggerWindowL2High() const { return fSmuTriggerWindowL2High; } | |
51 | Int_t GetSmuTtcEmulatorEnable() const { return fSmuTtcEmulatorEnable; } | |
3821ce70 | 52 | |
53 | void SetSmuStackMask(TString sm) { fSmuStackMask = sm; } | |
54 | void SetSmuTracklets(Int_t ts) { fSmuTracklets = ts; } | |
55 | void SetSmuTracks(Int_t tk) { fSmuTracks = tk; } | |
56 | void SetSmuIdelay(Int_t id) { fSmuIdelay = id; } | |
57 | void SetSmuTriggerWindowL1Low(Int_t ll) { fSmuTriggerWindowL1Low = ll; } | |
58 | void SetSmuTriggerWindowL1High(Int_t lh) { fSmuTriggerWindowL1High = lh; } | |
59 | void SetSmuTriggerWindowL2Low(Int_t ml) { fSmuTriggerWindowL2Low = ml; } | |
60 | void SetSmuTriggerWindowL2High(Int_t mh) { fSmuTriggerWindowL2High = mh; } | |
61 | void SetSmuTtcEmulatorEnable(Int_t te) { fSmuTtcEmulatorEnable = te; } | |
62 | ||
75bbe3c8 | 63 | AliTRDCalDCSGTUBoardInfo* GetSmuBoardInfo() const { return fSmuBoardInfo; } |
64 | void SetSmuBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fSmuBoardInfo = bi; } | |
3821ce70 | 65 | |
66 | protected: | |
75bbe3c8 | 67 | Int_t fId; // this is the number of the segment |
68 | Int_t fFromRunNumber; // this is the run number from when this configuration data was saved | |
69 | Int_t fFromSORFlag; // this indicates when the data was saved (1 = start of run and 2 = end) | |
70 | Int_t fChild; // this comes from the value of the child attribute of the tag named from | |
71 | ||
72 | TObjArray *fTmuArr; // an array of objects holding the segment's tmu information | |
73 | ||
74 | TString fSmuStackMask; // value of the attribute named value within the stackmask tag | |
75 | Int_t fSmuTracklets; // value of the attribute named send within the tracklets tag | |
76 | Int_t fSmuTracks; // value of the attribute named send within the tracklets tag | |
77 | Int_t fSmuIdelay; // value of the attribute named value within the idelay tag | |
78 | Int_t fSmuTriggerWindowL1Low; // value of the attribute named l1_low within the trigger_window tag | |
79 | Int_t fSmuTriggerWindowL1High; // value of the attribute named l1_high within the trigger_window tag | |
80 | Int_t fSmuTriggerWindowL2Low; // value of the attribute named l2_low within the trigger_window tag | |
81 | Int_t fSmuTriggerWindowL2High; // value of the attribute named l2_high within the trigger_window tag | |
82 | Int_t fSmuTtcEmulatorEnable; // value of the attribute named enable within the ttc_emulator tag | |
83 | ||
84 | AliTRDCalDCSGTUBoardInfo *fSmuBoardInfo; // the boardinfo for the smu | |
3821ce70 | 85 | |
86 | ClassDef(AliTRDCalDCSGTUSegment,1) // TRD calibration class for TRD GTU parameters | |
87 | ||
88 | }; | |
89 | #endif |