From b80a8e412931ddf42b91c6fd7e3617bd3679d1dc Mon Sep 17 00:00:00 2001 From: morsch Date: Tue, 16 Oct 2001 08:48:56 +0000 Subject: [PATCH 1/1] Common vertex related code moved to base class AliGenerator. --- EVGEN/AliGenMC.cxx | 4 +++- EVGEN/AliGenMC.h | 7 +------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/EVGEN/AliGenMC.cxx b/EVGEN/AliGenMC.cxx index a587452625b..35dc31f048a 100644 --- a/EVGEN/AliGenMC.cxx +++ b/EVGEN/AliGenMC.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.2 2001/10/15 08:15:51 morsch +Event vertex and vertex truncation setting moved into AliMC. + Revision 1.1 2001/07/13 10:56:00 morsch AliGenMC base class for AliGenParam and AliGenPythia commonalities. @@ -48,7 +51,6 @@ AliGenMC::AliGenMC(Int_t npart) SetChildPhiRange(); SetChildThetaRange(); SetChildYRange(); - SetCutVertexZ(); // fParentSelect.Set(8); fChildSelect.Set(8); diff --git a/EVGEN/AliGenMC.h b/EVGEN/AliGenMC.h index 9019a35d060..4e85518e98f 100644 --- a/EVGEN/AliGenMC.h +++ b/EVGEN/AliGenMC.h @@ -36,8 +36,6 @@ class AliGenMC : public AliGenerator virtual void SetChildYRange(Float_t ymin = -12, Float_t ymax = 12) {fChildYMin = ymin; fChildYMax = ymax;} - virtual void SetCutVertexZ(Float_t cut=999999.) {fCutVertexZ = cut;} - protected: // check if particle is selected as parent particle @@ -63,10 +61,7 @@ class AliGenMC : public AliGenerator Float_t fChildYMin; // Children minimum y Float_t fChildYMax; // Children maximum y Decay_t fForceDecay; // Decay channel forced - TArrayF fEventVertex; //!The current event vertex - Float_t fCutVertexZ; // Vertex cut in units of sigma_z - - ClassDef(AliGenMC,1) // AliGenerator implementation for generators using MC methods + ClassDef(AliGenMC,2) // AliGenerator implementation for generators using MC methods }; #endif -- 2.39.3