]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/Cal/AliTRDCalDCS.h
Making online tracklets usable in offline reconstruction
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCS.h
CommitLineData
54c3cb53 1#ifndef AliTRDCALDCS_H
2#define AliTRDCALDCS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliTRDCalDCS.h 18952 2007-06-08 11:36:12Z cblume $ */
7
8///////////////////////////////////////////////////////////////////////////////
9// //
10// TRD calibration class for TRD DCS parameters //
11// //
12///////////////////////////////////////////////////////////////////////////////
13
14#include "TNamed.h"
faa87e39 15#include "TObjArray.h"
54c3cb53 16
17class TString;
18
faa87e39 19class AliTRDCalDCSFEE;
20class AliTRDCalDCSPTR;
21class AliTRDCalDCSGTU;
22
54c3cb53 23class AliTRDCalDCS : public TNamed {
24
25 public:
26
27 AliTRDCalDCS();
28 AliTRDCalDCS(const Text_t *name, const Text_t *title);
29 AliTRDCalDCS(const AliTRDCalDCS &cd);
30 AliTRDCalDCS &operator=(const AliTRDCalDCS &cd);
31 virtual ~AliTRDCalDCS() { };
54c3cb53 32
1b2ec594 33 void EvaluateGlobalParameters();
34 void SetFEEArr(TObjArray *fa) { fFEEArr = fa; }
35 void SetPTRArr(TObjArray *pa) { fPTRArr = pa; }
36 void SetGTUArr(TObjArray *ga) { fGTUArr = ga; }
37
38 Int_t GetGlobalNumberOfTimeBins() const { return fGNumberOfTimeBins; }
39 Int_t GetGlobalConfigTag() const { return fGConfigTag; }
40 Int_t GetGlobalSingleHitThres() const { return fGSingleHitThres; }
41 Int_t GetGlobalThreePadClustThres() const { return fGThreePadClustThres; }
42 Int_t GetGlobalSelectiveNoZS() const { return fGSelNoZS; }
43 Int_t GetGlobalTCFilterWeight() const { return fGTCFilterWeight; }
44 Int_t GetGlobalTCFilterShortDecPar() const { return fGTCFilterShortDecPar; }
45 Int_t GetGlobalTCFilterLongDecPar() const { return fGTCFilterLongDecPar; }
46 Int_t GetGlobalModeFastStatNoise() const { return fGFastStatNoise; }
47 TString GetGlobalConfigVersion() const { return fGConfigVersion; }
48 TString GetGlobalConfigName() const { return fGConfigName; }
49 TString GetGlobalFilterType() const { return fGFilterType; }
50 TString GetGlobalReadoutParam() const { return fGReadoutParam; }
51 TString GetGlobalTestPattern() const { return fGTestPattern; }
52 TString GetGlobalTrackletMode() const { return fGTrackletMode; }
53 TString GetGlobalTrackletDef() const { return fGTrackletDef; }
54 TString GetGlobalTriggerSetup() const { return fGTriggerSetup; }
55 TString GetGlobalAddOptions() const { return fGAddOptions; }
56 TObjArray* GetFEEArr() const { return fFEEArr; }
57 TObjArray* GetPTRArr() const { return fPTRArr; }
58 TObjArray* GetGTUArr() const { return fGTUArr; }
54c3cb53 59 AliTRDCalDCSFEE* GetCalDCSFEEObj(Int_t det)
1b2ec594 60 { return (AliTRDCalDCSFEE*)fFEEArr->At(det); }
54c3cb53 61 AliTRDCalDCSPTR* GetCalDCSPTRObj(Int_t det)
1b2ec594 62 { return (AliTRDCalDCSPTR*)fPTRArr->At(det); }
54c3cb53 63 AliTRDCalDCSGTU* GetCalDCSGTUObj(Int_t det)
1b2ec594 64 { return (AliTRDCalDCSGTU*)fGTUArr->At(det); }
54c3cb53 65
66 protected:
67
68 // global configuration parameters
1b2ec594 69 Int_t fGNumberOfTimeBins; // Number of timebins (-1 if diverse)
70 Int_t fGConfigTag; // Configuration Tag (-1 if diverse)
71 Int_t fGSingleHitThres; // thres. of single hits (arg of readout param) (-1 if diverse)
72 Int_t fGThreePadClustThres; // thres. of 3-pad clusters (arg of readout param) (-1 if diverse)
73 Int_t fGSelNoZS; // write every fGSelNoZS'th event without ZS (-1 if diverse)
74 Int_t fGTCFilterWeight; // tail cancellation filter weight (-1 if diverse)
75 Int_t fGTCFilterShortDecPar; // tail cancellation filter short decay parameter (-1 if diverse)
76 Int_t fGTCFilterLongDecPar; // tail cancellation filter long decay parameter (-1 if diverse)
77 Int_t fGFastStatNoise; // collect stat. f. fast noise mode (0: no, 1: yes, -1: diverse)
78 TString fGConfigVersion; // Configuration version (empty if diverse)
79 TString fGConfigName; // Configuration name (empty if diverse)
80 TString fGFilterType; // filter type (p, pgt, nf) (empty if diverse)
81 TString fGReadoutParam; // readout parameter (zs, nozs, testpattern) (empty if diverse)
82 TString fGTestPattern; // value of testpattern (for readout param) (empty if diverse)
83 TString fGTrackletMode; // tracklet mode (trk, csmtrk, notrk) (empty if diverse)
84 TString fGTrackletDef; // definition for tracklet mode trk (empty if diverse)
85 TString fGTriggerSetup; // trigger setup (ptrg, autotrg, autol0) (empty if diverse)
86 TString fGAddOptions; // additional options (nopm, nion) (empty if diverse)
87
54c3cb53 88 //individual configuration parameters
89 TObjArray *fFEEArr; // config param of the individual chambers
90 TObjArray *fPTRArr; // config param of the pretrigger
91 TObjArray *fGTUArr; // config param of the GTU
92
1b2ec594 93 ClassDef(AliTRDCalDCS,2) // TRD calibration class for TRD DCS parameters
54c3cb53 94
95};
96#endif