]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/TRDbase/AliTRDCalDCSGTUTmu.h
TENDER becomes Tender, removing .so
[u/mrichter/AliRoot.git] / TRD / TRDbase / AliTRDCalDCSGTUTmu.h
1 #ifndef ALITRDCALDCSGTUTMU_H
2 #define ALITRDCALDCSGTUTMU_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 AliTRDCalDCSGTUBoardInfo;
18
19 class AliTRDCalDCSGTUTmu : public TNamed {
20
21  public:
22
23   AliTRDCalDCSGTUTmu();
24   AliTRDCalDCSGTUTmu(const char *name, const char *title);
25   AliTRDCalDCSGTUTmu(const AliTRDCalDCSGTUTmu&);        
26   AliTRDCalDCSGTUTmu &operator=(const AliTRDCalDCSGTUTmu &sh);
27   virtual ~AliTRDCalDCSGTUTmu() { };
28
29   TString GetLinkMask() const                         { return fLinkMask;                     }
30   Int_t   GetId() const                               { return fId;                           }
31   Int_t   GetPatternGeneratorEnable() const           { return fPatternGeneratorEnable;       }
32   Int_t   GetPatternGeneratorDataWords() const        { return fPatternGeneratorDataWords;    }
33   Int_t   GetPatternGeneratorTrackletWordsl() const   { return fPatternGeneratorTrackletWords;}
34
35   void    SetLinkMask(TString lm)                     { fLinkMask = lm;                       }
36   void    SetId(Int_t id)                             { fId = id;                             }
37   void    SetPatternGeneratorEnable(Int_t pe)         { fPatternGeneratorEnable = pe;         }
38   void    SetPatternGeneratorDataWords(Int_t pw)      { fPatternGeneratorDataWords = pw;      }
39   void    SetPatternGeneratorTrackletWords(Int_t pt)  { fPatternGeneratorTrackletWords = pt;  }
40
41   AliTRDCalDCSGTUBoardInfo* GetBoardInfo() const      { return fBoardInfo;                    }
42   void SetBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fBoardInfo = bi;                   }
43
44   protected:
45   TString fLinkMask; // value of the attribute named value within the linkmask tag
46   Int_t   fId; // the number of the tmu within the segment
47   Int_t   fPatternGeneratorEnable; // value of the attribute named enable within the pattern_generator tag
48   Int_t   fPatternGeneratorDataWords; // value of the attribute named datawords within the pattern_generator tag
49   Int_t   fPatternGeneratorTrackletWords; // value of the attribute named trackletwords within the pattern_generator tag
50
51   AliTRDCalDCSGTUBoardInfo *fBoardInfo; // This contains the board information for this tmu
52
53   ClassDef(AliTRDCalDCSGTUTmu,1)      //  TRD calibration class for TRD GTU parameters
54
55 };
56 #endif