]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZERORecoParam.h
Extension of clock range used to check flags (for pedestal calculation)
[u/mrichter/AliRoot.git] / VZERO / AliVZERORecoParam.h
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
15 class AliVZERORecoParam : public AliDetectorRecoParam
16 {
17  public: 
18   AliVZERORecoParam();
19   virtual ~AliVZERORecoParam();
20
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
27   Float_t GetNSigmaPed() const { return fNSigmaPed; }
28   Int_t  GetStartClock() const { return fStartClock; }
29   Int_t  GetEndClock() const { return fEndClock; }
30   Int_t  GetNPreClocks() const { return fNPreClocks; }
31   Int_t  GetNPostClocks() const { return fNPostClocks; }
32
33  private:
34
35   Float_t fNSigmaPed;  // Number of pedestal sigmas for adc cut
36   Int_t fStartClock;   // Start clock for max adc search
37   Int_t fEndClock;     // End clock for max adc search
38   Int_t fNPreClocks;   // Number of pre-clocks used in adc charge sum
39   Int_t fNPostClocks;  // Number of post-clocks used in adc charge sum
40
41   AliVZERORecoParam(const AliVZERORecoParam & param);
42   AliVZERORecoParam & operator=(const AliVZERORecoParam &param);
43
44   ClassDef(AliVZERORecoParam,2) // VZERO reco parameters
45 };
46
47 #endif