Usage of RecoParam in QADataMaker and macro for Time slewing
[u/mrichter/AliRoot.git] / AD / ADrec / AliADRecoParam.h
CommitLineData
5e319bd5 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
5e319bd5 16#ifndef ALIADRECOPARAM_H
17#define ALIADRECOPARAM_H
18
19#include "AliDetectorRecoParam.h"
20
21class AliADRecoParam : public AliDetectorRecoParam
22{
23 public:
24 AliADRecoParam();
5e319bd5 25 virtual ~AliADRecoParam();
0c29ab3d 26
27 void SetNSigmaPed(Float_t nSigma) { fNSigmaPed = nSigma; }
28 void SetStartClock(Int_t start) { fStartClock = start; }
29 void SetEndClock(Int_t end) {fEndClock = end; }
30 void SetNPreClocks(Int_t preClocks) { fNPreClocks = preClocks; }
31 void SetNPostClocks(Int_t postClocks) { fNPostClocks = postClocks; }
32 void SetAdcThresHold(Float_t val) { fAdcThresHold = val;}
33 void SetTimeWindowBBALow(Float_t val) { fTimeWindowBBALow = val; }
34 void SetTimeWindowBBAUp (Float_t val) { fTimeWindowBBAUp = val; }
35 void SetTimeWindowBGALow(Float_t val) { fTimeWindowBGALow = val; }
36 void SetTimeWindowBGAUp (Float_t val) { fTimeWindowBGAUp = val; }
37 void SetTimeWindowBBCLow(Float_t val) { fTimeWindowBBCLow = val; }
38 void SetTimeWindowBBCUp (Float_t val) { fTimeWindowBBCUp = val; }
39 void SetTimeWindowBGCLow(Float_t val) { fTimeWindowBGCLow = val; }
40 void SetTimeWindowBGCUp (Float_t val) { fTimeWindowBGCUp = val; }
41 void SetMaxResid (Float_t val) { fMaxResid = val; }
e15d4621 42 void SetNTdcTimeBins (Int_t val) { fNTdcTimeBins = val; }
43 void SetTdcTimeMin (Float_t val) { fTdcTimeMin = val; }
44 void SetTdcTimeMax (Float_t val) { fTdcTimeMax = val; }
45 void SetNTdcWidthBins (Int_t val) { fNTdcWidthBins = val; }
46 void SetTdcWidthMin (Float_t val) { fTdcWidthMin = val; }
47 void SetTdcWidthMax (Float_t val) { fTdcWidthMax = val; }
48 void SetNChargeChannelBins (Int_t val) { fNChargeChannelBins = val; }
49 void SetNChargeSideBins (Int_t val) { fNChargeSideBins = val; }
50 void SetNChargeCorrBins (Int_t val) { fNChargeCorrBins = val; }
0c29ab3d 51
52 Float_t GetNSigmaPed() const { return fNSigmaPed; }
53 Int_t GetStartClock() const { return fStartClock; }
54 Int_t GetEndClock() const { return fEndClock; }
55 Int_t GetNPreClocks() const { return fNPreClocks; }
56 Int_t GetNPostClocks() const { return fNPostClocks; }
57 Float_t GetAdcThresHold() const { return fAdcThresHold; }
58 Float_t GetTimeWindowBBALow() const { return fTimeWindowBBALow; }
59 Float_t GetTimeWindowBBAUp () const { return fTimeWindowBBAUp ; }
60 Float_t GetTimeWindowBGALow() const { return fTimeWindowBGALow; }
61 Float_t GetTimeWindowBGAUp () const { return fTimeWindowBGAUp ; }
62 Float_t GetTimeWindowBBCLow() const { return fTimeWindowBBCLow; }
63 Float_t GetTimeWindowBBCUp () const { return fTimeWindowBBCUp ; }
64 Float_t GetTimeWindowBGCLow() const { return fTimeWindowBGCLow; }
65 Float_t GetTimeWindowBGCUp () const { return fTimeWindowBGCUp ; }
e15d4621 66 Float_t GetMaxResid () const { return fMaxResid; }
67 Int_t GetNTdcTimeBins() const { return fNTdcTimeBins; }
68 Float_t GetTdcTimeMin() const { return fTdcTimeMin; }
69 Float_t GetTdcTimeMax() const { return fTdcTimeMax; }
70 Int_t GetNTdcWidthBins() const { return fNTdcWidthBins; }
71 Float_t GetTdcWidthMin() const { return fTdcWidthMin; }
72 Float_t GetTdcWidthMax() const { return fTdcWidthMax; }
73 Int_t GetNChargeChannelBins() const { return fNChargeChannelBins; }
74 Int_t GetNChargeSideBins() const { return fNChargeSideBins; }
75 Int_t GetNChargeCorrBins() const { return fNChargeCorrBins; }
0c29ab3d 76
77 private:
78
79 Float_t fNSigmaPed; // Number of pedestal sigmas for adc cut
80 Int_t fStartClock; // Start clock for max adc search
81 Int_t fEndClock; // End clock for max adc search
82 Int_t fNPreClocks; // Number of pre-clocks used in adc charge sum
83 Int_t fNPostClocks; // Number of post-clocks used in adc charge sum
84
85 // Cuts used in the trigger mask creation
86 Float_t fAdcThresHold; // Threshold on the ADC
87 Float_t fTimeWindowBBALow; // BBA window (lower cut)
88 Float_t fTimeWindowBBAUp; // BBA window (upper cut)
89 Float_t fTimeWindowBGALow; // BGA window (lower cut)
90 Float_t fTimeWindowBGAUp; // BGA window (upper cut)
91 Float_t fTimeWindowBBCLow; // BBC window (lower cut)
92 Float_t fTimeWindowBBCUp; // BBC window (upper cut)
93 Float_t fTimeWindowBGCLow; // BGC window (lower cut)
94 Float_t fTimeWindowBGCUp; // BGC window (upper cut)
95 Float_t fMaxResid; // Maximum residual of a single channel time
e15d4621 96
97 //QA histogram bins and limits
98 Int_t fNTdcTimeBins; //Time bining
99 Float_t fTdcTimeMin;
100 Float_t fTdcTimeMax;
101 Int_t fNTdcWidthBins; //Width binning
102 Float_t fTdcWidthMin;
103 Float_t fTdcWidthMax;
104 Int_t fNChargeChannelBins; //Charge binnings
105 Int_t fNChargeSideBins;
106 Int_t fNChargeCorrBins;
5e319bd5 107
5e319bd5 108
e15d4621 109 ClassDef(AliADRecoParam, 2)
5e319bd5 110};
111#endif