]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/Cal/AliTRDCalDCSFEE.h
Remove print statement
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSFEE.h
CommitLineData
2e32a5ae 1#ifndef ALITRDCALDCSFEE_H\r
2#define ALITRDCALDCSFEE_H\r
6b36d985 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
1b2ec594 10// TRD calibration class for FEE configuration parameters //\r
6b36d985 11// //\r
12///////////////////////////////////////////////////////////////////////////////\r
13\r
14#include "TNamed.h"\r
15\r
16class TString;\r
17\r
18class 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
1b2ec594 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 SetConfigTag(Int_t cfgt) { fConfigTag = cfgt; }\r
33 void SetSingleHitThres(Int_t sht) { fSingleHitThres = sht; }\r
34 void SetThreePadClustThres(Int_t tpct) { fThrPdClsThres = tpct; }\r
35 void SetSelectiveNoZS(Int_t snzs) { fSelNoZS = snzs; }\r
36 void SetFastStatNoise(Int_t fstn) { fFastStatNoise = fstn; }\r
37 void SetTCFilterWeight(Int_t tcfw) { fTCFilterWeight = tcfw; }\r
38 void SetTCFilterShortDecPar(Int_t sdp) { fTCFilterShortDecPar = sdp; }\r
39 void SetTCFilterLongDecPar(Int_t ldp) { fTCFilterLongDecPar = ldp; }\r
40 void SetFilterType(TString fity) { fFilterType = fity; }\r
41 void SetReadoutParam(TString rpar) { fReadoutParam = rpar; }\r
42 void SetTestPattern(TString tpat) { fTestPattern = tpat; }\r
43 void SetTrackletMode(TString tmde) { fTrackletMode = tmde; }\r
44 void SetTrackletDef(TString tdef) { fTrackletDef = tdef; }\r
45 void SetTriggerSetup(TString trse) { fTriggerSetup = trse; }\r
46 void SetAddOptions(TString adop) { fAddOptions = adop; }\r
47 void SetConfigName(TString cfgn) { fConfigName = cfgn; }\r
48 void SetConfigVersion(TString cfgv) { fConfigVersion = cfgv; }\r
49 void SetMCMGlobalState(Int_t r,Int_t m,Int_t g) { fRStateGSM[r][m] = g; }\r
50 void SetMCMStateNI(Int_t r,Int_t m,Int_t v) { fRStateNI[r][m] = v; }\r
51 void SetMCMEventCnt(Int_t r,Int_t m,Int_t v) { fRStateEV[r][m] = v; }\r
52 void SetMCMPtCnt(Int_t r,Int_t m,Int_t v) { fRStatePTRG[r][m] = v; }\r
6b36d985 53\r
1b2ec594 54 Int_t GetStatusBit() const { return fStatusBit; }\r
55 Int_t GetDCSid() const { return fDCSID; }\r
56 Int_t GetSM() const { return fSM; }\r
57 Int_t GetStack() const { return fStack; }\r
58 Int_t GetLayer() const { return fLayer; }\r
59 Int_t GetNumberOfTimeBins() const { return fNumberOfTimeBins; }\r
60 Int_t GetConfigTag() const { return fConfigTag; }\r
61 Int_t GetSingleHitThres() const { return fSingleHitThres; }\r
62 Int_t GetThreePadClustThres() const { return fThrPdClsThres; }\r
63 Int_t GetSelectiveNoZS() const { return fSelNoZS; }\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 Int_t GetFastStatNoise() const { return fFastStatNoise; }\r
68 TString GetFilterType() const { return fFilterType; }\r
69 TString GetReadoutParam() const { return fReadoutParam; }\r
70 TString GetTestPattern() const { return fTestPattern; }\r
71 TString GetTrackletMode() const { return fTrackletMode; }\r
72 TString GetTrackletDef() const { return fTrackletDef; }\r
73 TString GetTriggerSetup() const { return fTriggerSetup; }\r
74 TString GetAddOptions() const { return fAddOptions; }\r
75 TString GetConfigName() const { return fConfigName; }\r
76 TString GetConfigVersion() const { return fConfigVersion; }\r
77 Int_t GetMCMGlobalState(Int_t r,Int_t m) const { return fRStateGSM[r][m]; }\r
78 Int_t GetMCMStateNI(Int_t r,Int_t m) const { return fRStateNI[r][m]; }\r
79 Int_t GetMCMEventCnt(Int_t r,Int_t m) const { return fRStateEV[r][m]; }\r
80 Int_t GetMCMPtCnt(Int_t r,Int_t m) const { return fRStatePTRG[r][m]; }\r
6b36d985 81\r
82 protected:\r
2e32a5ae 83\r
84 static const Int_t fgkROB = 8; // Number of readout boards\r
85 static const Int_t fgkMCM = 18; // Number of MCMs\r
6b36d985 86 \r
2e32a5ae 87 Int_t fStatusBit; // 0 if everything is OK, otherwise !=0 (see impl. file)\r
88 Int_t fDCSID; // ID of the DCS-Board\r
89 Int_t fSM; // the number of the supermode 0..17\r
90 Int_t fStack; // the number of the stack 0..4\r
91 Int_t fLayer; // the number of the layer 0..5\r
92 Int_t fNumberOfTimeBins; // Number of timebins \r
93 Int_t fConfigTag; // Configuration tag\r
94 Int_t fSingleHitThres; // threshold of single hits (arg of readout param)\r
95 Int_t fThrPdClsThres; // threshold of 3-pad clusters (arg of readout param)\r
96 Int_t fSelNoZS; // write every fSelNoZS'th event without ZS\r
97 Int_t fTCFilterWeight; // tail cancellation filter weight\r
98 Int_t fTCFilterShortDecPar; // tail cancellation filter short decay parameter\r
99 Int_t fTCFilterLongDecPar; // tail cancellation filter long decay parameter\r
100 Int_t fFastStatNoise; // collect statistics for fast noise mode\r
101 Int_t fRStateGSM[fgkROB][fgkMCM]; // array of the global states of the MCMs\r
102 Int_t fRStateNI[fgkROB][fgkMCM]; // array of the network interface states of the MCMs\r
103 Int_t fRStateEV[fgkROB][fgkMCM]; // array of the event counters of the MCMs\r
104 Int_t fRStatePTRG[fgkROB][fgkMCM]; // array of the pretrigger counters of the MCMs\r
105 TString fFilterType; // filter type (p, pgt, nf)\r
106 TString fReadoutParam; // readout parameter (zs, nozs, testpattern)\r
107 TString fTestPattern; // value of testpattern (for readout param)\r
108 TString fTrackletMode; // tracklet mode (trk, csmtrk, notrk)\r
109 TString fTrackletDef; // definition for tracklet mode trk\r
110 TString fTriggerSetup; // trigger setup (ptrg, autotrg, autol0)\r
111 TString fAddOptions; // additional options (nopm, nion)\r
112 TString fConfigName; // Configuration name\r
113 TString fConfigVersion; // Configuration version\r
6b36d985 114\r
2e32a5ae 115 ClassDef(AliTRDCalDCSFEE,3) // TRD calibration class for TRD FEE parameters\r
6b36d985 116};\r
117#endif\r