From bc0379e53cf2a5d420d9a508db96dcfb1113210b Mon Sep 17 00:00:00 2001 From: belikov Date: Wed, 11 Mar 2009 15:00:32 +0000 Subject: [PATCH] Adding a virtual getter for the number of cascades (A. Maire) --- STEER/AliMCEvent.h | 1 + STEER/AliVEvent.h | 1 + 2 files changed, 2 insertions(+) diff --git a/STEER/AliMCEvent.h b/STEER/AliMCEvent.h index 6534b5826a7..6660692498d 100644 --- a/STEER/AliMCEvent.h +++ b/STEER/AliMCEvent.h @@ -89,6 +89,7 @@ public: virtual AliMCParticle *GetTrack(Int_t i) const; virtual Int_t GetNumberOfTracks() const {return fNparticles;} virtual Int_t GetNumberOfV0s() const {return -1;} + virtual Int_t GetNumberOfCascades() const {return -1;} // // MC Specific methods diff --git a/STEER/AliVEvent.h b/STEER/AliVEvent.h index 1ba6ca76bf5..966337c08a3 100644 --- a/STEER/AliVEvent.h +++ b/STEER/AliVEvent.h @@ -87,6 +87,7 @@ public: //virtual Int_t AddTrack(const AliVParticle *t) = 0; virtual Int_t GetNumberOfTracks() const = 0; virtual Int_t GetNumberOfV0s() const = 0; + virtual Int_t GetNumberOfCascades() const = 0; // Primary vertex virtual const AliVVertex *GetPrimaryVertex() const {return 0x0;} -- 2.43.0