Line data Source code
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 :
16 : #ifndef ALIADRECOPARAM_H
17 : #define ALIADRECOPARAM_H
18 :
19 : #include "AliDetectorRecoParam.h"
20 :
21 0 : class AliADRecoParam : public AliDetectorRecoParam
22 : {
23 : public:
24 : AliADRecoParam();
25 : virtual ~AliADRecoParam();
26 :
27 0 : void SetNSigmaPed(Float_t nSigma) { fNSigmaPed = nSigma; }
28 0 : void SetStartClock(Int_t start) { fStartClock = start; }
29 0 : void SetEndClock(Int_t end) {fEndClock = end; }
30 0 : void SetNPreClocks(Int_t preClocks) { fNPreClocks = preClocks; }
31 0 : void SetNPostClocks(Int_t postClocks) { fNPostClocks = postClocks; }
32 0 : void SetAdcThresHold(Float_t val) { fAdcThresHold = val;}
33 0 : void SetTimeWindowBBALow(Float_t val) { fTimeWindowBBALow = val; }
34 0 : void SetTimeWindowBBAUp (Float_t val) { fTimeWindowBBAUp = val; }
35 0 : void SetTimeWindowBGALow(Float_t val) { fTimeWindowBGALow = val; }
36 0 : void SetTimeWindowBGAUp (Float_t val) { fTimeWindowBGAUp = val; }
37 0 : void SetTimeWindowBBCLow(Float_t val) { fTimeWindowBBCLow = val; }
38 0 : void SetTimeWindowBBCUp (Float_t val) { fTimeWindowBBCUp = val; }
39 0 : void SetTimeWindowBGCLow(Float_t val) { fTimeWindowBGCLow = val; }
40 0 : void SetTimeWindowBGCUp (Float_t val) { fTimeWindowBGCUp = val; }
41 0 : void SetMaxResid (Float_t val) { fMaxResid = val; }
42 0 : void SetResidRise (Float_t val) { fResidRise = val; }
43 :
44 0 : void SetTailBegin(Int_t tailBegin) { fTailBegin = tailBegin; }
45 0 : void SetTailEnd(Int_t tailEnd) { fTailEnd = tailEnd; }
46 :
47 0 : Float_t GetNSigmaPed() const { return fNSigmaPed; }
48 0 : Int_t GetStartClock() const { return fStartClock; }
49 0 : Int_t GetEndClock() const { return fEndClock; }
50 0 : Int_t GetNPreClocks() const { return fNPreClocks; }
51 0 : Int_t GetNPostClocks() const { return fNPostClocks; }
52 0 : Float_t GetAdcThresHold() const { return fAdcThresHold; }
53 0 : Float_t GetTimeWindowBBALow() const { return fTimeWindowBBALow; }
54 0 : Float_t GetTimeWindowBBAUp () const { return fTimeWindowBBAUp ; }
55 0 : Float_t GetTimeWindowBGALow() const { return fTimeWindowBGALow; }
56 0 : Float_t GetTimeWindowBGAUp () const { return fTimeWindowBGAUp ; }
57 0 : Float_t GetTimeWindowBBCLow() const { return fTimeWindowBBCLow; }
58 0 : Float_t GetTimeWindowBBCUp () const { return fTimeWindowBBCUp ; }
59 0 : Float_t GetTimeWindowBGCLow() const { return fTimeWindowBGCLow; }
60 0 : Float_t GetTimeWindowBGCUp () const { return fTimeWindowBGCUp ; }
61 0 : Float_t GetMaxResid () const { return fMaxResid; }
62 0 : Float_t GetResidRise () const { return fResidRise; }
63 :
64 0 : Int_t GetTailBegin() const { return fTailBegin; }
65 0 : Int_t GetTailEnd() const { return fTailEnd; }
66 :
67 : private:
68 :
69 : Float_t fNSigmaPed; // Number of pedestal sigmas for adc cut
70 : Int_t fStartClock; // Start clock for max adc search
71 : Int_t fEndClock; // End clock for max adc search
72 : Int_t fNPreClocks; // Number of pre-clocks used in adc charge sum
73 : Int_t fNPostClocks; // Number of post-clocks used in adc charge sum
74 : Int_t fTailBegin; // tail charge begin (BC)
75 : Int_t fTailEnd; // tail charge end (BC)
76 :
77 : // Cuts used in the trigger mask creation
78 : Float_t fAdcThresHold; // Threshold on the ADC
79 : Float_t fTimeWindowBBALow; // BBA window (lower cut)
80 : Float_t fTimeWindowBBAUp; // BBA window (upper cut)
81 : Float_t fTimeWindowBGALow; // BGA window (lower cut)
82 : Float_t fTimeWindowBGAUp; // BGA window (upper cut)
83 : Float_t fTimeWindowBBCLow; // BBC window (lower cut)
84 : Float_t fTimeWindowBBCUp; // BBC window (upper cut)
85 : Float_t fTimeWindowBGCLow; // BGC window (lower cut)
86 : Float_t fTimeWindowBGCUp; // BGC window (upper cut)
87 : Float_t fMaxResid; // Maximum residual of a single channel time
88 : Float_t fResidRise; // Rise of the early hit cut
89 :
90 16 : ClassDef(AliADRecoParam, 5)
91 : };
92 : #endif
|