]>
Commit | Line | Data |
---|---|---|
75bbe3c8 | 1 | #ifndef ALITRDCALDCSGTUTGU_H |
2 | #define ALITRDCALDCSGTUTGU_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: AliTRDCalDCSGTUTgu.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 AliTRDCalDCSGTUTgu : public TNamed { | |
21 | ||
22 | public: | |
23 | ||
24 | AliTRDCalDCSGTUTgu(); | |
25 | AliTRDCalDCSGTUTgu(const char *name, const char *title); | |
26 | AliTRDCalDCSGTUTgu(const AliTRDCalDCSGTUTgu&); | |
27 | AliTRDCalDCSGTUTgu &operator=(const AliTRDCalDCSGTUTgu &sh); | |
99586a9d | 28 | virtual ~AliTRDCalDCSGTUTgu(); |
3821ce70 | 29 | |
75bbe3c8 | 30 | Int_t GetFromRunNumber() const { return fFromRunNum; } |
31 | Int_t GetFromSORFlag() const { return fFromSORFlag; } | |
32 | Int_t GetFromChild() const { return fFromChild; } | |
33 | TString GetSegmentMask() const { return fSegmentMask; } | |
34 | TString GetBusyMask() const { return fBusyMask; } | |
35 | TString GetContribMask() const { return fContribMask; } | |
3821ce70 | 36 | |
37 | void SetFromRunNumber(Int_t rn) { fFromRunNum = rn; } | |
38 | void SetFromSORFlag(Int_t fs) { fFromSORFlag = fs; } | |
39 | void SetFromChild(Int_t ch) { fFromChild = ch; } | |
40 | void SetSegmentMask(TString sm) { fSegmentMask = sm; } | |
41 | void SetBusyMask(TString bm) { fBusyMask = bm; } | |
42 | void SetContribMask(TString cm) { fContribMask = cm; } | |
43 | ||
44 | AliTRDCalDCSGTUBoardInfo* GetBoardInfo() { return fBoardInfo; } | |
75bbe3c8 | 45 | void SetBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fBoardInfo = bi; } |
3821ce70 | 46 | |
47 | TObjArray* GetCtpOpcArray() const { return fCtpOpcArr; } | |
75bbe3c8 | 48 | void SetCtpOpcArray(TObjArray * const ca) { fCtpOpcArr = ca; } |
3821ce70 | 49 | |
50 | protected: | |
75bbe3c8 | 51 | Int_t fFromRunNum; // the run number from when this data was saved |
52 | Int_t fFromSORFlag; // a flag indicating wether this data was saved from the start(=1) or end(=2) of run | |
53 | Int_t fFromChild; // value of the attribute named child within the from tag | |
54 | TString fSegmentMask; // value of the attribute named value within the segment tag | |
55 | TString fBusyMask; // value of the attribute named value within the busymask tag | |
56 | TString fContribMask; // value of the attribute named value within the contribmask tag | |
3821ce70 | 57 | |
99586a9d | 58 | AliTRDCalDCSGTUBoardInfo *fBoardInfo; // BoardInfo Object holding the information about the tgu |
3821ce70 | 59 | |
75bbe3c8 | 60 | TObjArray *fCtpOpcArr; // an array of AliTRDCalDCSGTUCtpOpc objects holding their configuration data |
3821ce70 | 61 | |
62 | ClassDef(AliTRDCalDCSGTUTgu,1) // TRD calibration class for TRD GTU parameters | |
63 | ||
64 | }; | |
65 | #endif |