1 #ifndef ALIFMDMULTCUTS_H
2 #define ALIFMDMULTCUTS_H
6 * Cuts used when calculating the multiplicity
9 class AliFMDMultCuts : public TObject
19 * @param o Oject to copy from
21 AliFMDMultCuts(const AliFMDMultCuts& o);
25 * @param o Object to asing from
27 * @return Reference to this object
29 AliFMDMultCuts& operator=(const AliFMDMultCuts& o);
31 * Get the multiplicity cuts for a specific ring and pseudo-rapidity
35 * @param eta pseudo-rapidity
36 * @param errors Get error on cut
40 Double_t GetMultCut(UShort_t d, Char_t r, Double_t eta, Bool_t errors) const;
42 * Get the multiplicity cuts for a specific ring and pseudo-rapidity
46 * @param etabin pseudo-rapidity bin
47 * @param errors Get error on cut
51 Double_t GetMultCut(UShort_t d, Char_t r, Int_t etabin, Bool_t errors) const;
56 void UnsetMultCuts() { SetMultCuts(-1); }
60 * @param fmd1i Value for FMD1i
61 * @param fmd2i Value for FMD2i
62 * @param fmd2o Value for FMD2o
63 * @param fmd3i Value for FMD3i
64 * @param fmd3o Value for FMD3o
66 void SetMultCuts(Double_t fmd1i,
72 * Set the faction of most probable value
74 * @param frac Fraction
76 void SetMPVFraction(Double_t frac=0) { fMPVFraction = frac; }
78 * Set the number times the Landau width
80 * @param nXi Number of widths
82 void SetNXi(Double_t nXi) { fNXi = nXi; }
84 * Set wether to includle the Gaussian sigma in cut calculation
86 * @param in If true, use Gaussian variance
88 void SetIncludeSigma(Bool_t in) { fIncludeSigma = in; }
92 * @param option Not used
94 void Print(Option_t* option="") const;
98 * @param l List to add to
101 void Output(TList* l, const char* name=0) const;
103 * Read in cuts stored in file
105 * @param l List to read from
106 * @param name Name of possible sub-list
108 * @return true on success
110 Bool_t Input(TList* l, const char* name);
112 * Get a fixed cut value
117 * @return Fixed cut value
119 Double_t GetFixedCut(UShort_t d, Char_t r) const;
121 Double_t fMultCuts[5]; // Fixed cuts
122 Double_t fMPVFraction; // Most probably value fraction
123 Double_t fNXi; // Times of Landau width
124 Bool_t fIncludeSigma; // Include Gaussian variance
126 ClassDef(AliFMDMultCuts,1); // Cuts on ESD Mult