Bug fix (correction to last commit) (Sandro)
authorarossi <andrea.rossi@cern.ch>
Tue, 7 Oct 2014 15:30:12 +0000 (17:30 +0200)
committerarossi <andrea.rossi@cern.ch>
Tue, 7 Oct 2014 15:30:12 +0000 (17:30 +0200)
PWGHF/correlationHF/AliAnalysisTaskDStarCorrelations.cxx

index cfd99b9..ad7530d 100644 (file)
@@ -636,7 +636,7 @@ void AliAnalysisTaskDStarCorrelations::UserExec(Option_t *){
                     
                     // count D* sideband candidates
                     if(fBkgMethod == kDStarSB ){
-                        if((deltainvMDStar-(mPDGDstar-mPDGD0))>0.1473 && (deltainvMDStar-(mPDGDstar-mPDGD0))<0.1644){
+                         if(deltainvMDStar>0.1473 && deltainvMDStar<0.1644){
                        // if ((deltainvMDStar-(mPDGDstar-mPDGD0))>fDMesonSigmas[2]*dmDStarWindow && (deltainvMDStar-(mPDGDstar-mPDGD0))<fDMesonSigmas[3]*dmDStarWindow ){
                             ((TH1F*)fDmesonOutput->FindObject("RecoPtBkg"))->Fill(ptDStar,DmesonWeight); // fill pt
                             if(!fmixing)       ((TH2F*)fDmesonOutput->FindObject("PhiSidebandDStar"))->Fill(phiDStar,ptDStar); // fill phi, eta