macro to extract efficiency: small fix
authorfnoferin@cern.ch <noferini@boalicetof.bo.infn.it>
Fri, 10 Jan 2014 11:46:33 +0000 (12:46 +0100)
committerfnoferin@cern.ch <noferini@boalicetof.bo.infn.it>
Fri, 10 Jan 2014 11:46:33 +0000 (12:46 +0100)
PWGPP/pid/doeffAllSpecies.C
PWGPP/pid/doeffKa.C
PWGPP/pid/doeffPi.C
PWGPP/pid/doeffPr.C

index 4946626..e2cbe4c 100644 (file)
@@ -137,7 +137,7 @@ performAllPr(){
   rebinsize = 1; // don't change this, not choice here!!!
   kGoodMatch=kFALSE;
   kSigma2vs3 = kFALSE;
-  kSigma2vs3TPC = kFALSE;
+  //kSigma2vs3TPC = kFALSE;
   require5sigma = kFALSE;
   bayesVsigma = kFALSE;
   kTOFmatch = kFALSE;
@@ -175,10 +175,10 @@ performAllPr(){
   kSigma2vs3=kFALSE;
 
   // eff 2 sigma / eff 3 sigma TPC
-  kSigma2vs3TPC=kTRUE;
-  doeffPr(1,0.1,etamin,etamax);
-  doeffPr(0,0.1,etamin,etamax);
-  kSigma2vs3TPC=kFALSE;
+  //kSigma2vs3TPC=kTRUE;
+  //doeffPr(1,0.1,etamin,etamax);
+  //doeffPr(0,0.1,etamin,etamax);
+  //kSigma2vs3TPC=kFALSE;
 
   kOverAll=kTRUE;
   // TPC|TOF overall eff
index 79bda4b..ccee518 100644 (file)
@@ -176,7 +176,7 @@ void doeffKa(Int_t pos,Float_t prob,Float_t etaminkp,Float_t etamaxkp){
   if(prob > 0.1999){
     kGoodMatch = kFALSE;
     kSigma2vs3 = kFALSE;
-    if(! kOverAll) require5sigma = kTRUE;
+//    if(! kOverAll) require5sigma = kTRUE;
     if(!isMC && !kOverAll) weightS = -0.95;
   }
 
index b82b031..a640cd0 100644 (file)
@@ -165,7 +165,7 @@ void doeffPi(Int_t pos,Float_t prob,Float_t etaminkp,Float_t etamaxkp){
   if(prob > 0.1999){
     kGoodMatch = kFALSE;
     kSigma2vs3 = kFALSE;
-    if(! kOverAll) require5sigma = kTRUE;
+//    if(! kOverAll) require5sigma = kTRUE;
     if(!isMC) weightS = -0.95;
   }
 
index 1ad2d72..2797f5d 100644 (file)
@@ -165,7 +165,7 @@ void doeffPr(Int_t pos,Float_t prob,Float_t etaminkp,Float_t etamaxkp){
   if(prob > 0.1999){
     kGoodMatch = kFALSE;
     kSigma2vs3 = kFALSE;
-    if(! kOverAll) require5sigma = kTRUE;
+//    if(! kOverAll) require5sigma = kTRUE;
     if(!isMC) weightS = -0.95;
   }