1 #ifndef ALITRDCALDCSGTU_H
2 #define ALITRDCALDCSGTU_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDCalDCSGTU.h 18952 2007-06-08 11:36:12Z cblume $ */
8 ///////////////////////////////////////////////////////////////////////////////
10 // TRD calibration class for TRD GTU configuration parameters //
12 ///////////////////////////////////////////////////////////////////////////////
18 class AliTRDCalDCSGTUTgu;
20 class AliTRDCalDCSGTU : public TNamed {
25 AliTRDCalDCSGTU(const char *name, const char *title);
26 AliTRDCalDCSGTU(const AliTRDCalDCSGTU &);
27 AliTRDCalDCSGTU& operator=(const AliTRDCalDCSGTU& sh);
28 virtual ~AliTRDCalDCSGTU() { };
30 Int_t GetRunNumber() const { return fRunNumber; }
31 Int_t GetSORFlag() const { return fSORFlag; }
32 Int_t GetSerial() const { return fSerial; }
33 Int_t GetDNR() const { return fDNR; }
35 void SetRunNumber(Int_t rn) { fRunNumber = rn; }
36 void SetSORFlag(Int_t fg) { fSORFlag = fg; }
37 void SetSerial(Int_t se) { fSerial = se; }
38 void SetDNR(Int_t dn) { fDNR = dn; }
40 TObjArray* GetSegmentArray() const { return fSegmentsArr; }
41 void SetSegmentArray(TObjArray * const sa) { fSegmentsArr = sa; }
43 AliTRDCalDCSGTUTgu* GetTgu() const { return fTgu; }
44 void SetTgu(AliTRDCalDCSGTUTgu * const tg) { fTgu = tg; }
47 Int_t fRunNumber; // contains the number of the run from when this data was saved
48 Int_t fSORFlag; // contains an int indicating whether it was the start(=1) or end(=2) of run
49 Int_t fSerial; // value of the tag named serial
50 Int_t fDNR; // (DNR=does not respond) this indicates whether the GTU responded correctly
52 TObjArray *fSegmentsArr; // Contains an array of AliTRDCalDCSGTUSegment objects holding gtu configuration data
54 AliTRDCalDCSGTUTgu* fTgu; // this points to an object containing tgu configuration data
56 ClassDef(AliTRDCalDCSGTU,2) // TRD calibration class for TRD GTU parameters