/*
$Log$
+Revision 1.1 2001/07/13 10:56:00 morsch
+AliGenMC base class for AliGenParam and AliGenPythia commonalities.
+
*/
#include "AliGenMC.h"
SetChildPhiRange();
SetChildThetaRange();
SetChildYRange();
+ SetCutVertexZ();
//
fParentSelect.Set(8);
fChildSelect.Set(8);
for (Int_t i=0; i<8; i++) fParentSelect[i]=fChildSelect[i]=0;
+
}
AliGenMC::AliGenMC(const AliGenMC & mc)
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
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
};