]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity
authorrbailhac <Raphaelle.Bailhache@cern.ch>
Tue, 4 Feb 2014 12:42:27 +0000 (13:42 +0100)
committerrbailhac <Raphaelle.Bailhache@cern.ch>
Tue, 4 Feb 2014 12:42:27 +0000 (13:42 +0100)
PWGHF/hfe/AliAnalysisTaskFlowITSTPCTOFQCSP.h
PWGHF/hfe/AliAnalysisTaskFlowTPCEMCalQCSP.h
PWGHF/hfe/AliHFEpidQA.cxx

index bb793b79f540ce13a5ed3b8fb6c5319e202c858b..6a3a07c7a9684d9f363b979f5e81e7ad8b11b610 100755 (executable)
@@ -90,7 +90,7 @@ private:
     AliHFEpidQAmanager   *fPIDqa; //! PID QA manager
     AliFlowTrackCuts     *fCutsRP; // track cuts for reference particles
     AliFlowTrackCuts     *fNullCuts; // dummy cuts for flow event tracks
-    AliFlowEvent         *fFlowEvent; // flow events Inclusive e
+    AliFlowEvent         *fFlowEvent; //! flow events Inclusive e
     const char           *fkCentralityMethod; // method used to determine centrality (V0 by default)
     Double_t             fCentrality; // event centrality for QA
     Double_t             fCentralityMin; // lower bound of cenrality bin
index 80da9bd483c255dc50c785d088e86ba805bc01fe..55f015ee6062fb25fcb3df7f91dc8e5c67e5346a 100644 (file)
@@ -98,7 +98,7 @@ private:
     AliHFEpidQAmanager   *fPIDqa;               //! PID QA manager
     AliFlowTrackCuts     *fCutsRP; // track cuts for reference particles
     AliFlowTrackCuts     *fNullCuts; // dummy cuts for flow event tracks
-    AliFlowEvent         *fFlowEvent; // flow events Inclusive e
+    AliFlowEvent         *fFlowEvent; //! flow events Inclusive e
     const char           *fkCentralityMethod; // method used to determine centrality (V0 by default)
     Double_t             fCentrality; // event centrality for QA
     Double_t             fCentralityMin; // lower bound of cenrality bin
index f1f823440beaadae43c98daa6ec1ffb831e81752..f1bc16b7a2c85ce1127842fde637c7d934d822c0 100644 (file)
@@ -923,7 +923,7 @@ void AliHFEpidQA::FillPIDresponse(const TObjArray * const particles, Int_t speci
        
        // time of flight QA
        // - distribution of (time - t0 - pion_time)
-       Double_t times[5];
+       Double_t times[AliPID::kSPECIESC];
        esdTrack->GetIntegratedTimes(times);
        Double_t tItrackL = esdTrack->GetIntegratedLength();
        Double_t tTOFsignal = esdTrack->GetTOFsignal();