Update VZERO reco in order to deal with high lumi data. Weighted mean on V0 A and...
[u/mrichter/AliRoot.git] / VZERO / AliVZERORecoParam.h
CommitLineData
ed90abb8 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 */
5
6///////////////////////////////////////////////////////////////////////////////
7// //
8// Class with VZERO reconstruction parameters //
9// Origin: Brigitte Cheynis //
10// //
11///////////////////////////////////////////////////////////////////////////////
12
13#include "AliDetectorRecoParam.h"
14
15class AliVZERORecoParam : public AliDetectorRecoParam
16{
17 public:
18 AliVZERORecoParam();
19 virtual ~AliVZERORecoParam();
20
75b6bc77 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; }
7bf5b178 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; }
75b6bc77 36
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; }
7bf5b178 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; }
75b6bc77 52
ed90abb8 53 private:
54
75b6bc77 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
7bf5b178 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
75b6bc77 71
ed90abb8 72 AliVZERORecoParam(const AliVZERORecoParam & param);
73 AliVZERORecoParam & operator=(const AliVZERORecoParam &param);
74
7bf5b178 75 ClassDef(AliVZERORecoParam,3) // VZERO reco parameters
ed90abb8 76};
77
78#endif