ROOT logo
#ifndef ALITRDCALDCSGTUTGU_H
#define ALITRDCALDCSGTUTGU_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id: AliTRDCalDCSGTUTgu.h 18952 2007-06-08 11:36:12Z cblume $ */

///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//  TRD calibration class for TRD GTU configuration parameters               //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

#include "TNamed.h"

class TString;
class TObjArray;
class AliTRDCalDCSGTUBoardInfo;

class AliTRDCalDCSGTUTgu : public TNamed {

 public:

  AliTRDCalDCSGTUTgu();
  AliTRDCalDCSGTUTgu(const char *name, const char *title);
  AliTRDCalDCSGTUTgu(const AliTRDCalDCSGTUTgu&);
  AliTRDCalDCSGTUTgu &operator=(const AliTRDCalDCSGTUTgu &sh);
  virtual ~AliTRDCalDCSGTUTgu();

  Int_t   GetFromRunNumber() const                    { return fFromRunNum;                   }
  Int_t   GetFromSORFlag() const                      { return fFromSORFlag;                  }
  Int_t   GetFromChild() const                        { return fFromChild;                    }
  TString GetSegmentMask() const                      { return fSegmentMask;                  }
  TString GetBusyMask() const                         { return fBusyMask;                     }
  TString GetContribMask() const                      { return fContribMask;                  }

  void    SetFromRunNumber(Int_t rn)                  { fFromRunNum = rn;                     }
  void    SetFromSORFlag(Int_t fs)                    { fFromSORFlag = fs;                    }
  void    SetFromChild(Int_t ch)                      { fFromChild = ch;                      }
  void    SetSegmentMask(TString sm)                  { fSegmentMask = sm;                    }
  void    SetBusyMask(TString bm)                     { fBusyMask = bm;                       }
  void    SetContribMask(TString cm)                  { fContribMask = cm;                    }

  AliTRDCalDCSGTUBoardInfo* GetBoardInfo()            { return fBoardInfo;                    }
  void SetBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fBoardInfo = bi;                   }

  TObjArray* GetCtpOpcArray() const                   { return fCtpOpcArr;                    }
  void SetCtpOpcArray(TObjArray * const ca)           { fCtpOpcArr = ca;                      }

  protected:
  Int_t   fFromRunNum; // the run number from when this data was saved
  Int_t   fFromSORFlag; // a flag indicating wether this data was saved from the start(=1) or end(=2) of run
  Int_t   fFromChild; // value of the attribute named child within the from tag
  TString fSegmentMask; // value of the attribute named value within the segment tag
  TString fBusyMask; // value of the attribute named value within the busymask tag
  TString fContribMask; // value of the attribute named value within the contribmask tag

  AliTRDCalDCSGTUBoardInfo *fBoardInfo; // BoardInfo Object holding the information about the tgu

  TObjArray *fCtpOpcArr; // an array of AliTRDCalDCSGTUCtpOpc objects holding their configuration data
  
  ClassDef(AliTRDCalDCSGTUTgu,1)      //  TRD calibration class for TRD GTU parameters

};
#endif
 AliTRDCalDCSGTUTgu.h:1
 AliTRDCalDCSGTUTgu.h:2
 AliTRDCalDCSGTUTgu.h:3
 AliTRDCalDCSGTUTgu.h:4
 AliTRDCalDCSGTUTgu.h:5
 AliTRDCalDCSGTUTgu.h:6
 AliTRDCalDCSGTUTgu.h:7
 AliTRDCalDCSGTUTgu.h:8
 AliTRDCalDCSGTUTgu.h:9
 AliTRDCalDCSGTUTgu.h:10
 AliTRDCalDCSGTUTgu.h:11
 AliTRDCalDCSGTUTgu.h:12
 AliTRDCalDCSGTUTgu.h:13
 AliTRDCalDCSGTUTgu.h:14
 AliTRDCalDCSGTUTgu.h:15
 AliTRDCalDCSGTUTgu.h:16
 AliTRDCalDCSGTUTgu.h:17
 AliTRDCalDCSGTUTgu.h:18
 AliTRDCalDCSGTUTgu.h:19
 AliTRDCalDCSGTUTgu.h:20
 AliTRDCalDCSGTUTgu.h:21
 AliTRDCalDCSGTUTgu.h:22
 AliTRDCalDCSGTUTgu.h:23
 AliTRDCalDCSGTUTgu.h:24
 AliTRDCalDCSGTUTgu.h:25
 AliTRDCalDCSGTUTgu.h:26
 AliTRDCalDCSGTUTgu.h:27
 AliTRDCalDCSGTUTgu.h:28
 AliTRDCalDCSGTUTgu.h:29
 AliTRDCalDCSGTUTgu.h:30
 AliTRDCalDCSGTUTgu.h:31
 AliTRDCalDCSGTUTgu.h:32
 AliTRDCalDCSGTUTgu.h:33
 AliTRDCalDCSGTUTgu.h:34
 AliTRDCalDCSGTUTgu.h:35
 AliTRDCalDCSGTUTgu.h:36
 AliTRDCalDCSGTUTgu.h:37
 AliTRDCalDCSGTUTgu.h:38
 AliTRDCalDCSGTUTgu.h:39
 AliTRDCalDCSGTUTgu.h:40
 AliTRDCalDCSGTUTgu.h:41
 AliTRDCalDCSGTUTgu.h:42
 AliTRDCalDCSGTUTgu.h:43
 AliTRDCalDCSGTUTgu.h:44
 AliTRDCalDCSGTUTgu.h:45
 AliTRDCalDCSGTUTgu.h:46
 AliTRDCalDCSGTUTgu.h:47
 AliTRDCalDCSGTUTgu.h:48
 AliTRDCalDCSGTUTgu.h:49
 AliTRDCalDCSGTUTgu.h:50
 AliTRDCalDCSGTUTgu.h:51
 AliTRDCalDCSGTUTgu.h:52
 AliTRDCalDCSGTUTgu.h:53
 AliTRDCalDCSGTUTgu.h:54
 AliTRDCalDCSGTUTgu.h:55
 AliTRDCalDCSGTUTgu.h:56
 AliTRDCalDCSGTUTgu.h:57
 AliTRDCalDCSGTUTgu.h:58
 AliTRDCalDCSGTUTgu.h:59
 AliTRDCalDCSGTUTgu.h:60
 AliTRDCalDCSGTUTgu.h:61
 AliTRDCalDCSGTUTgu.h:62
 AliTRDCalDCSGTUTgu.h:63
 AliTRDCalDCSGTUTgu.h:64
 AliTRDCalDCSGTUTgu.h:65