Line data Source code
1 : #ifndef ALITRDCALDCSGTUBOARDINFO_H
2 : #define ALITRDCALDCSGTUBOARDINFO_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id: AliTRDCalDCSGTUBoardInfo.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 :
18 0 : class AliTRDCalDCSGTUBoardInfo : public TNamed {
19 :
20 : public:
21 :
22 : AliTRDCalDCSGTUBoardInfo();
23 : AliTRDCalDCSGTUBoardInfo(const char *name, const char *title);
24 108 : virtual ~AliTRDCalDCSGTUBoardInfo() { };
25 :
26 0 : TString GetId() const { return fId; }
27 0 : Int_t GetType() const { return fType; }
28 0 : Int_t GetPciGa() const { return fPciGa; }
29 :
30 0 : void SetId(TString id) { fId = id; }
31 0 : void SetType(Int_t ty) { fType = ty; }
32 0 : void SetPciGa(Int_t ga) { fPciGa = ga; }
33 :
34 0 : TString GetHwDate() const { return fHwDate; }
35 0 : Int_t GetHwRev() const { return fHwRev; }
36 0 : Int_t GetHwClean() const { return fHwClean; }
37 :
38 0 : void SetHwDate(TString hd) { fHwDate = hd; }
39 0 : void SetHwRev(Int_t hr) { fHwRev = hr; }
40 0 : void SetHwClean(Int_t hc) { fHwClean = hc; }
41 :
42 0 : TString GetSwDate() const { return fSwDate; }
43 0 : Int_t GetSwRev() const { return fSwRev; }
44 0 : Int_t GetSwClean() const { return fSwClean; }
45 :
46 0 : void SetSwDate(TString sd) { fSwDate = sd; }
47 0 : void SetSwRev(Int_t sr) { fSwRev = sr; }
48 0 : void SetSwClean(Int_t sc) { fSwClean = sc; }
49 :
50 : protected:
51 : TString fId; // value from the board_id attribute of the board_info tag within a board_info tag
52 : Int_t fType; // value from the design_type attribute of the board_info tag within a board_info tag
53 : Int_t fPciGa; // value from the pci_ga attribute of the board_info tag within a board_info tag
54 :
55 : TString fHwDate; // value from the date attribute of the hardware tag within a board_info tag
56 : Int_t fHwRev; // value from the rev attribute of the hardware tag within a board_info tag
57 : Int_t fHwClean; // value from the clean attribute of the hardware tag within a board_info tag
58 :
59 : TString fSwDate; // value from the date attribute of the software tag within a board_info tag
60 : Int_t fSwRev; // value from the rev attribute of the software tag within a board_info tag
61 : Int_t fSwClean; // value from the clean attribute of the software tag within a board_info tag
62 :
63 66 : ClassDef(AliTRDCalDCSGTUBoardInfo,1) // TRD calibration class for TRD GTU parameters
64 :
65 : };
66 : #endif
|