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 bf660082a15686b4933068b6d3629fae4e239c9c..8239bb4c414cca9d9d9d12e57be9bd9dd54bf1f3 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 832ce2d615454f39b28b9595c3eed0de3d616e68..3681799df881b6f6447fdeb27e6ef7e73a509656 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 2b8bb3cfab20e905788f861f2d24f9d2c24d66c3..6275390deec16136b941730b7187e542d7f9ee35 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;