]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/Cal/AliTRDCalDCSGTUTmu.h
re-activate contrib code
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSGTUTmu.h
CommitLineData
75bbe3c8 1#ifndef ALITRDCALDCSGTUTMU_H
2#define ALITRDCALDCSGTUTMU_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: 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"
3821ce70 15
16class TString;
75bbe3c8 17class AliTRDCalDCSGTUBoardInfo;
3821ce70 18
19class 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
75bbe3c8 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;}
3821ce70 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; }
75bbe3c8 39 void SetPatternGeneratorTrackletWords(Int_t pt) { fPatternGeneratorTrackletWords = pt; }
3821ce70 40
75bbe3c8 41 AliTRDCalDCSGTUBoardInfo* GetBoardInfo() const { return fBoardInfo; }
42 void SetBoardInfo(AliTRDCalDCSGTUBoardInfo * const bi) { fBoardInfo = bi; }
3821ce70 43
44 protected:
75bbe3c8 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
3821ce70 50
75bbe3c8 51 AliTRDCalDCSGTUBoardInfo *fBoardInfo; // This contains the board information for this tmu
3821ce70 52
53 ClassDef(AliTRDCalDCSGTUTmu,1) // TRD calibration class for TRD GTU parameters
54
55};
56#endif