1 #ifndef ALIFMDRECOPARAM_H
2 #define ALIFMDRECOPARAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 // FMD reconstruction parameters
11 #include "AliDetectorRecoParam.h"
13 class AliFMDRecoParam : public AliDetectorRecoParam
16 AliFMDRecoParam(Float_t noiseFactor=3,
17 Bool_t angleCorrect=kTRUE,
18 Bool_t sharingCorrect=kFALSE);
19 virtual ~AliFMDRecoParam() {}
21 * Whether to do angle of passage correction
23 * @return @c true if we're to do angle of passage correction
25 Bool_t AngleCorrect() const { return fAngleCorrect; }
27 * Get the noise suppression factor
29 * @return The number of noise levels away from the pedestal
30 * that are suppressed.
32 Float_t NoiseFactor() const { return fNoiseFactor; }
34 * Whether to do the sharing correction. A single particle may
35 * traverse more than one strip due to it's incident angle. In that
36 * case, part of it's signal is put in one strip, and another in
37 * it's adjacent strip. The sharing correction corrects for this
38 * and adds the signal of the two strips into a single strip.
40 * @return @c true if the reconstruction should also do the sharing
43 Bool_t SharingCorrect() const { return fSharingCorrect; }
46 * Whether to do angle corrections
48 * @param doit Whether to do angle corrections
50 void SetAngleCorrect(Bool_t doit) { fAngleCorrect = doit; }
52 * Whether to do sharing corrections
54 * @param doit Whether to do sharing corrections
56 void SetSharingCorrect(Bool_t doit) { fSharingCorrect = doit; }
58 * Set the noise factor
60 * @param f Noise factor
62 void SetNoiseFactor(Float_t f) { fNoiseFactor = f; }
65 * Get low flux parameter
67 * @return low flux parameters
69 static AliFMDRecoParam* GetLowFluxParam();
71 * Get high flux parameter
73 * @return high flux parameters
75 static AliFMDRecoParam* GetHighFluxParam();
77 * Get parameters for a specific species
79 * @param specie Species
81 * @return Reconstruction paramters
83 static AliFMDRecoParam* GetParam(AliRecoParam::EventSpecie_t specie);
85 Float_t fNoiseFactor; // Noise suppression factor
86 Bool_t fAngleCorrect; // Whether to do angle correction or not
87 Bool_t fSharingCorrect; // Whether to do sharing correction or not
89 ClassDef(AliFMDRecoParam, 1)