]>
Commit | Line | Data |
---|---|---|
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 | ||
21 | class 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; } | |
42 | ||
43 | Float_t GetNSigmaPed() const { return fNSigmaPed; } | |
44 | Int_t GetStartClock() const { return fStartClock; } | |
45 | Int_t GetEndClock() const { return fEndClock; } | |
46 | Int_t GetNPreClocks() const { return fNPreClocks; } | |
47 | Int_t GetNPostClocks() const { return fNPostClocks; } | |
48 | Float_t GetAdcThresHold() const { return fAdcThresHold; } | |
49 | Float_t GetTimeWindowBBALow() const { return fTimeWindowBBALow; } | |
50 | Float_t GetTimeWindowBBAUp () const { return fTimeWindowBBAUp ; } | |
51 | Float_t GetTimeWindowBGALow() const { return fTimeWindowBGALow; } | |
52 | Float_t GetTimeWindowBGAUp () const { return fTimeWindowBGAUp ; } | |
53 | Float_t GetTimeWindowBBCLow() const { return fTimeWindowBBCLow; } | |
54 | Float_t GetTimeWindowBBCUp () const { return fTimeWindowBBCUp ; } | |
55 | Float_t GetTimeWindowBGCLow() const { return fTimeWindowBGCLow; } | |
56 | Float_t GetTimeWindowBGCUp () const { return fTimeWindowBGCUp ; } | |
57 | Float_t GetMaxResid () const { return fMaxResid; } | |
58 | ||
59 | private: | |
60 | ||
61 | Float_t fNSigmaPed; // Number of pedestal sigmas for adc cut | |
62 | Int_t fStartClock; // Start clock for max adc search | |
63 | Int_t fEndClock; // End clock for max adc search | |
64 | Int_t fNPreClocks; // Number of pre-clocks used in adc charge sum | |
65 | Int_t fNPostClocks; // Number of post-clocks used in adc charge sum | |
66 | ||
67 | // Cuts used in the trigger mask creation | |
68 | Float_t fAdcThresHold; // Threshold on the ADC | |
69 | Float_t fTimeWindowBBALow; // BBA window (lower cut) | |
70 | Float_t fTimeWindowBBAUp; // BBA window (upper cut) | |
71 | Float_t fTimeWindowBGALow; // BGA window (lower cut) | |
72 | Float_t fTimeWindowBGAUp; // BGA window (upper cut) | |
73 | Float_t fTimeWindowBBCLow; // BBC window (lower cut) | |
74 | Float_t fTimeWindowBBCUp; // BBC window (upper cut) | |
75 | Float_t fTimeWindowBGCLow; // BGC window (lower cut) | |
76 | Float_t fTimeWindowBGCUp; // BGC window (upper cut) | |
77 | Float_t fMaxResid; // Maximum residual of a single channel time | |
5e319bd5 | 78 | |
5e319bd5 | 79 | |
5e319bd5 | 80 | ClassDef(AliADRecoParam, 1) |
81 | }; | |
82 | #endif |