1 #ifndef ALIFMDMULTCUTS_H
2 #define ALIFMDMULTCUTS_H
6 * Cuts used when calculating the multiplicity
9 class AliFMDMultCuts : public TObject
25 * @param o Oject to copy from
27 AliFMDMultCuts(const AliFMDMultCuts& o);
31 * @param o Object to asing from
33 * @return Reference to this object
35 AliFMDMultCuts& operator=(const AliFMDMultCuts& o);
37 * Get the multiplicity cuts for a specific ring and pseudo-rapidity
41 * @param eta pseudo-rapidity
42 * @param errors Get error on cut
46 Double_t GetMultCut(UShort_t d, Char_t r, Double_t eta, Bool_t errors) const;
48 * Get the multiplicity cuts for a specific ring and pseudo-rapidity
52 * @param etabin pseudo-rapidity bin
53 * @param errors Get error on cut
57 Double_t GetMultCut(UShort_t d, Char_t r, Int_t etabin, Bool_t errors) const;
62 void UnsetMultCuts() { SetMultCuts(-1); }
66 * @param fmd1i Value for FMD1i
67 * @param fmd2i Value for FMD2i
68 * @param fmd2o Value for FMD2o
69 * @param fmd3i Value for FMD3i
70 * @param fmd3o Value for FMD3o
72 void SetMultCuts(Double_t fmd1i,
78 * Set the faction of most probable value
80 * @param frac Fraction
82 void SetMPVFraction(Double_t frac=0) { fMPVFraction = frac; }
84 * Set the number times the Landau width
86 * @param nXi Number of widths
88 void SetNXi(Double_t nXi) { fNXi = nXi; }
90 * Set wether to includle the Gaussian sigma in cut calculation
92 * @param in If true, use Gaussian variance
94 void SetIncludeSigma(Bool_t in) { fIncludeSigma = in; }
98 * @param option Not used
100 void Print(Option_t* option="") const;
104 * @param l List to add to
107 void Output(TList* l, const char* name=0) const;
109 * Read in cuts stored in file
111 * @param l List to read from
112 * @param name Name of possible sub-list
114 * @return true on success
116 Bool_t Input(TList* l, const char* name);
118 * Get a fixed cut value
123 * @return Fixed cut value
125 Double_t GetFixedCut(UShort_t d, Char_t r) const;
129 * @return method number
131 UShort_t GetMehod() const;
133 * Get a string descriping the method used
137 const char* GetMehodString() const;
139 Double_t fMultCuts[5]; // Fixed cuts
140 Double_t fMPVFraction; // Most probably value fraction
141 Double_t fNXi; // Times of Landau width
142 Bool_t fIncludeSigma; // Include Gaussian variance
144 ClassDef(AliFMDMultCuts,2); // Cuts on ESD Mult