]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRecoParam.cxx
Changes needed by the following commit: coding convention for type (_t) and access...
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoParam.cxx
index 45cc7b6c609dff6a6706878167a74b80d56f2dbb..37bc02d07f6bea36c9e3b3f7733f1dfeecf6712f 100644 (file)
@@ -35,7 +35,7 @@ ClassImp(AliMUONRecoParam)
 
 //_____________________________________________________________________________
 AliMUONRecoParam::AliMUONRecoParam()
-: TObject(),
+: AliDetectorRecoParam(),
   fClusteringMode("MLEM"),
   fTrackingMode("KALMAN"),
   fMinBendingMomentum(0.),
@@ -46,15 +46,21 @@ AliMUONRecoParam::AliMUONRecoParam()
   fMaxBendingDistanceToTrack(0.),
   fSigmaCutForTracking(0.),
   fSigmaCutForImprovement(0.),
+  fSigmaCutForTrigger(0.),
   fMaxNormChi2MatchTrigger(0.),
+  fPercentOfFullClusterInESD(10.),
+  fCombinedClusterTrackReco(kFALSE),
   fTrackAllTracks(kFALSE),
   fRecoverTracks(kFALSE),
   fMakeTrackCandidatesFast(kFALSE),
   fComplementTracks(kFALSE),
   fImproveTracks(kFALSE),
-  fUseSmoother(kFALSE)
+  fUseSmoother(kFALSE),
+  fSaveFullClusterInESD(kTRUE),
+  fCalibrationMode("NOGAIN")
 {
   /// Constructor
+  SetNameTitle("MUON","MUON");
   
   // use the default parameters for low flux environment
   SetLowFluxParam();
@@ -101,6 +107,7 @@ void AliMUONRecoParam::SetLowFluxParam()
   fMaxBendingDistanceToTrack = 2.;
   fSigmaCutForTracking = 6.;
   fSigmaCutForImprovement = 5.;
+  fSigmaCutForTrigger = 8.;
   fMaxNormChi2MatchTrigger = 16.;
   fTrackAllTracks = kTRUE;
   fRecoverTracks = kTRUE;
@@ -124,6 +131,7 @@ void AliMUONRecoParam::SetHighFluxParam()
   fMaxBendingDistanceToTrack = 2.;
   fSigmaCutForTracking = 6.;
   fSigmaCutForImprovement = 5.;
+  fSigmaCutForTrigger = 8.;
   fMaxNormChi2MatchTrigger = 16.;
   fTrackAllTracks = kTRUE;
   fRecoverTracks = kTRUE;
@@ -142,10 +150,17 @@ void AliMUONRecoParam::Print(Option_t *option) const
   
   cout<<endl<<"\t------Reconstruction parameters------"<<endl;
   
+  cout<<Form("Calibration mode = %s",fCalibrationMode.Data())<<endl;
   cout<<Form("Clustering mode = %s",fClusteringMode.Data())<<endl;
   
   cout<<Form("Tracking mode = %s",fTrackingMode.Data())<<endl;
   
+  if (fCombinedClusterTrackReco) cout<<"Combined cluster/track reconstruction: ON"<<endl;
+  else cout<<"Combined cluster/track reconstruction: OFF"<<endl;
+  
+  if (fSaveFullClusterInESD) cout<<Form("Save all cluster info in ESD for %5.2f %% of events",fPercentOfFullClusterInESD)<<endl;
+  else cout<<"Save partial cluster info in ESD"<<endl;
+  
   cout<<Form("Bending momentum range = [%5.2f,%5.2f]",fMinBendingMomentum,fMaxBendingMomentum)<<endl;
   
   if (strstr(fTrackingMode,"ORIGINAL"))
@@ -156,6 +171,8 @@ void AliMUONRecoParam::Print(Option_t *option) const
   cout<<Form("Maximum distance to track = (%5.2f,%5.2f)",fMaxNonBendingDistanceToTrack,fMaxBendingDistanceToTrack)<<endl;
   
   cout<<Form("Sigma cut for tracking = %5.2f",fSigmaCutForTracking)<<endl;
+
+  cout<<Form("Sigma cut for trigger hit pattern = %5.2f",fSigmaCutForTrigger)<<endl;
   
   if (fTrackAllTracks) cout<<"Track all the possible candidates"<<endl;
   else cout<<"Track only the best candidates"<<endl;