]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/Cal/AliTRDCalDCSFEE.h
Adaption to updated input files
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSFEE.h
1 #ifndef AliTRDCALDCSFEE_H\r
2 #define AliTRDCALDCSFEE_H\r
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
4  * See cxx source for full Copyright notice                               */\r
5 \r
6 /* $Id: AliTRDCalDCSFEE.h 18952 2007-06-08 11:36:12Z cblume $ */\r
7 \r
8 ///////////////////////////////////////////////////////////////////////////////\r
9 //                                                                           //\r
10 //  TRD calibration class for TRD FEE configuration parameters               //\r
11 //                                                                           //\r
12 ///////////////////////////////////////////////////////////////////////////////\r
13 \r
14 #include "TNamed.h"\r
15 \r
16 class TString;\r
17 \r
18 class AliTRDCalDCSFEE : public TNamed {\r
19 \r
20  public:\r
21 \r
22   AliTRDCalDCSFEE();\r
23   AliTRDCalDCSFEE(const char *name, const char *title);\r
24   virtual ~AliTRDCalDCSFEE() { };\r
25 \r
26   void    SetStatusBit(Int_t stbit)          { fStatusBit           = stbit; }  \r
27   void    SetDCSid(Int_t dcsid)              { fDCSID               = dcsid; }  \r
28   void    SetSM(Int_t smid)                  { fSM                  = smid;  }\r
29   void    SetStack(Int_t stid)               { fStack               = stid;  }\r
30   void    SetLayer(Int_t lyid)               { fLayer               = lyid;  }\r
31   void    SetNumberOfTimeBins(Int_t value)   { fNumberOfTimeBins    = value; }\r
32   void    SetPedestal(Int_t ped)             { fPedestal            = ped;   }\r
33   void    SetConfigTag(Int_t cfgt)           { fConfigTag           = cfgt;  }\r
34   void    SetSingleHitThres(Int_t sht)       { fSingleHitThres      = sht;   }\r
35   void    SetThreePadClustThres(Int_t tpct)  { fThrPdClsThres       = tpct;  }\r
36   void    SetSelectiveNoZS(Int_t snzs)       { fSelNoZS             = snzs;  }\r
37   void    SetFastStatNoise(Int_t fstn)       { fFastStatNoise       = fstn;  }\r
38   void    SetTCFilterWeight(Int_t tcfw)      { fTCFilterWeight      = tcfw;  }\r
39   void    SetTCFilterShortDecPar(Int_t sdp)  { fTCFilterShortDecPar = sdp;   }\r
40   void    SetTCFilterLongDecPar(Int_t ldp)   { fTCFilterLongDecPar  = ldp;   }\r
41   void    SetFilterType(TString fity)        { fFilterType          = fity;  }\r
42   void    SetReadoutParam(TString rpar)      { fReadoutParam        = rpar;  }\r
43   void    SetTestPattern(TString tpat)       { fTestPattern         = tpat;  }\r
44   void    SetTrackletMode(TString tmde)      { fTrackletMode        = tmde;  }\r
45   void    SetTrackletDef(TString tdef)       { fTrackletDef         = tdef;  }\r
46   void    SetTriggerSetup(TString trse)      { fTriggerSetup        = trse;  }\r
47   void    SetAddOptions(TString adop)        { fAddOptions          = adop;  }\r
48   void    SetConfigName(TString cfgn)        { fConfigName          = cfgn;  }\r
49   void    SetConfigVersion(TString cfgv)     { fConfigVersion       = cfgv;  }\r
50   void    SetGainTableID(TString id)         { fGainTableID         = id;    }\r
51 \r
52   Int_t   GetStatusBit() const               { return fStatusBit;            }\r
53   Int_t   GetDCSid() const                   { return fDCSID;                }\r
54   Int_t   GetSM() const                      { return fSM;                   }\r
55   Int_t   GetStack() const                   { return fStack;                }\r
56   Int_t   GetLayer() const                   { return fLayer;                }\r
57   Int_t   GetNumberOfTimeBins() const        { return fNumberOfTimeBins;     }\r
58   Int_t   GetPedestal() const                { return fPedestal;             }\r
59   Int_t   GetConfigTag() const               { return fConfigTag;            }\r
60   Int_t   GetSingleHitThres() const          { return fSingleHitThres;       }\r
61   Int_t   GetThreePadClustThres() const      { return fThrPdClsThres;        }\r
62   Int_t   GetSelectiveNoZS() const           { return fSelNoZS;              }\r
63   Int_t   GetFastStatNoise() const           { return fFastStatNoise;        }\r
64   Int_t   GetTCFilterWeight() const          { return fTCFilterWeight;       }\r
65   Int_t   GetTCFilterShortDecPar() const     { return fTCFilterShortDecPar;  }\r
66   Int_t   GetTCFilterLongDecPar() const      { return fTCFilterLongDecPar;   }\r
67   TString GetFilterType() const              { return fFilterType;           }\r
68   TString GetReadoutParam() const            { return fReadoutParam;         }\r
69   TString GetTestPattern() const             { return fTestPattern;          }\r
70   TString GetTrackletMode() const            { return fTrackletMode;         }\r
71   TString GetTrackletDef() const             { return fTrackletDef;          }\r
72   TString GetTriggerSetup() const            { return fTriggerSetup;         }\r
73   TString GetAddOptions() const              { return fAddOptions;           }\r
74   TString GetConfigName() const              { return fConfigName;           }\r
75   TString GetConfigVersion() const           { return fConfigVersion;        }\r
76   TString GetGainTableID() const             { return fGainTableID;          }\r
77 \r
78  protected:\r
79   \r
80   Int_t   fStatusBit;              // 0 if everything is OK, otherwise !=0 (see impl. file)\r
81   Int_t   fDCSID;                  // ID of the DCS-Board\r
82   Int_t   fSM;                     // the number of the supermode 0..17\r
83   Int_t   fStack;                  // the number of the stack 0..4\r
84   Int_t   fLayer;                  // the number of the layer 0..5\r
85   Int_t   fNumberOfTimeBins;       // Number of timebins  \r
86   Int_t   fPedestal;               // Pedestal\r
87   Int_t   fConfigTag;              // Configuration tag\r
88   Int_t   fSingleHitThres;         // threshold of single hits (arg of readout param)\r
89   Int_t   fThrPdClsThres;          // threshold of 3-pad clusters (arg of readout param)\r
90   Int_t   fSelNoZS;                // write every NNNth event without ZS\r
91   Int_t   fFastStatNoise;          // collect statistics for fast noise mode\r
92   Int_t   fTCFilterWeight;         // tail cancellation filter weight\r
93   Int_t   fTCFilterShortDecPar;    // tail cancellation filter short decay parameter\r
94   Int_t   fTCFilterLongDecPar;     // tail cancellation filter short decay parameter\r
95 \r
96   TString fFilterType;             // filter type (p, pgt, nf)\r
97   TString fReadoutParam;           // zs, nozs, testpattern\r
98   TString fTestPattern;            // value of testpattern (for readout param)\r
99   TString fTrackletMode;           // trk, csmtrk, notrk\r
100   TString fTrackletDef;            // definition for tracklet mode trk\r
101   TString fTriggerSetup;           // ptrg, autotrg, autol0\r
102   TString fAddOptions;             // additional options, like nopm, nion\r
103   TString fConfigName;             // Configuration name\r
104   TString fConfigVersion;          // Configuration version\r
105   TString fGainTableID;            // Gain table ID\r
106 \r
107   ClassDef(AliTRDCalDCSFEE,2)      // TRD calibration class for TRD FEE parameters\r
108 };\r
109 #endif\r