Coverity fix: 8443 - sjena
authorsjena <sjena@cern.ch>
Tue, 9 Dec 2014 12:55:43 +0000 (13:55 +0100)
committersjena <sjena@cern.ch>
Tue, 9 Dec 2014 12:55:43 +0000 (13:55 +0100)
PWGCF/Correlations/DPhi/TriggerPID/AliTwoParticlePIDCorrKine.cxx
PWGCF/Correlations/DPhi/TriggerPID/AliTwoParticlePIDCorrKine.h
PWGCF/EBYE/PIDFluctuation/task/AliEbyEPidRatioTaskOnFly.cxx

index 3aa6284..25d229c 100644 (file)
@@ -139,7 +139,7 @@ fHistEventsProcessed->Fill(1.0);
 
   Double_t gImpactParameter = 0.;
   //Double_t  gMultiplicity = 0.;
-  Double_t gReactionPlane=0.0;
+  //Double_t gReactionPlane=0.0;
   //Double_t gCentrality=0.0;
 
  AliMCEvent *gMCEvent = dynamic_cast<AliMCEvent*>(fEvent);
@@ -148,7 +148,7 @@ AliCollisionGeometry* headerH = dynamic_cast<AliCollisionGeometry*>(gMCEvent->Ge
     if(headerH){
       gImpactParameter = headerH->ImpactParameter();
       //gMultiplicity =    GenMultiplicity(event); //calculate the multiplicity depending on the choice of centrality estimator                                           
-      gReactionPlane=     headerH->ReactionPlaneAngle();
+      // gReactionPlane=     headerH->ReactionPlaneAngle();
      // gCentrality = (CentralityFrom =="Multiplicity") ? gImpactParameter :gMultiplicity;
     }
 }
index bcb2884..b8baa9a 100644 (file)
@@ -53,6 +53,9 @@ Double_t fZvtxLim;
 TString fCentralityFrom;
 TString fCentralityEstimator;
        
+    AliTwoParticlePIDCorrKine(const AliTwoParticlePIDCorrKine&); // not implemented
+    AliTwoParticlePIDCorrKine& operator=(const AliTwoParticlePIDCorrKine&); // not implemented
+
   ClassDef(AliTwoParticlePIDCorrKine,1)
     
 };
index 5d7c708..8725131 100644 (file)
@@ -56,6 +56,7 @@ AliEbyEPidRatioTaskOnFly::AliEbyEPidRatioTaskOnFly( const char *name )
   fPtHigherLimit(5.),
   fEtaLowerLimit(-1.),
   fEtaHigherLimit(1.),
+  fCentrality(-1),
   fOrder(8),
   fRedFactp(NULL)