Placeholder for like and unlike sign selection
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Mar 2013 13:44:06 +0000 (13:44 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Mar 2013 13:44:06 +0000 (13:44 +0000)
PWGCF/Correlations/DPhi/MuonHadron/AddAnalysisTaskDiMuonCorrelations.C
PWGCF/Correlations/DPhi/MuonHadron/AliAnalysisTaskDiMuonCorrelations.cxx
PWGCF/Correlations/DPhi/MuonHadron/AliAnalysisTaskDiMuonCorrelations.h

index bf66008..8239bb4 100644 (file)
@@ -8,7 +8,8 @@ AliAnalysisTaskDiMuonCorrelations *AddAnalysisTaskDiMuonCorrelations(const char
 
   AliAnalysisTaskDiMuonCorrelations *task = new AliAnalysisTaskDiMuonCorrelations(Form("AliAnalysisTaskDiMuonCorrelations_%s",centMethod));
 
-  // Set analysis cuts   
+  // Set analysis cuts  
+  task->SetLikeSign(kTRUE);
   task->SetEtaRangeMuon(-4.0, -2.5);
   task->SetTriggerMatchLevelMuon(1);
 
index 832ce2d..3681799 100644 (file)
@@ -21,6 +21,7 @@ AliAnalysisTaskDiMuonCorrelations::AliAnalysisTaskDiMuonCorrelations() :
   AliAnalysisTaskSE(), 
   fAOD(0x0),
   fPoolMgr(0x0),
+  fLikeSign(kTRUE),
   fMaxChi2Muon(5.), 
   fMinEtaMuon(-4.0), 
   fMaxEtaMuon(-2.5),
@@ -71,6 +72,7 @@ AliAnalysisTaskDiMuonCorrelations::AliAnalysisTaskDiMuonCorrelations(const char
   AliAnalysisTaskSE(name), 
   fAOD(0x0),
   fPoolMgr(0x0),
+  fLikeSign(kTRUE),
   fMaxChi2Muon(5.), 
   fMinEtaMuon(-4.0), 
   fMaxEtaMuon(-2.5),
index 2b8bb3c..6275390 100644 (file)
@@ -30,6 +30,7 @@ class  AliAnalysisTaskDiMuonCorrelations : public AliAnalysisTaskSE {
 
   // ------------- Cuts -----------------
 
+  void SetLikeSign(Bool_t likeSign) { fLikeSign = likeSign; }
   void SetTriggerMatchLevelMuon(Short_t level) { fTriggerMatchLevelMuon = level; }
   //  void SetMaxChi2Muon(Double_t chi2Max) { fMaxChi2Muon = chi2Max; }
   void SetEtaRangeMuon (Double_t etaMin, Double_t etaMax) { fMinEtaMuon = etaMin; fMaxEtaMuon = etaMax; }
@@ -56,6 +57,8 @@ class  AliAnalysisTaskDiMuonCorrelations : public AliAnalysisTaskSE {
   AliAODEvent *fAOD; //!
   AliEventPoolManager *fPoolMgr; //! event pool manager
   AliAODTrack *fMuonTrack[2]; //!
+
+  Bool_t fLikeSign;
   
   Double_t fMaxChi2Muon, fMinEtaMuon, fMaxEtaMuon;
   Short_t fTriggerMatchLevelMuon;