LCOV - code coverage report
Current view: top level - TRD/TRDbase - AliTRDCalDCSGTUTgu.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 17 5.9 %
Date: 2016-06-14 17:26:59 Functions: 2 21 9.5 %

          Line data    Source code
       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             : 
      16             : class TString;
      17             : class TObjArray;
      18             : class AliTRDCalDCSGTUBoardInfo;
      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             : 
      30           0 :   Int_t   GetFromRunNumber() const                    { return fFromRunNum;                   }
      31           0 :   Int_t   GetFromSORFlag() const                      { return fFromSORFlag;                  }
      32           0 :   Int_t   GetFromChild() const                        { return fFromChild;                    }
      33           0 :   TString GetSegmentMask() const                      { return fSegmentMask;                  }
      34           0 :   TString GetBusyMask() const                         { return fBusyMask;                     }
      35           0 :   TString GetContribMask() const                      { return fContribMask;                  }
      36             : 
      37           0 :   void    SetFromRunNumber(Int_t rn)                  { fFromRunNum = rn;                     }
      38           0 :   void    SetFromSORFlag(Int_t fs)                    { fFromSORFlag = fs;                    }
      39           0 :   void    SetFromChild(Int_t ch)                      { fFromChild = ch;                      }
      40           0 :   void    SetSegmentMask(TString sm)                  { fSegmentMask = sm;                    }
      41           0 :   void    SetBusyMask(TString bm)                     { fBusyMask = bm;                       }
      42           0 :   void    SetContribMask(TString cm)                  { fContribMask = cm;                    }
      43             : 
      44           0 :   AliTRDCalDCSGTUBoardInfo* GetBoardInfo()            { return fBoardInfo;                    }
      45           0 :   void SetBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fBoardInfo = bi;                   }
      46             : 
      47           0 :   TObjArray* GetCtpOpcArray() const                   { return fCtpOpcArr;                    }
      48           0 :   void SetCtpOpcArray(TObjArray * const ca)           { fCtpOpcArr = ca;                      }
      49             : 
      50             :   protected:
      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
      57             : 
      58             :   AliTRDCalDCSGTUBoardInfo *fBoardInfo; // BoardInfo Object holding the information about the tgu
      59             : 
      60             :   TObjArray *fCtpOpcArr; // an array of AliTRDCalDCSGTUCtpOpc objects holding their configuration data
      61             :   
      62          66 :   ClassDef(AliTRDCalDCSGTUTgu,1)      //  TRD calibration class for TRD GTU parameters
      63             : 
      64             : };
      65             : #endif

Generated by: LCOV version 1.11