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; }
45 void SetAngleCorrect(Bool_t doit) { fAngleCorrect = doit; }
46 void SetSharingCorrect(Bool_t doit) { fSharingCorrect = doit; }
47 void SetNoiseFactor(Float_t f) { fNoiseFactor = f; }
49 static AliFMDRecoParam* GetLowFluxParam();
50 static AliFMDRecoParam* GetHighFluxParam();
51 static AliFMDRecoParam* GetParam(AliRecoParam::EventSpecie_t specie);
53 Float_t fNoiseFactor; // Noise suppression factor
54 Bool_t fAngleCorrect; // Whether to do angle correction or not
55 Bool_t fSharingCorrect; // Whether to do sharing correction or not
57 ClassDef(AliFMDRecoParam, 1)