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

/* $Id: AliTRDCalDCSGTU.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 AliTRDCalDCSGTUTgu;

class AliTRDCalDCSGTU : public TNamed {

 public:

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

  Int_t   GetRunNumber() const                        { return fRunNumber;                    }
  Int_t   GetSORFlag() const                          { return fSORFlag;                      }
  Int_t   GetSerial() const                           { return fSerial;                       }
  Int_t   GetDNR() const                              { return fDNR;                          }

  void    SetRunNumber(Int_t rn)                      { fRunNumber = rn;                      }
  void    SetSORFlag(Int_t fg)                        { fSORFlag = fg;                        }
  void    SetSerial(Int_t se)                         { fSerial = se;                         }
  void    SetDNR(Int_t dn)                            { fDNR = dn;                            }

  TObjArray* GetSegmentArray() const                  { return fSegmentsArr;                  }
  void SetSegmentArray(TObjArray * const sa)          { fSegmentsArr = sa;                    }

  AliTRDCalDCSGTUTgu* GetTgu() const                  { return fTgu;                          }
  void SetTgu(AliTRDCalDCSGTUTgu * const tg)          { fTgu = tg;                            }

 protected:
  Int_t   fRunNumber; // contains the number of the run from when this data was saved
  Int_t   fSORFlag; // contains an int indicating whether it was the start(=1) or end(=2) of run
  Int_t   fSerial; // value of the tag named serial
  Int_t   fDNR; // (DNR=does not respond) this indicates whether the GTU responded correctly

  TObjArray *fSegmentsArr; // Contains an array of AliTRDCalDCSGTUSegment objects holding gtu configuration data

  AliTRDCalDCSGTUTgu* fTgu; // this points to an object containing tgu configuration data

  ClassDef(AliTRDCalDCSGTU,2)      //  TRD calibration class for TRD GTU parameters

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