Bug fix for generateSignal case
authordgangadh <dgangadh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Apr 2013 08:53:06 +0000 (08:53 +0000)
committerdgangadh <dgangadh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Apr 2013 08:53:06 +0000 (08:53 +0000)
PWGCF/FEMTOSCOPY/Chaoticity/AliChaoticity.cxx

index a690f4f..0dcc21f 100644 (file)
@@ -2195,10 +2195,11 @@ void AliChaoticity::Exec(Option_t *)
                Charge1[bin1].Charge2[bin2].SC[fillIndex2].MB[fMbin].EDB[fEDbin].TwoPT[1].fSmeared->Fill(denIndex, qinv12);
              }
            }
-           if(qinv12 > fQcut[qCutBin]) continue;
+           
            
            /////////////////////////////////////////////////////
-           if(!fTabulatePairs) {
+           if(!fTabulatePairs && qinv12 <= fQcut[qCutBin]) {// 3-particle MRC
+             
              // 3-particle MRC
              Short_t fillIndex3 = 0;
              key1=1; key2=1; key3=1;