]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/TRDbase/AliTRDCalDCSGTU.h
TENDER becomes Tender, removing .so
[u/mrichter/AliRoot.git] / TRD / TRDbase / AliTRDCalDCSGTU.h
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                               */
5
6 /* $Id: AliTRDCalDCSGTU.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 AliTRDCalDCSGTUTgu;
19
20 class AliTRDCalDCSGTU : public TNamed {
21
22  public:
23
24   AliTRDCalDCSGTU();
25   AliTRDCalDCSGTU(const char *name, const char *title);
26   AliTRDCalDCSGTU(const AliTRDCalDCSGTU &);
27   AliTRDCalDCSGTU& operator=(const AliTRDCalDCSGTU& sh);
28   virtual ~AliTRDCalDCSGTU();
29
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;                          }
34
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;                            }
39
40   TObjArray* GetSegmentArray() const                  { return fSegmentsArr;                  }
41   void SetSegmentArray(TObjArray * const sa)          { fSegmentsArr = sa;                    }
42
43   AliTRDCalDCSGTUTgu* GetTgu() const                  { return fTgu;                          }
44   void SetTgu(AliTRDCalDCSGTUTgu * const tg)          { fTgu = tg;                            }
45
46  protected:
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
51
52   TObjArray *fSegmentsArr; // Contains an array of AliTRDCalDCSGTUSegment objects holding gtu configuration data
53
54   AliTRDCalDCSGTUTgu* fTgu; // this points to an object containing tgu configuration data
55
56   ClassDef(AliTRDCalDCSGTU,2)      //  TRD calibration class for TRD GTU parameters
57
58 };
59 #endif