]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Cal/AliTRDCalDCSGTUTgu.h
Modifications by Thomas
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSGTUTgu.h
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                               */
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"
15 #include "TObjArray.h"
16 #include "AliTRDCalDCSGTUBoardInfo.h"
17
18 class TString;
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);
28   virtual ~AliTRDCalDCSGTUTgu() { };
29 //   ~AliTRDCalDCSGTUTgu() { };
30
31   Int_t   GetFromRunNumber()                          { return fFromRunNum;                   }
32   Int_t   GetFromSORFlag()                            { return fFromSORFlag;                  }
33   Int_t   GetFromChild()                              { return fFromChild;                    }
34   TString GetSegmentMask()                            { return fSegmentMask;                  }
35   TString GetBusyMask()                               { return fBusyMask;                     }
36   TString GetContribMask()                            { return fContribMask;                  }
37
38   void    SetFromRunNumber(Int_t rn)                  { fFromRunNum = rn;                     }
39   void    SetFromSORFlag(Int_t fs)                    { fFromSORFlag = fs;                    }
40   void    SetFromChild(Int_t ch)                      { fFromChild = ch;                      }
41   void    SetSegmentMask(TString sm)                  { fSegmentMask = sm;                    }
42   void    SetBusyMask(TString bm)                     { fBusyMask = bm;                       }
43   void    SetContribMask(TString cm)                  { fContribMask = cm;                    }
44
45   AliTRDCalDCSGTUBoardInfo* GetBoardInfo()            { return fBoardInfo;                    }
46   void SetBoardInfo(AliTRDCalDCSGTUBoardInfo *bi)     { fBoardInfo = bi;                      }
47
48   TObjArray* GetCtpOpcArray() const                   { return fCtpOpcArr;                    }
49   void SetCtpOpcArray(TObjArray *ca)                  { fCtpOpcArr = ca;                      }
50
51   protected:
52   Int_t   fFromRunNum;
53   Int_t   fFromSORFlag;
54   Int_t   fFromChild;
55   TString fSegmentMask;
56   TString fBusyMask;
57   TString fContribMask;
58
59   AliTRDCalDCSGTUBoardInfo *fBoardInfo;
60
61   TObjArray *fCtpOpcArr;
62   
63   ClassDef(AliTRDCalDCSGTUTgu,1)      //  TRD calibration class for TRD GTU parameters
64
65 };
66 #endif