]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/Cal/AliTRDCalDCSGTU.h
bootstrap pdf before usage
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSGTU.h
CommitLineData
2e32a5ae 1#ifndef ALITRDCALDCSGTU_H
2#define ALITRDCALDCSGTU_H
54c3cb53 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
faa87e39 6/* $Id: AliTRDCalDCSGTU.h 18952 2007-06-08 11:36:12Z cblume $ */
54c3cb53 7
8///////////////////////////////////////////////////////////////////////////////
9// //
10// TRD calibration class for TRD GTU configuration parameters //
11// //
12///////////////////////////////////////////////////////////////////////////////
13
14#include "TNamed.h"
15
16class TString;
75bbe3c8 17class TObjArray;
18class AliTRDCalDCSGTUTgu;
54c3cb53 19
20class AliTRDCalDCSGTU : public TNamed {
21
22 public:
23
24 AliTRDCalDCSGTU();
25 AliTRDCalDCSGTU(const char *name, const char *title);
3821ce70 26 AliTRDCalDCSGTU(const AliTRDCalDCSGTU &);
27 AliTRDCalDCSGTU& operator=(const AliTRDCalDCSGTU& sh);
54c3cb53 28 virtual ~AliTRDCalDCSGTU() { };
29
75bbe3c8 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; }
3821ce70 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; }
75bbe3c8 41 void SetSegmentArray(TObjArray * const sa) { fSegmentsArr = sa; }
3821ce70 42
43 AliTRDCalDCSGTUTgu* GetTgu() const { return fTgu; }
75bbe3c8 44 void SetTgu(AliTRDCalDCSGTUTgu * const tg) { fTgu = tg; }
54c3cb53 45
46 protected:
75bbe3c8 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
3821ce70 51
75bbe3c8 52 TObjArray *fSegmentsArr; // Contains an array of AliTRDCalDCSGTUSegment objects holding gtu configuration data
3821ce70 53
75bbe3c8 54 AliTRDCalDCSGTUTgu* fTgu; // this points to an object containing tgu configuration data
54c3cb53 55
b8b4fd82 56 ClassDef(AliTRDCalDCSGTU,2) // TRD calibration class for TRD GTU parameters
54c3cb53 57
58};
59#endif