]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDRecoParam.h
Fixes from cholm to enable reading of geometry from a file
[u/mrichter/AliRoot.git] / FMD / AliFMDRecoParam.h
CommitLineData
818fff8d 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 */
5//
6//
7// FMD reconstruction parameters
8//
9//
10
11#include "AliDetectorRecoParam.h"
12
13class AliFMDRecoParam : public AliDetectorRecoParam
14{
15public:
16 AliFMDRecoParam(Float_t noiseFactor=3,
17 Bool_t angleCorrect=kTRUE,
18 Bool_t sharingCorrect=kFALSE);
19 virtual ~AliFMDRecoParam() {}
20 /**
21 * Whether to do angle of passage correction
22 *
23 * @return @c true if we're to do angle of passage correction
24 */
25 Bool_t AngleCorrect() const { return fAngleCorrect; }
26 /**
27 * Get the noise suppression factor
28 *
29 * @return The number of noise levels away from the pedestal
30 * that are suppressed.
31 */
32 Float_t NoiseFactor() const { return fNoiseFactor; }
33 /**
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.
39 *
40 * @return @c true if the reconstruction should also do the sharing
41 * correction.
42 */
43 Bool_t SharingCorrect() const { return fSharingCorrect; }
44
45 void SetAngleCorrect(Bool_t doit) { fAngleCorrect = doit; }
46 void SetSharingCorrect(Bool_t doit) { fSharingCorrect = doit; }
47 void SetNoiseFactor(Float_t f) { fNoiseFactor = f; }
48
49 static AliFMDRecoParam* GetLowFluxParam();
50 static AliFMDRecoParam* GetHighFluxParam();
51 static AliFMDRecoParam* GetParam(AliRecoParam::EventSpecie_t specie);
52private:
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
56
57 ClassDef(AliFMDRecoParam, 1)
58};
59
60
61#endif
62// Local Variables:
63// mode: C++
64// End: