]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONRecoParam.h
Creation of vertex constrained track parameters is moved to AliHLTVertexer,
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoParam.h
1 #ifndef ALIMUONRECOPARAM_H
2 #define ALIMUONRECOPARAM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice                               */
5
6 // $Id$
7
8 /// \ingroup rec
9 /// \class AliMUONRecoParam
10 /// \brief Class with MUON reconstruction parameters
11 ///
12 //  Author: Philippe Pillot
13
14 #include "AliDetectorRecoParam.h"
15 #include "TString.h"
16 #include <TMath.h>
17
18 class AliMUONRecoParam : public AliDetectorRecoParam
19 {
20  public: 
21   AliMUONRecoParam();
22   virtual ~AliMUONRecoParam();
23   
24   static AliMUONRecoParam *GetLowFluxParam();
25   static AliMUONRecoParam *GetHighFluxParam();
26   static AliMUONRecoParam *GetCosmicParam();
27   static AliMUONRecoParam *GetCalibrationParam();
28   
29   /// set the calibration mode (see GetCalibrationMode() for possible modes)
30   void SetCalibrationMode(Option_t* mode) { fCalibrationMode = mode; fCalibrationMode.ToUpper();}
31   
32   Option_t* GetCalibrationMode() const;
33   
34   /// set the clustering (pre-clustering) mode
35   void      SetClusteringMode(Option_t* mode) {fClusteringMode = mode; fClusteringMode.ToUpper();}
36   /// get the clustering (pre-clustering) mode
37   Option_t* GetClusteringMode() const {return fClusteringMode.Data();}
38   
39   /// set the tracking mode
40   void      SetTrackingMode(Option_t* mode) {fTrackingMode = mode; fTrackingMode.ToUpper();}
41   /// get the tracking mode
42   Option_t* GetTrackingMode() const {return fTrackingMode.Data();}
43   
44   /// switch on/off the combined cluster/track reconstruction
45   void      CombineClusterTrackReco(Bool_t flag) {fCombinedClusterTrackReco = flag;}
46   /// return kTRUE/kFALSE if the combined cluster/track reconstruction is on/off
47   Bool_t    CombineClusterTrackReco() const {return fCombinedClusterTrackReco;}
48   
49   /// save all cluster info (including pads) in ESD, for the given percentage of events
50   void      SaveFullClusterInESD(Bool_t flag, Double_t percentOfEvent = 100.) {fSaveFullClusterInESD = flag;
51                                  fPercentOfFullClusterInESD = (fSaveFullClusterInESD) ? percentOfEvent : 0.;}
52   /// return kTRUE/kFALSE depending on whether we save all cluster info in ESD or not
53   Bool_t    SaveFullClusterInESD() const {return fSaveFullClusterInESD;}
54   /// return the percentage of events for which all cluster info are stored in ESD
55   Double_t  GetPercentOfFullClusterInESD() const {return fPercentOfFullClusterInESD;}
56   
57   /// set the minimum value (GeV/c) of momentum in bending plane
58   void     SetMinBendingMomentum(Double_t val) {fMinBendingMomentum = val;}
59   /// return the minimum value (GeV/c) of momentum in bending plane
60   Double_t GetMinBendingMomentum() const {return fMinBendingMomentum;}
61   /// set the maximum value (GeV/c) of momentum in bending plane
62   void     SetMaxBendingMomentum(Double_t val) {fMaxBendingMomentum = val;}
63   /// return the maximum value (GeV/c) of momentum in bending plane
64   Double_t GetMaxBendingMomentum() const {return fMaxBendingMomentum;}
65   
66   /// set the maximum value of the non bending slope
67   void     SetMaxNonBendingSlope(Double_t val) {fMaxNonBendingSlope = val;}
68   /// return the maximum value of the non bending slope
69   Double_t GetMaxNonBendingSlope() const {return fMaxNonBendingSlope;}
70   /// set the maximum value of the bending slope
71   void     SetMaxBendingSlope(Double_t val) {fMaxBendingSlope = val;}
72   /// return the maximum value of the bending slope
73   Double_t GetMaxBendingSlope() const {return fMaxBendingSlope;}
74   
75   /// switch on/off the track selection according to their slope (instead of their impact parameter)
76   void     SelectOnTrackSlope(Bool_t flag) {fSelectTrackOnSlope = flag;}
77   /// return kTRUE/kFALSE if tracks are selected according to their slope/impact parameter
78   Bool_t   SelectOnTrackSlope() const {return fSelectTrackOnSlope;}
79   
80   /// set the vertex dispersion (cm) in non bending plane
81   void     SetNonBendingVertexDispersion(Double_t val) {fNonBendingVertexDispersion = val;} 
82   /// return the vertex dispersion (cm) in non bending plane
83   Double_t GetNonBendingVertexDispersion() const {return fNonBendingVertexDispersion;}
84   /// set the vertex dispersion (cm) in bending plane
85   void     SetBendingVertexDispersion(Double_t val) {fBendingVertexDispersion = val;} 
86   /// return the vertex dispersion (cm) in bending plane
87   Double_t GetBendingVertexDispersion() const {return fBendingVertexDispersion;}
88   
89   /// set the maximum distance to the track to search for compatible cluster(s) in non bending direction
90   void     SetMaxNonBendingDistanceToTrack(Double_t val) {fMaxNonBendingDistanceToTrack = val;} 
91   /// return the maximum distance to the track to search for compatible cluster(s) in non bending direction
92   Double_t GetMaxNonBendingDistanceToTrack() const {return fMaxNonBendingDistanceToTrack;}
93   /// set the maximum distance to the track to search for compatible cluster(s) in bending direction
94   void     SetMaxBendingDistanceToTrack(Double_t val) {fMaxBendingDistanceToTrack = val;} 
95   /// return the maximum distance to the track to search for compatible cluster(s) in bending direction
96   Double_t GetMaxBendingDistanceToTrack() const {return fMaxBendingDistanceToTrack;}
97   
98   /// set the cut in sigma to apply on cluster (local chi2) and track (global chi2) during tracking
99   void     SetSigmaCutForTracking(Double_t val) {fSigmaCutForTracking = val;} 
100   /// return the cut in sigma to apply on cluster (local chi2) and track (global chi2) during tracking
101   Double_t GetSigmaCutForTracking() const {return fSigmaCutForTracking;}
102   
103   /// switch on/off the track improvement and keep the default cut in sigma to apply on cluster (local chi2)
104   void     ImproveTracks(Bool_t flag) {fImproveTracks = flag;} 
105   /// switch on/off the track improvement and set the cut in sigma to apply on cluster (local chi2)
106   void     ImproveTracks(Bool_t flag, Double_t sigmaCut) {fImproveTracks = flag; fSigmaCutForImprovement = sigmaCut;} 
107   /// return kTRUE/kFALSE if the track improvement is switch on/off
108   Bool_t   ImproveTracks() const {return fImproveTracks;}
109   /// return the cut in sigma to apply on cluster (local chi2) during track improvement
110   Double_t GetSigmaCutForImprovement() const {return fSigmaCutForImprovement;}
111   
112   /// set the cut in sigma to apply on track during trigger hit pattern search
113   void     SetSigmaCutForTrigger(Double_t val) {fSigmaCutForTrigger = val;} 
114   /// return the cut in sigma to apply on track during trigger hit pattern search
115   Double_t GetSigmaCutForTrigger() const {return fSigmaCutForTrigger;}
116   /// set the cut in strips to apply on trigger track during trigger chamber efficiency
117   void     SetStripCutForTrigger(Double_t val) {fStripCutForTrigger = val;} 
118   /// return the cut in strips to apply on trigger track during trigger chamber efficiency
119   Double_t GetStripCutForTrigger() const {return fStripCutForTrigger;}
120   /// set the maximum search area in strips to apply on trigger track during trigger chamber efficiency
121   void     SetMaxStripAreaForTrigger(Double_t val) {fMaxStripAreaForTrigger = val;} 
122   /// return the maximum search area in strips to apply on trigger track during trigger chamber efficiency
123   Double_t GetMaxStripAreaForTrigger() const {return fMaxStripAreaForTrigger;}
124   
125   /// set the maximum normalized chi2 of tracking/trigger track matching
126   void     SetMaxNormChi2MatchTrigger(Double_t val) {fMaxNormChi2MatchTrigger = val;} 
127   /// return the maximum normalized chi2 of tracking/trigger track matching
128   Double_t GetMaxNormChi2MatchTrigger() const {return fMaxNormChi2MatchTrigger;}
129   
130   /// switch on/off the tracking of all the possible candidates (track only the best one if switched off)
131   void     TrackAllTracks(Bool_t flag) {fTrackAllTracks = flag;} 
132   /// return kTRUE/kFALSE if the tracking of all the possible candidates is switched on/off
133   Bool_t   TrackAllTracks() const {return fTrackAllTracks;}
134   
135   /// switch on/off the recovering of tracks being lost during reconstruction
136   void     RecoverTracks(Bool_t flag) {fRecoverTracks = flag;} 
137   /// return kTRUE/kFALSE if the recovering of tracks being lost during reconstruction is switched on/off
138   Bool_t   RecoverTracks() const {return fRecoverTracks;}
139   
140   /// switch on/off the fast building of track candidates (assuming linear propagation between stations 4 and 5)
141   void     MakeTrackCandidatesFast(Bool_t flag) {fMakeTrackCandidatesFast = flag;} 
142   /// return kTRUE/kFALSE if the fast building of track candidates is switched on/off
143   Bool_t   MakeTrackCandidatesFast() const {return fMakeTrackCandidatesFast;}
144   
145   /// switch on/off the building of track candidates starting from 1 cluster in each of the stations 4 and 5
146   void     MakeMoreTrackCandidates(Bool_t flag) {fMakeMoreTrackCandidates = flag;} 
147   /// return kTRUE/kFALSE if the building of extra track candidates is switched on/off
148   Bool_t   MakeMoreTrackCandidates() const {return fMakeMoreTrackCandidates;}
149   
150   /// switch on/off the completion of reconstructed track
151   void     ComplementTracks(Bool_t flag) {fComplementTracks = flag;} 
152   /// return kTRUE/kFALSE if completion of the reconstructed track is switched on/off
153   Bool_t   ComplementTracks() const {return fComplementTracks;}
154   
155   /// remove tracks sharing cluster in stations 1 or 2
156   void     RemoveConnectedTracksInSt12(Bool_t flag) {fRemoveConnectedTracksInSt12 = flag;} 
157   /// return kTRUE/kFALSE whether tracks sharing cluster in station 1 and 2 must be removed or not
158   Bool_t   RemoveConnectedTracksInSt12() const {return fRemoveConnectedTracksInSt12;}
159   
160   /// switch on/off the use of the smoother
161   void     UseSmoother(Bool_t flag) {fUseSmoother = flag;} 
162   /// return kTRUE/kFALSE if the use of the smoother is switched on/off
163   Bool_t   UseSmoother() const {return fUseSmoother;}
164   
165   /// switch on/off a chamber in the reconstruction
166   void     UseChamber(Int_t iCh, Bool_t flag) {if (iCh >= 0 && iCh < 10) fUseChamber[iCh] = flag;}
167   /// return kTRUE/kFALSE whether the chamber must be used or not
168   Bool_t   UseChamber(Int_t iCh) const {return (iCh >= 0 && iCh < 10) ? fUseChamber[iCh] : kFALSE;}
169   
170   /// request or not at least one cluster in the station to validate the track
171   void     RequestStation(Int_t iSt, Bool_t flag) {if (iSt >= 0 && iSt < 5) fRequestStation[iSt] = flag;}
172   /// return kTRUE/kFALSE whether at least one cluster is requested in the station to validate the track
173   Bool_t   RequestStation(Int_t iSt) const {return (iSt >= 0 && iSt < 5) ? fRequestStation[iSt] : kFALSE;}
174   /// return an integer where first 5 bits are set to 1 if the corresponding station is requested
175   UInt_t   RequestedStationMask() const;
176   
177   /// set the bypassSt45 value
178   void   BypassSt45(Bool_t st4, Bool_t st5);
179   
180   /// return kTRUE if we should replace clusters in St 4 and 5 by generated clusters from trigger tracks
181   Bool_t BypassSt45() const { return fBypassSt45==45; }
182   
183   /// return kTRUE if we should replace clusters in St 4 by generated clusters from trigger tracks
184   Bool_t BypassSt4() const { return BypassSt45() || fBypassSt45==4 ; }
185   
186   /// return kTRUE if we should replace clusters in St 5 by generated clusters from trigger tracks
187   Bool_t BypassSt5() const { return BypassSt45() || fBypassSt45==5 ; }
188   
189   /// Set Low and High threshold for St12 HV
190   void    SetHVSt12Limits(float low, float high) { fHVSt12Limits[0]=low; fHVSt12Limits[1]=high; }
191   /// Retrieve low limit for St12's HV
192   Float_t HVSt12LowLimit() const { return fHVSt12Limits[0]; }
193   /// Retrieve high limit for St12's HV
194   Float_t HVSt12HighLimit() const { return fHVSt12Limits[1]; }
195   
196   /// Set Low and High threshold for St345 HV
197   void    SetHVSt345Limits(float low, float high) { fHVSt345Limits[0]=low; fHVSt345Limits[1]=high; } 
198   /// Retrieve low limit for St345's HV
199   Float_t HVSt345LowLimit() const { return fHVSt345Limits[0]; }
200   /// Retrieve high limit for St345's HV
201   Float_t HVSt345HighLimit() const { return fHVSt345Limits[1]; }
202   
203   /// Set Low and High threshold for pedestal mean
204   void    SetPedMeanLimits(float low, float high) { fPedMeanLimits[0]=low; fPedMeanLimits[1]=high; }
205   /// Retrieve low limit of ped mean
206   Float_t PedMeanLowLimit() const { return fPedMeanLimits[0]; }
207   /// Retrieve high limit of ped mean
208   Float_t PedMeanHighLimit() const { return fPedMeanLimits[1]; }
209   
210   /// Set Low and High threshold for pedestal sigma 
211   void    SetPedSigmaLimits(float low, float high) { fPedSigmaLimits[0]=low; fPedSigmaLimits[1]=high; }
212   /// Retrieve low limit of ped sigma
213   Float_t PedSigmaLowLimit() const { return fPedSigmaLimits[0]; }
214   /// Retrieve high limit of ped sigma
215   Float_t PedSigmaHighLimit() const { return fPedSigmaLimits[1]; }
216   
217   /// Set Low and High threshold for gain a0 term
218   void    SetGainA1Limits(float low, float high) { fGainA1Limits[0]=low; fGainA1Limits[1]=high; }
219   /// Retrieve low limit of a1 (linear term) gain parameter
220   Float_t GainA1LowLimit() const { return fGainA1Limits[0]; }
221   /// Retrieve high limit of a1 (linear term) gain parameter
222   Float_t GainA1HighLimit() const { return fGainA1Limits[1]; }
223   
224   /// Set Low and High threshold for gain a1 term
225   void    SetGainA2Limits(float low, float high) { fGainA2Limits[0]=low; fGainA2Limits[1]=high; }
226   /// Retrieve low limit of a2 (quadratic term) gain parameter
227   Float_t GainA2LowLimit() const { return fGainA2Limits[0]; }
228   /// Retrieve high limit of a2 (quadratic term) gain parameter
229   Float_t GainA2HighLimit() const { return fGainA2Limits[1]; }
230   
231   /// Set Low and High threshold for gain threshold term
232   void    SetGainThresLimits(float low, float high) { fGainThresLimits[0]=low; fGainThresLimits[1]=high; }
233   /// Retrieve low limit on threshold gain parameter
234   Float_t GainThresLowLimit() const { return fGainThresLimits[0]; }
235   /// Retrieve high limit on threshold gain parameter
236   Float_t GainThresHighLimit() const { return fGainThresLimits[1]; }
237   
238   /// Set the goodness mask (see AliMUONPadStatusMapMaker)
239   void   SetPadGoodnessMask(UInt_t mask) { fPadGoodnessMask=mask; }
240   /// Get the goodness mask
241   UInt_t PadGoodnessMask() const { return fPadGoodnessMask; }
242   
243   /// Number of sigma cut we must apply when cutting on adc-ped
244   Double_t ChargeSigmaCut() const { return fChargeSigmaCut; }
245   
246   /// Number of sigma cut we must apply when cutting on adc-ped
247   void ChargeSigmaCut(Double_t value) { fChargeSigmaCut=value; }
248   
249   /// Set the default non bending resolution of chamber iCh
250   void     SetDefaultNonBendingReso(Int_t iCh, Double_t val) {if (iCh >= 0 && iCh < 10) fDefaultNonBendingReso[iCh] = val;}
251   /// Get the default non bending resolution of chamber iCh
252   Double_t GetDefaultNonBendingReso(Int_t iCh) const {return (iCh >= 0 && iCh < 10) ? fDefaultNonBendingReso[iCh] : FLT_MAX;}
253   /// Set the default bending resolution of chamber iCh
254   void     SetDefaultBendingReso(Int_t iCh, Double_t val) {if (iCh >= 0 && iCh < 10) fDefaultBendingReso[iCh] = val;}
255   /// Get the default bending resolution of chamber iCh
256   Double_t GetDefaultBendingReso(Int_t iCh) const {return (iCh >= 0 && iCh < 10) ? fDefaultBendingReso[iCh] : FLT_MAX;}
257   
258   /// Set the maximum number of trigger tracks above which the tracking is cancelled
259   void SetMaxTriggerTracks(Int_t maxTriggerTracks) {fMaxTriggerTracks = maxTriggerTracks;}
260   /// Get the maximum number of trigger tracks above which the tracking is cancelled
261   Int_t GetMaxTriggerTracks() const {return fMaxTriggerTracks;}
262   
263   /// Set the maximum number of track candidates above which the tracking abort
264   void SetMaxTrackCandidates(Int_t maxTrackCandidates) {fMaxTrackCandidates = maxTrackCandidates;}
265   /// Get the maximum number of track candidates above which the tracking abort
266   Int_t GetMaxTrackCandidates() const {return fMaxTrackCandidates;}
267   
268   /// Set the limits for the acceptable manu occupancy
269   void SetManuOccupancyLimits(float low, float high) { fManuOccupancyLimits[0]=low; fManuOccupancyLimits[1]=high; }
270   /// Retrieve low value of manu occupancy limit
271   Float_t ManuOccupancyLowLimit() const { return fManuOccupancyLimits[0]; }
272   /// Retrieve high value of manu occupancy limit
273   Float_t ManuOccupancyHighLimit() const { return fManuOccupancyLimits[1]; }
274
275   /// Set the limits for the acceptable bp occupancy
276   void SetBuspatchOccupancyLimits(float low, float high) { fBuspatchOccupancyLimits[0]=low; fBuspatchOccupancyLimits[1]=high; }
277   /// Retrieve low value of bp occupancy limit
278   Float_t BuspatchOccupancyLowLimit() const { return fBuspatchOccupancyLimits[0]; }
279   /// Retrieve high value of bp occupancy limit
280   Float_t BuspatchOccupancyHighLimit() const { return fBuspatchOccupancyLimits[1]; }
281
282   /// Set the limits for the acceptable DE occupancy
283   void SetDEOccupancyLimits(float low, float high) { fDEOccupancyLimits[0]=low; fDEOccupancyLimits[1]=high; }
284   /// Retrieve low value of DE occupancy limit
285   Float_t DEOccupancyLowLimit() const { return fDEOccupancyLimits[0]; }
286   /// Retrieve high value of DE occupancy limit
287   Float_t DEOccupancyHighLimit() const { return fDEOccupancyLimits[1]; }
288   
289   /// Set the missing pad fraction limit
290   void SetMissingPadFractionLimit(float v) { fMissingPadFractionLimit = v; }
291   /// Get the missing pad fraction limit
292   Float_t MissingPadFractionLimit() const { return fMissingPadFractionLimit; }
293   
294   /// Set the fraction of buspatches outside the occupancy limits
295   void SetFractionOfBuspatchOutsideOccupancyLimit(float v) { fFractionOfBuspatchOutsideOccupancyLimit = v; }
296   /// Get the fraction of buspatches outside the occupancy limits
297   Float_t FractionOfBuspatchOutsideOccupancyLimit() const { return fFractionOfBuspatchOutsideOccupancyLimit; }
298
299   virtual void Print(Option_t *option = "") const;
300   
301  private:
302   
303   void SetDefaultLimits();
304   
305  private:
306   
307   /// clustering mode:  NOCLUSTERING, PRECLUSTER, PRECLUSTERV2, PRECLUSTERV3, COG, <pre>
308   ///                   SIMPLEFIT, SIMPLEFITV3, MLEM:DRAW, MLEM, MLEMV2, MLEMV3   </pre>
309   TString fClusteringMode; ///< \brief name of the clustering (+ pre-clustering) mode
310   
311   /// tracking mode: ORIGINAL, KALMAN
312   TString fTrackingMode; ///< \brief name of the tracking mode
313   
314   Double32_t fMinBendingMomentum; ///< minimum value (GeV/c) of momentum in bending plane
315   Double32_t fMaxBendingMomentum; ///< maximum value (GeV/c) of momentum in bending plane
316   Double32_t fMaxNonBendingSlope; ///< maximum value of the non bending slope
317   Double32_t fMaxBendingSlope;    ///< maximum value of the bending slope (used only if B = 0)
318   
319   Double32_t fNonBendingVertexDispersion; ///< vertex dispersion (cm) in non bending plane (used for original tracking only)
320   Double32_t fBendingVertexDispersion;    ///< vertex dispersion (cm) in bending plane (used for original tracking only)
321   
322   Double32_t fMaxNonBendingDistanceToTrack; ///< maximum distance to the track to search for compatible cluster(s) in non bending direction
323   Double32_t fMaxBendingDistanceToTrack;    ///< maximum distance to the track to search for compatible cluster(s) in bending direction
324   
325   Double32_t fSigmaCutForTracking; ///< cut in sigma to apply on cluster (local chi2) and track (global chi2) during tracking
326
327   Double32_t fSigmaCutForImprovement; ///< cut in sigma to apply on cluster (local chi2) during track improvement
328   
329   Double32_t fSigmaCutForTrigger; ///< cut in sigma to apply on track during trigger hit pattern search
330
331   Double32_t fStripCutForTrigger; ///< cut in strips to apply on trigger track during trigger chamber efficiency
332
333   Double32_t fMaxStripAreaForTrigger; ///< max. search area in strips to apply on trigger track during trigger chamber efficiency
334   
335   Double32_t fMaxNormChi2MatchTrigger; ///< maximum normalized chi2 of tracking/trigger track matching
336   
337   Double32_t fPercentOfFullClusterInESD; ///< percentage of events for which all cluster info are stored in ESD
338   
339   Bool_t     fCombinedClusterTrackReco; ///< switch on/off the combined cluster/track reconstruction
340   
341   Bool_t     fTrackAllTracks; ///< kTRUE to track all the possible candidates; kFALSE to track only the best ones
342   
343   Bool_t     fRecoverTracks; ///< kTRUE to try to recover the tracks getting lost during reconstruction
344   
345   Bool_t     fMakeTrackCandidatesFast; ///< kTRUE to make candidate tracks assuming linear propagation between stations 4 and 5
346   
347   Bool_t     fMakeMoreTrackCandidates; ///< kTRUE to make candidate tracks starting from 1 cluster in each of the stations 4 and 5
348   
349   Bool_t     fComplementTracks; ///< kTRUE to try to complete the reconstructed tracks by adding missing clusters
350   
351   Bool_t     fImproveTracks; ///< kTRUE to try to improve the reconstructed tracks by removing bad clusters
352   
353   Bool_t     fUseSmoother; ///< kTRUE to use the smoother to compute track parameters/covariances and local chi2 at each cluster (used for Kalman tracking only)
354   
355   Bool_t     fSaveFullClusterInESD; ///< kTRUE to save all cluster info (including pads) in ESD
356   
357   /// calibration mode:  GAIN, NOGAIN, GAINCONSTANTCAPA, INJECTIONGAIN
358   TString    fCalibrationMode; ///<\brief calibration mode
359   
360   Int_t      fBypassSt45; ///< non-zero to use trigger tracks to generate "fake" clusters in St 4 and 5. Can be 0, 4, 5 or 45 only
361   
362   Bool_t     fUseChamber[10]; ///< kTRUE to use the chamber i in the tracking algorithm
363   
364   Bool_t     fRequestStation[5]; ///< kTRUE to request at least one cluster in station i to validate the track
365   
366   Double32_t fGainA1Limits[2]; ///< Low and High threshold for gain a0 parameter
367   Double32_t fGainA2Limits[2]; ///< Low and High threshold for gain a1 parameter
368   Double32_t fGainThresLimits[2]; ///< Low and High threshold for gain threshold parameter
369   Double32_t fHVSt12Limits[2]; ///< Low and High threshold for St12 HV
370   Double32_t fHVSt345Limits[2]; ///< Low and High threshold for St345 HV
371   Double32_t fPedMeanLimits[2]; ///< Low and High threshold for pedestal mean
372   Double32_t fPedSigmaLimits[2]; ///< Low and High threshold for pedestal sigma
373   
374   UInt_t     fPadGoodnessMask; ///< goodness mask (see AliMUONPadStatusMaker)
375   
376   Double32_t fChargeSigmaCut; ///< number of sigma to cut on adc-ped 
377   
378   Double32_t fDefaultNonBendingReso[10]; ///< default chamber resolution in the non-bending direction
379   Double32_t fDefaultBendingReso[10]; ///< default chamber resolution in the bending direction
380   
381   Bool_t     fRemoveConnectedTracksInSt12; ///< kTRUE to remove tracks sharing cluster in station 1 and 2
382   
383   Int_t      fMaxTriggerTracks; ///< maximum number of trigger tracks above which the tracking is cancelled
384   Int_t      fMaxTrackCandidates; ///< maximum number of track candidates above which the tracking abort
385   
386   Bool_t     fSelectTrackOnSlope; ///< select track candidates according to their slope (instead of their impact parameter)
387   
388   Double32_t fManuOccupancyLimits[2]; ///< low and high thresholds for manu occupancy cut
389   Double32_t fBuspatchOccupancyLimits[2]; ///< low and high thresholds for bus patch occupancy cut
390   Double32_t fDEOccupancyLimits[2]; ///< low and high thresholds for DE occupancy cut
391
392   Double32_t fMissingPadFractionLimit; ///< above this fraction, we consider we have too few pads alive...
393   Double32_t fFractionOfBuspatchOutsideOccupancyLimit; ///< above this limit, we consider we have too many buspatches out of the allowed occupancy range
394
395   // functions
396   void SetLowFluxParam();
397   void SetHighFluxParam();
398   void SetCosmicParam();
399   void SetCalibrationParam();
400   
401   ClassDef(AliMUONRecoParam,15) // MUON reco parameters
402 };
403
404 #endif
405