1 #ifndef ALITRDCALDCSGTUTGU_H
2 #define ALITRDCALDCSGTUTGU_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDCalDCSGTUTgu.h 18952 2007-06-08 11:36:12Z cblume $ */
8 ///////////////////////////////////////////////////////////////////////////////
10 // TRD calibration class for TRD GTU configuration parameters //
12 ///////////////////////////////////////////////////////////////////////////////
18 class AliTRDCalDCSGTUBoardInfo;
20 class AliTRDCalDCSGTUTgu : public TNamed {
25 AliTRDCalDCSGTUTgu(const char *name, const char *title);
26 AliTRDCalDCSGTUTgu(const AliTRDCalDCSGTUTgu&);
27 AliTRDCalDCSGTUTgu &operator=(const AliTRDCalDCSGTUTgu &sh);
28 virtual ~AliTRDCalDCSGTUTgu();
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; }
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; }
44 AliTRDCalDCSGTUBoardInfo* GetBoardInfo() { return fBoardInfo; }
45 void SetBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fBoardInfo = bi; }
47 TObjArray* GetCtpOpcArray() const { return fCtpOpcArr; }
48 void SetCtpOpcArray(TObjArray * const ca) { fCtpOpcArr = ca; }
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
58 AliTRDCalDCSGTUBoardInfo *fBoardInfo; // BoardInfo Object holding the information about the tgu
60 TObjArray *fCtpOpcArr; // an array of AliTRDCalDCSGTUCtpOpc objects holding their configuration data
62 ClassDef(AliTRDCalDCSGTUTgu,1) // TRD calibration class for TRD GTU parameters