]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/hfe/AliHFEpriVtx.cxx
Cleanup the code. Fix memory leak. Now inherit from AliAnalysisTaskSE (Antoine, Phili...
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpriVtx.cxx
index d416cb1d8207d81a5c7b661738c1bf81d924a78c..88992b5b08e78ad6bf0b03cbb940430e50d8a565 100644 (file)
@@ -12,6 +12,9 @@
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
+
+/* $Id$ */
+
 //
 // QA class of primary vertex study for Heavy Flavor electrons
 // this has functionality to reject electrons from primary vertex
@@ -195,7 +198,7 @@ void AliHFEpriVtx::FillNtracks()
 }
 
 //_______________________________________________________________________________________________
-Int_t AliHFEpriVtx::GetMCPID(AliESDtrack *track) 
+Int_t AliHFEpriVtx::GetMCPID(AliESDtrack const *track)
 {
         //
         // get MC pid
@@ -340,7 +343,7 @@ Double_t AliHFEpriVtx::GetDistanceFromRecalVertexXY(AliESDtrack * const ESDelect
 
 }
 
-void AliHFEpriVtx::RecalcPrimvtx(Int_t nkftrk, Int_t * const trkid, AliKFParticle * const kftrk)
+void AliHFEpriVtx::RecalcPrimvtx(Int_t nkftrk, const Int_t * const trkid, const AliKFParticle * const kftrk)
 {
         //
         // recalculate primary vertex after removing the input track