]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/Cal/AliTRDCalDCSFEE.h
update config objects for MultiplicityCorrelations
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSFEE.h
index 248e90889556e938dad8e7d3ae27a64e083e4798..a3386b40221a370cd158e10eafb2b26064485571 100644 (file)
@@ -37,6 +37,7 @@ class AliTRDCalDCSFEE : public TNamed {
   void    SetTCFilterWeight(Int_t tcfw)              { fTCFilterWeight      = tcfw;  }\r
   void    SetTCFilterShortDecPar(Int_t sdp)          { fTCFilterShortDecPar = sdp;   }\r
   void    SetTCFilterLongDecPar(Int_t ldp)           { fTCFilterLongDecPar  = ldp;   }\r
+  void    SetGainTableRocSerial(Int_t gts)           { fGainTableRocSerial  = gts;   }\r
   void    SetFilterType(TString fity)                { fFilterType          = fity;  }\r
   void    SetReadoutParam(TString rpar)              { fReadoutParam        = rpar;  }\r
   void    SetTestPattern(TString tpat)               { fTestPattern         = tpat;  }\r
@@ -46,10 +47,16 @@ class AliTRDCalDCSFEE : public TNamed {
   void    SetAddOptions(TString adop)                { fAddOptions          = adop;  }\r
   void    SetConfigName(TString cfgn)                { fConfigName          = cfgn;  }\r
   void    SetConfigVersion(TString cfgv)             { fConfigVersion       = cfgv;  }\r
+  void    SetGainTableName(TString gt)               { fGainTableName       = gt;    }\r
+  void    SetGainTableDesc(TString gd)               { fGainTableDesc       = gd;    }\r
+  void    SetGainTableRocType(TString gr)            { fGainTableRocType    = gr;    }\r
   void    SetMCMGlobalState(Int_t r,Int_t m,Int_t g) { fRStateGSM[r][m]     = g;     }\r
   void    SetMCMStateNI(Int_t r,Int_t m,Int_t v)     { fRStateNI[r][m]      = v;     }\r
   void    SetMCMEventCnt(Int_t r,Int_t m,Int_t v)    { fRStateEV[r][m]      = v;     }\r
   void    SetMCMPtCnt(Int_t r,Int_t m,Int_t v)       { fRStatePTRG[r][m]    = v;     }\r
+  void    SetGainTableAdcdac(Int_t r,Int_t m,Int_t v){ fGainTableAdcdac[r][m]    = v;}\r
+  void    SetGainTableFgfn(Int_t r,Int_t m,Int_t a,Int_t v) { fGainTableFgfn[r][m][a] = v; }\r
+  void    SetGainTableFgan(Int_t r,Int_t m,Int_t a,Int_t v) { fGainTableFgan[r][m][a] = v; }\r
 \r
   Int_t   GetStatusBit() const                       { return fStatusBit;            }\r
   Int_t   GetDCSid() const                           { return fDCSID;                }\r
@@ -65,6 +72,7 @@ class AliTRDCalDCSFEE : public TNamed {
   Int_t   GetTCFilterShortDecPar() const             { return fTCFilterShortDecPar;  }\r
   Int_t   GetTCFilterLongDecPar() const              { return fTCFilterLongDecPar;   }\r
   Int_t   GetFastStatNoise() const                   { return fFastStatNoise;        }\r
+  Int_t   GetGainTableRocSerial() const              { return fGainTableRocSerial;   }\r
   TString GetFilterType() const                      { return fFilterType;           }\r
   TString GetReadoutParam() const                    { return fReadoutParam;         }\r
   TString GetTestPattern() const                     { return fTestPattern;          }\r
@@ -74,15 +82,22 @@ class AliTRDCalDCSFEE : public TNamed {
   TString GetAddOptions() const                      { return fAddOptions;           }\r
   TString GetConfigName() const                      { return fConfigName;           }\r
   TString GetConfigVersion() const                   { return fConfigVersion;        }\r
+  TString GetGainTableName() const                   { return fGainTableName;        }\r
+  TString GetGainTableDesc() const                   { return fGainTableDesc;        }\r
+  TString GetGainTableRocType() const                { return fGainTableRocType;     }\r
   Int_t   GetMCMGlobalState(Int_t r,Int_t m) const   { return fRStateGSM[r][m];      }\r
   Int_t   GetMCMStateNI(Int_t r,Int_t m) const       { return fRStateNI[r][m];       }\r
   Int_t   GetMCMEventCnt(Int_t r,Int_t m) const      { return fRStateEV[r][m];       }\r
   Int_t   GetMCMPtCnt(Int_t r,Int_t m) const         { return fRStatePTRG[r][m];     }\r
+  Int_t   GetGainTableAdcdac(Int_t r,Int_t m) const  { return fGainTableAdcdac[r][m];}\r
+  Int_t   GetGainTableFgfn(Int_t r,Int_t m,Int_t a) const  { return fGainTableFgfn[r][m][a]; }\r
+  Int_t   GetGainTableFgan(Int_t r,Int_t m,Int_t a) const  { return fGainTableFgan[r][m][a]; }\r
 \r
  protected:\r
 \r
   static const Int_t fgkROB = 8;       // Number of readout boards\r
   static const Int_t fgkMCM = 18;      // Number of MCMs\r
+  static const Int_t fgkADC = 21;      // Number of ADC channels\r
   \r
   Int_t   fStatusBit;                  // 0 if everything is OK, otherwise !=0 (see impl. file)\r
   Int_t   fDCSID;                      // ID of the DCS-Board\r
@@ -102,6 +117,11 @@ class AliTRDCalDCSFEE : public TNamed {
   Int_t   fRStateNI[fgkROB][fgkMCM];   // array of the network interface states of the MCMs\r
   Int_t   fRStateEV[fgkROB][fgkMCM];   // array of the event counters of the MCMs\r
   Int_t   fRStatePTRG[fgkROB][fgkMCM]; // array of the pretrigger counters of the MCMs\r
+  TString fGainTableRocType;           // the roc type from the gain table\r
+  Int_t   fGainTableRocSerial;         // the roc serial of the chamber from the gain table\r
+  Int_t   fGainTableAdcdac[fgkROB][fgkMCM];       // array of gain table adcdac values\r
+  Int_t   fGainTableFgfn[fgkROB][fgkMCM][fgkADC]; // array of gain table fgfn values\r
+  Int_t   fGainTableFgan[fgkROB][fgkMCM][fgkADC]; // array of gain table fgan values\r
   TString fFilterType;                 // filter type (p, pgt, nf)\r
   TString fReadoutParam;               // readout parameter (zs, nozs, testpattern)\r
   TString fTestPattern;                // value of testpattern (for readout param)\r
@@ -111,7 +131,9 @@ class AliTRDCalDCSFEE : public TNamed {
   TString fAddOptions;                 // additional options (nopm, nion)\r
   TString fConfigName;                 // Configuration name\r
   TString fConfigVersion;              // Configuration version\r
+  TString fGainTableName;              // the name of the gain table\r
+  TString fGainTableDesc;              // the description of the gain table\r
 \r
-  ClassDef(AliTRDCalDCSFEE,3)          // TRD calibration class for TRD FEE parameters\r
+  ClassDef(AliTRDCalDCSFEE,4)          // TRD calibration class for TRD FEE parameters\r
 };\r
 #endif\r