Analysis code updated
authorauras <auras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Aug 2012 10:49:16 +0000 (10:49 +0000)
committerauras <auras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Aug 2012 10:49:16 +0000 (10:49 +0000)
MFT/AliMuonForwardTrackAnalysis.C

index e1f032b..84d01c6 100644 (file)
@@ -15,7 +15,8 @@ void AliMuonForwardTrackAnalysis(const Char_t *readDir= ".",
                                 Int_t firstEvent = -1,
                                 Int_t lastEvent = -1, 
                                 Int_t myRandom = 0,
-                                Double_t ptMinSingleMuons = 0.0) {
+                                Double_t ptMinSingleMuons = 0.0,
+                                Bool_t evalDimuonVtxResolution=kFALSE) {
   
   gROOT -> LoadMacro("./AliMuonForwardTrackAnalysis.cxx+");
   //  AliLog::SetClassDebugLevel("AliMuonForwardTrackPair", 1);
@@ -37,11 +38,13 @@ void AliMuonForwardTrackAnalysis(const Char_t *readDir= ".",
   myAnalysis->SetPtMinSingleMuons(ptMinSingleMuons);
   myAnalysis->UseCutOnOffsetChi2(useCutOnOffsetChi2);
 
-  myAnalysis->SetPtDimuRange(10, 0., 5.);
+  myAnalysis->SetPtDimuRange(5, 0., 5.);
   myAnalysis->SetMatchTrigger(kTRUE);
   myAnalysis->UseBransonForCut(kFALSE);
   myAnalysis->UseBransonForKinematics(kFALSE);
 
+  myAnalysis->EvalDimuonVtxResolution(evalDimuonVtxResolution);    // only with prompt quarkonia
+
   myAnalysis->Init("MuonGlobalTracks.root");
 
   while (myAnalysis->LoadNextEvent()) continue;