1 #ifndef ALIVZERORECOPARAM_H
2 #define ALIVZERORECOPARAM_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////////////////////
8 // Class with VZERO reconstruction parameters //
9 // Origin: Brigitte Cheynis //
11 ///////////////////////////////////////////////////////////////////////////////
13 #include "AliDetectorRecoParam.h"
15 class AliVZERORecoParam : public AliDetectorRecoParam
19 virtual ~AliVZERORecoParam();
21 void SetNSigmaPed(Float_t nSigma) { fNSigmaPed = nSigma; }
22 void SetStartClock(Int_t start) { fStartClock = start; }
23 void SetEndClock(Int_t end) {fEndClock = end; }
24 void SetNPreClocks(Int_t preClocks) { fNPreClocks = preClocks; }
25 void SetNPostClocks(Int_t postClocks) { fNPostClocks = postClocks; }
26 void SetAdcThresHold(Float_t val) { fAdcThresHold = val;}
27 void SetTimeWindowBBALow(Float_t val) { fTimeWindowBBALow = val; }
28 void SetTimeWindowBBAUp (Float_t val) { fTimeWindowBBAUp = val; }
29 void SetTimeWindowBGALow(Float_t val) { fTimeWindowBGALow = val; }
30 void SetTimeWindowBGAUp (Float_t val) { fTimeWindowBGAUp = val; }
31 void SetTimeWindowBBCLow(Float_t val) { fTimeWindowBBCLow = val; }
32 void SetTimeWindowBBCUp (Float_t val) { fTimeWindowBBCUp = val; }
33 void SetTimeWindowBGCLow(Float_t val) { fTimeWindowBGCLow = val; }
34 void SetTimeWindowBGCUp (Float_t val) { fTimeWindowBGCUp = val; }
35 void SetMaxResid (Float_t val) { fMaxResid = val; }
37 Float_t GetNSigmaPed() const { return fNSigmaPed; }
38 Int_t GetStartClock() const { return fStartClock; }
39 Int_t GetEndClock() const { return fEndClock; }
40 Int_t GetNPreClocks() const { return fNPreClocks; }
41 Int_t GetNPostClocks() const { return fNPostClocks; }
42 Float_t GetAdcThresHold() const { return fAdcThresHold; }
43 Float_t GetTimeWindowBBALow() const { return fTimeWindowBBALow; }
44 Float_t GetTimeWindowBBAUp () const { return fTimeWindowBBAUp ; }
45 Float_t GetTimeWindowBGALow() const { return fTimeWindowBGALow; }
46 Float_t GetTimeWindowBGAUp () const { return fTimeWindowBGAUp ; }
47 Float_t GetTimeWindowBBCLow() const { return fTimeWindowBBCLow; }
48 Float_t GetTimeWindowBBCUp () const { return fTimeWindowBBCUp ; }
49 Float_t GetTimeWindowBGCLow() const { return fTimeWindowBGCLow; }
50 Float_t GetTimeWindowBGCUp () const { return fTimeWindowBGCUp ; }
51 Float_t GetMaxResid () const { return fMaxResid; }
55 Float_t fNSigmaPed; // Number of pedestal sigmas for adc cut
56 Int_t fStartClock; // Start clock for max adc search
57 Int_t fEndClock; // End clock for max adc search
58 Int_t fNPreClocks; // Number of pre-clocks used in adc charge sum
59 Int_t fNPostClocks; // Number of post-clocks used in adc charge sum
60 // Cuts used in the trigger mask creation
61 Float_t fAdcThresHold; // Threshold on the ADC
62 Float_t fTimeWindowBBALow; // BBA window (lower cut)
63 Float_t fTimeWindowBBAUp; // BBA window (upper cut)
64 Float_t fTimeWindowBGALow; // BGA window (lower cut)
65 Float_t fTimeWindowBGAUp; // BGA window (upper cut)
66 Float_t fTimeWindowBBCLow; // BBC window (lower cut)
67 Float_t fTimeWindowBBCUp; // BBC window (upper cut)
68 Float_t fTimeWindowBGCLow; // BGC window (lower cut)
69 Float_t fTimeWindowBGCUp; // BGC window (upper cut)
70 Float_t fMaxResid; // Maximum residual of a single channel time
72 AliVZERORecoParam(const AliVZERORecoParam & param);
73 AliVZERORecoParam & operator=(const AliVZERORecoParam ¶m);
75 ClassDef(AliVZERORecoParam,3) // VZERO reco parameters