commented out unused variables
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Mar 2009 16:06:30 +0000 (16:06 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Mar 2009 16:06:30 +0000 (16:06 +0000)
PWG2/FLOW/AliFlowCommon/AliFlowAnalysisWithScalarProduct.cxx

index c4d94b1..9ed3e6f 100644 (file)
@@ -224,7 +224,7 @@ void AliFlowAnalysisWithScalarProduct::Finish() {
   Double_t dMmin1 = fHistProM->GetBinContent(1);  //average over M-1
   Double_t dMaMb  = fHistProM->GetBinContent(2);  //average over Ma*Mb
   Double_t dQaQbAv  = fHistProQaQb->GetBinContent(1); //average over events
-  Double_t dQaQbErr = fHistProQaQb->GetBinError(1);
+  //  Double_t dQaQbErr = fHistProQaQb->GetBinError(1);
   if (dQaQbAv <= 0.){
     //set v to -0
     fCommonHistsRes->FillIntegratedFlowRP(-0.,0.);
@@ -236,9 +236,9 @@ void AliFlowAnalysisWithScalarProduct::Finish() {
     Double_t dQaQbSqrt = TMath::Sqrt(dQaQbAv);
     if (dMaMb>0.) { dQaQbSqrt *= dMmin1/(TMath::Sqrt(dMaMb)); }
     else { dQaQbSqrt = 0.; }
-    Double_t dQaQbSqrtErr = (dQaQbSqrt/2)*(dQaQbErr/dQaQbAv);
+    //    Double_t dQaQbSqrtErr = (dQaQbSqrt/2)*(dQaQbErr/dQaQbAv);
     Double_t dQaQbSqrtErrRel = 0.;
-    if (dQaQbSqrt!=0.) {dQaQbSqrtErr/dQaQbSqrt; }
+    //  if (dQaQbSqrt!=0.) {dQaQbSqrtErr/dQaQbSqrt; }
     Double_t dQaQbSqrtErrRel2 = dQaQbSqrtErrRel*dQaQbSqrtErrRel;
 
     //v as a function of eta for RP selection