]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/hfe/AliHFEpidQA.cxx
Update (Renu)
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpidQA.cxx
index b51621d75b3b2f73729440cba427ed69bf3d1cf5..cc96eaf28a8719fb07b20ee5814f837583fa5b7d 100644 (file)
@@ -12,9 +12,6 @@
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
-/* $Id$ */
-
 //
 // Class for PID QA
 // Several studies done on clean samples of electrons, pions and kaons
@@ -412,7 +409,7 @@ void AliHFEpidQA::FillIllumination(const TObjArray * const tracks, Int_t species
       if(!esdtrack) continue;
     } else if(!TString(o->IsA()->GetName()).CompareTo("AliAODrack")){
       // Bad hack: Fill ESD track with AOD information
-      esdtrack = new AliESDtrack(dynamic_cast<AliAODTrack *>(o));
+      esdtrack = new AliESDtrack(static_cast<AliAODTrack *>(o));
       if(!esdtrack) continue;
     } else {
       // Non usable