TRD module
[u/mrichter/AliRoot.git] / TRD / TRDbase / AliTRDCalDCSGTUBoardInfo.h
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 class AliTRDCalDCSGTUBoardInfo : public TNamed {
19
20  public:
21
22   AliTRDCalDCSGTUBoardInfo();
23   AliTRDCalDCSGTUBoardInfo(const char *name, const char *title);
24   virtual ~AliTRDCalDCSGTUBoardInfo() { };
25
26   TString GetId() const                               { return fId;                           }
27   Int_t   GetType() const                             { return fType;                         }
28   Int_t   GetPciGa() const                            { return fPciGa;                        }
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
34   TString GetHwDate() const                           { return fHwDate;                       }
35   Int_t   GetHwRev() const                            { return fHwRev;                        }
36   Int_t   GetHwClean() const                          { return fHwClean;                      }
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
42   TString GetSwDate() const                           { return fSwDate;                       }
43   Int_t   GetSwRev() const                            { return fSwRev;                        }
44   Int_t   GetSwClean() const                          { return fSwClean;                      }
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:
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   ClassDef(AliTRDCalDCSGTUBoardInfo,1)      //  TRD calibration class for TRD GTU parameters
64
65 };
66 #endif