]>
Commit | Line | Data |
---|---|---|
75bbe3c8 | 1 | #ifndef ALITRDCALDCSGTUBOARDINFO_H |
2 | #define ALITRDCALDCSGTUBOARDINFO_H | |
3821ce70 | 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 | class AliTRDCalDCSGTUBoardInfo : public TNamed { | |
19 | ||
20 | public: | |
21 | ||
22 | AliTRDCalDCSGTUBoardInfo(); | |
23 | AliTRDCalDCSGTUBoardInfo(const char *name, const char *title); | |
24 | virtual ~AliTRDCalDCSGTUBoardInfo() { }; | |
25 | ||
75bbe3c8 | 26 | TString GetId() const { return fId; } |
27 | Int_t GetType() const { return fType; } | |
28 | Int_t GetPciGa() const { return fPciGa; } | |
3821ce70 | 29 | |
30 | void SetId(TString id) { fId = id; } | |
31 | void SetType(Int_t ty) { fType = ty; } | |
32 | void SetPciGa(Int_t ga) { fPciGa = ga; } | |
33 | ||
75bbe3c8 | 34 | TString GetHwDate() const { return fHwDate; } |
35 | Int_t GetHwRev() const { return fHwRev; } | |
36 | Int_t GetHwClean() const { return fHwClean; } | |
3821ce70 | 37 | |
38 | void SetHwDate(TString hd) { fHwDate = hd; } | |
39 | void SetHwRev(Int_t hr) { fHwRev = hr; } | |
40 | void SetHwClean(Int_t hc) { fHwClean = hc; } | |
41 | ||
75bbe3c8 | 42 | TString GetSwDate() const { return fSwDate; } |
43 | Int_t GetSwRev() const { return fSwRev; } | |
44 | Int_t GetSwClean() const { return fSwClean; } | |
3821ce70 | 45 | |
46 | void SetSwDate(TString sd) { fSwDate = sd; } | |
47 | void SetSwRev(Int_t sr) { fSwRev = sr; } | |
48 | void SetSwClean(Int_t sc) { fSwClean = sc; } | |
49 | ||
50 | protected: | |
75bbe3c8 | 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 | |
3821ce70 | 54 | |
75bbe3c8 | 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 | |
3821ce70 | 58 | |
75bbe3c8 | 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 | |
3821ce70 | 62 | |
63 | ClassDef(AliTRDCalDCSGTUBoardInfo,1) // TRD calibration class for TRD GTU parameters | |
64 | ||
65 | }; | |
66 | #endif |