![]() |
AliRoot Core
ee782a0 (ee782a0)
|
#include <AliGenerator.h>
Public Member Functions | |
AliGenerator () | |
AliGenerator (Int_t npart) | |
virtual | ~AliGenerator () |
virtual void | Init () |
virtual void | SetOrigin (Float_t ox, Float_t oy, Float_t oz) |
virtual void | SetOrigin (const TLorentzVector &o) |
virtual void | SetSigma (Float_t sx, Float_t sy, Float_t sz) |
virtual void | SetSigmaZ (Float_t sz) |
virtual void | SetMomentumRange (Float_t pmin=0, Float_t pmax=1.e10) |
virtual void | SetPtRange (Float_t ptmin=0, Float_t ptmax=1.e10) |
virtual void | SetPhiRange (Float_t phimin=0., Float_t phimax=360.) |
virtual void | SetYRange (Float_t ymin=-100, Float_t ymax=100) |
virtual void | SetVRange (Float_t vxmin, Float_t vxmax, Float_t vymin, Float_t vymax, Float_t vzmin, Float_t vzmax) |
virtual void | SetNumberParticles (Int_t npart=100) |
virtual Int_t | NumberParticles () const |
virtual void | SetThetaRange (Float_t thetamin=0, Float_t thetamax=180) |
virtual void | GenerateN (Int_t ntimes) |
virtual void | Generate ()=0 |
virtual void | SetParentWeight (Float_t wgt) |
virtual void | SetChildWeight (Float_t wgt) |
virtual void | SetAnalog (Int_t flag=1) |
virtual void | SetVertexSmear (VertexSmear_t smear) |
virtual void | SetCutVertexZ (Float_t cut=999999.) |
virtual void | SetVertexSource (VertexSource_t source=kInternal) |
virtual void | SetVertex (Float_t vx, Float_t vy, Float_t vz, Float_t t=0) |
void | SetVertexGenerator (AliVertexGenerator *vertexGenerator) |
AliVertexGenerator * | GetVertexGenerator () const |
void | SetPileUpTimeWindow (Float_t pileUpTimeW) |
virtual void | SetTime (Float_t time) |
virtual void | SetTimeOrigin (Float_t timeorig) |
virtual void | SetTrackingFlag (Int_t flag=1) |
void | Vertex () |
void | VertexExternal () |
virtual void | VertexInternal () |
virtual void | FinishRun () |
virtual void | SetMC (TGenerator *theMC) |
virtual TGenerator * | GetMC () const |
virtual void | AddHeader (AliGenEventHeader *) |
virtual void | SetContainer (AliGenerator *container) |
virtual void | SetEventPlane (Float_t evPlane) |
virtual void | GetOrigin (Float_t &ox, Float_t &oy, Float_t &oz) const |
virtual void | GetOrigin (TLorentzVector &o) const |
void | SetStack (AliStack *stack) |
AliStack * | GetStack () |
virtual Bool_t | ProvidesCollisionGeometry () const |
virtual Bool_t | NeedsCollisionGeometry () const |
virtual AliCollisionGeometry * | CollisionGeometry () const |
virtual void | SetCollisionGeometry (AliCollisionGeometry *geom) |
virtual Float_t | GetEnergyCMS () const |
virtual void | SetEnergyCMS (Float_t energy=0) |
virtual void | GetProjectile (TString &tar, Int_t &a, Int_t &z) const |
virtual void | GetTarget (TString &tar, Int_t &a, Int_t &z) const |
virtual void | SetProjectile (TString proj="", Int_t a=0, Int_t z=0) |
virtual void | SetTarget (TString tar="", Int_t a=0, Int_t z=0) |
virtual void | SetSeed (UInt_t seed) |
![]() | |
AliRndm () | |
AliRndm (const AliRndm &rn) | |
virtual | ~AliRndm () |
AliRndm & | operator= (const AliRndm &rn) |
virtual void | SetRandom (TRandom *ran=0) |
virtual TRandom * | GetRandom () const |
virtual void | Rndm (Float_t *array, Int_t size) const |
virtual Float_t | Rndm () const |
virtual void | WriteRandom (const char *filename) const |
virtual void | ReadRandom (const char *filename) |
Protected Types | |
enum | { kThetaRange = BIT(14), kVertexRange = BIT(15), kPhiRange = BIT(16), kPtRange = BIT(17), kYRange = BIT(18), kMomentumRange = BIT(19), kEtaRange = BIT(20) } |
Collision geometry. More... | |
Protected Member Functions | |
virtual void | PushTrack (Int_t done, Int_t parent, Int_t pdg, Float_t *pmom, Float_t *vpos, Float_t *polar, Float_t tof, TMCProcess mech, Int_t &ntr, Float_t weight=1, Int_t is=0) |
virtual void | PushTrack (Int_t done, Int_t parent, Int_t pdg, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t tof, Double_t polx, Double_t poly, Double_t polz, TMCProcess mech, Int_t &ntr, Float_t weight=1, Int_t is=0) |
virtual void | KeepTrack (Int_t itrack) |
virtual void | SetHighWaterMark (Int_t nt) |
Protected Attributes | |
TGenerator * | fMCEvGen |
Float_t | fThetaMin |
Pointer to the generator. More... | |
Float_t | fThetaMax |
Float_t | fPhiMin |
Float_t | fPhiMax |
Float_t | fPMin |
Float_t | fPMax |
Float_t | fPtMin |
Float_t | fPtMax |
Float_t | fYMin |
Float_t | fYMax |
TArrayF | fVMin |
TArrayF | fVMax |
Int_t | fNpart |
Float_t | fParentWeight |
Float_t | fChildWeight |
Int_t | fAnalog |
VertexSmear_t | fVertexSmear |
VertexSource_t | fVertexSource |
Float_t | fCutVertexZ |
Float_t | fPileUpTimeWindow |
Int_t | fTrackIt |
AliVertexGenerator * | fVertexGenerator |
TArrayF | fOrigin |
Generator for the vertex. More... | |
TArrayF | fOsigma |
TArrayF | fVertex |
Float_t | fTimeOrigin |
Vertex of current event. More... | |
Float_t | fTime |
Float_t | fEvPlane |
AliStack * | fStack |
AliGenerator * | fContainer |
Local pointer to stack. More... | |
AliCollisionGeometry * | fCollisionGeometry |
Local pointer to container. More... | |
Float_t | fEnergyCMS |
Int_t | fAProjectile |
Int_t | fZProjectile |
Int_t | fATarget |
Int_t | fZTarget |
TString | fProjectile |
TString | fTarget |
![]() | |
TRandom * | fRandom |
Private Member Functions | |
AliGenerator (const AliGenerator &gen) | |
AliGenerator & | operator= (const AliGenerator &gen) |
Definition at line 33 of file AliGenerator.h.
|
protected |
Collision geometry.
Enumerator | |
---|---|
kThetaRange | |
kVertexRange | |
kPhiRange | |
kPtRange | |
kYRange | |
kMomentumRange | |
kEtaRange |
Definition at line 165 of file AliGenerator.h.
AliGenerator::AliGenerator | ( | ) |
Definition at line 53 of file AliGenerator.cxx.
AliGenerator::AliGenerator | ( | Int_t | npart | ) |
Definition at line 124 of file AliGenerator.cxx.
|
virtual |
Definition at line 197 of file AliGenerator.cxx.
|
private |
|
inlinevirtual |
Definition at line 82 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate().
|
inlinevirtual |
Definition at line 98 of file AliGenerator.h.
|
virtual |
Definition at line 457 of file AliGenerator.cxx.
Referenced by fastMUONGen(), AliMC::FinishRun(), gen(), AliSimulation::RunGeneratorOnly(), and SetTrackingFlag().
|
pure virtual |
Implemented in AliLegoGenerator, AliLegoGeneratorXYZ, AliGenParamPionsKaons, AliLegoGeneratorEta, AliLegoGeneratorEtaR, and AliLegoGeneratorPhiZ.
Referenced by AliMCGenHandler::BeginEvent(), fastMUONGen(), gen(), GenerateN(), AliMC::GeneratePrimaries(), NumberParticles(), and AliSimulation::RunGeneratorOnly().
|
virtual |
Definition at line 219 of file AliGenerator.cxx.
Referenced by NumberParticles().
|
inlinevirtual |
Definition at line 101 of file AliGenerator.h.
Referenced by AliSimulation::WriteGRPEntry().
|
inlinevirtual |
Definition at line 81 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 88 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 90 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 103 of file AliGenerator.h.
Referenced by AliSimulation::WriteGRPEntry().
|
inline |
Definition at line 94 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 105 of file AliGenerator.h.
Referenced by AliSimulation::WriteGRPEntry().
|
inline |
Definition at line 68 of file AliGenerator.h.
Referenced by AliSimulation::GenerateTimeStamp().
|
virtual |
Reimplemented in AliGenParamPionsKaons.
Definition at line 211 of file AliGenerator.cxx.
Referenced by Config(), fastMUONGen(), genConfig(), AliMCGenHandler::Init(), and AliSimulation::RunGeneratorOnly().
|
protectedvirtual |
Definition at line 433 of file AliGenerator.cxx.
Referenced by SetTarget().
|
inlinevirtual |
Definition at line 97 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 54 of file AliGenerator.h.
|
private |
|
inlinevirtual |
Definition at line 96 of file AliGenerator.h.
|
protectedvirtual |
Definition at line 395 of file AliGenerator.cxx.
Referenced by AliGenParamPionsKaons::Generate(), and SetTarget().
|
protectedvirtual |
Definition at line 413 of file AliGenerator.cxx.
|
inlinevirtual |
Definition at line 60 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 59 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 99 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 83 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 62 of file AliGenerator.h.
Referenced by AliGenerator(), and Config().
|
inlinevirtual |
Definition at line 102 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 84 of file AliGenerator.h.
|
protectedvirtual |
Definition at line 446 of file AliGenerator.cxx.
Referenced by SetTarget().
|
inlinevirtual |
Definition at line 80 of file AliGenerator.h.
|
virtual |
Definition at line 266 of file AliGenerator.cxx.
Referenced by AliGenerator(), and SetSigmaZ().
|
inlinevirtual |
Definition at line 53 of file AliGenerator.h.
Referenced by AliGenerator().
|
virtual |
Definition at line 233 of file AliGenerator.cxx.
Referenced by Config(), genConfig(), and AliSimulation::RunSimulation().
|
virtual |
Definition at line 244 of file AliGenerator.cxx.
|
inlinevirtual |
Definition at line 58 of file AliGenerator.h.
|
virtual |
Definition at line 288 of file AliGenerator.cxx.
Referenced by AliGenerator(), and SetSigmaZ().
|
inline |
Definition at line 69 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 107 of file AliGenerator.h.
|
virtual |
Definition at line 277 of file AliGenerator.cxx.
Referenced by AliGenerator(), and SetSigmaZ().
|
virtual |
Definition at line 463 of file AliGenerator.cxx.
Referenced by AliMCGenHandler::Init(), and SetTarget().
|
virtual |
Definition at line 255 of file AliGenerator.cxx.
Referenced by Config(), and AliSimulation::RunSimulation().
|
inlinevirtual |
Definition at line 45 of file AliGenerator.h.
Referenced by AliSimulation::RunSimulation().
|
inline |
Definition at line 93 of file AliGenerator.h.
Referenced by fastMUONGen(), AliMCGenHandler::Init(), and AliSimulation::RunGeneratorOnly().
|
inlinevirtual |
Definition at line 109 of file AliGenerator.h.
|
virtual |
Definition at line 323 of file AliGenerator.cxx.
Referenced by AliGenerator(), and NumberParticles().
|
inlinevirtual |
Definition at line 70 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 72 of file AliGenerator.h.
|
inlinevirtual |
Definition at line 75 of file AliGenerator.h.
Referenced by AliGenerator(), Config(), genConfig(), and AliSimulation::RunSimulation().
|
inlinevirtual |
Definition at line 64 of file AliGenerator.h.
|
inline |
Definition at line 66 of file AliGenerator.h.
Referenced by AliSimulation::RunSimulation().
|
inlinevirtual |
Definition at line 61 of file AliGenerator.h.
Referenced by Config().
|
inlinevirtual |
Definition at line 63 of file AliGenerator.h.
|
virtual |
Definition at line 310 of file AliGenerator.cxx.
Referenced by SetSigmaZ().
|
virtual |
Definition at line 299 of file AliGenerator.cxx.
Referenced by AliGenerator(), and SetSigmaZ().
void AliGenerator::Vertex | ( | ) |
Definition at line 333 of file AliGenerator.cxx.
Referenced by AliGenParamPionsKaons::Generate(), and SetTrackingFlag().
void AliGenerator::VertexExternal | ( | ) |
Definition at line 348 of file AliGenerator.cxx.
Referenced by SetTrackingFlag(), and Vertex().
|
virtual |
Definition at line 361 of file AliGenerator.cxx.
Referenced by SetTrackingFlag(), and Vertex().
|
protected |
Definition at line 144 of file AliGenerator.h.
Referenced by SetAnalog().
|
protected |
Definition at line 175 of file AliGenerator.h.
Referenced by GetProjectile(), and SetProjectile().
|
protected |
Definition at line 177 of file AliGenerator.h.
Referenced by GetTarget(), and SetTarget().
|
protected |
Definition at line 143 of file AliGenerator.h.
Referenced by SetChildWeight().
|
protected |
Local pointer to container.
Definition at line 163 of file AliGenerator.h.
Referenced by CollisionGeometry(), and SetCollisionGeometry().
|
protected |
Local pointer to stack.
Definition at line 161 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetContainer().
|
protected |
Definition at line 148 of file AliGenerator.h.
Referenced by SetCutVertexZ(), and VertexInternal().
|
protected |
Definition at line 174 of file AliGenerator.h.
Referenced by GetEnergyCMS(), and SetEnergyCMS().
|
protected |
Definition at line 158 of file AliGenerator.h.
Referenced by SetEventPlane().
|
protected |
Definition at line 128 of file AliGenerator.h.
Referenced by GetMC(), SetMC(), and ~AliGenerator().
|
protected |
Definition at line 141 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), NumberParticles(), and SetNumberParticles().
|
protected |
Generator for the vertex.
Definition at line 152 of file AliGenerator.h.
Referenced by AliGenerator(), AliGenParamPionsKaons::Generate(), GetOrigin(), SetOrigin(), VertexInternal(), and ~AliGenerator().
|
protected |
Definition at line 153 of file AliGenerator.h.
Referenced by AliGenerator(), SetSigma(), SetSigmaZ(), VertexInternal(), and ~AliGenerator().
|
protected |
Definition at line 142 of file AliGenerator.h.
Referenced by SetParentWeight().
|
protected |
Definition at line 132 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetPhiRange().
|
protected |
Definition at line 131 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetPhiRange().
|
protected |
Definition at line 149 of file AliGenerator.h.
Referenced by SetPileUpTimeWindow().
|
protected |
Definition at line 134 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetMomentumRange().
|
protected |
Definition at line 133 of file AliGenerator.h.
Referenced by SetMomentumRange().
|
protected |
Definition at line 179 of file AliGenerator.h.
Referenced by GetProjectile(), and SetProjectile().
|
protected |
Definition at line 136 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetPtRange().
|
protected |
Definition at line 135 of file AliGenerator.h.
Referenced by SetPtRange().
|
protected |
Definition at line 160 of file AliGenerator.h.
Referenced by GetStack(), KeepTrack(), PushTrack(), SetHighWaterMark(), and SetStack().
|
protected |
Definition at line 180 of file AliGenerator.h.
Referenced by GetTarget(), and SetTarget().
|
protected |
Definition at line 130 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetThetaRange().
|
protected |
Pointer to the generator.
Definition at line 129 of file AliGenerator.h.
Referenced by SetThetaRange().
|
protected |
Definition at line 157 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), SetTime(), SetVertex(), VertexExternal(), and VertexInternal().
|
protected |
Vertex of current event.
Definition at line 156 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), SetTimeOrigin(), and VertexInternal().
|
protected |
Definition at line 150 of file AliGenerator.h.
Referenced by SetTrackingFlag().
|
protected |
Definition at line 154 of file AliGenerator.h.
Referenced by AliGenerator(), AliGenParamPionsKaons::Generate(), SetVertex(), VertexExternal(), and VertexInternal().
|
protected |
Definition at line 151 of file AliGenerator.h.
Referenced by GetVertexGenerator(), SetVertexGenerator(), and VertexExternal().
|
protected |
Definition at line 146 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), SetVertexGenerator(), and SetVertexSmear().
|
protected |
Definition at line 147 of file AliGenerator.h.
Referenced by SetVertexGenerator(), SetVertexSource(), and Vertex().
|
protected |
Definition at line 140 of file AliGenerator.h.
Referenced by AliGenerator(), SetVRange(), and VertexInternal().
|
protected |
Definition at line 139 of file AliGenerator.h.
Referenced by AliGenerator(), SetVRange(), and VertexInternal().
|
protected |
Definition at line 138 of file AliGenerator.h.
Referenced by AliGenParamPionsKaons::Generate(), and SetYRange().
|
protected |
Definition at line 137 of file AliGenerator.h.
Referenced by SetYRange().
|
protected |
Definition at line 176 of file AliGenerator.h.
Referenced by GetProjectile(), and SetProjectile().
|
protected |
Definition at line 178 of file AliGenerator.h.
Referenced by GetTarget(), and SetTarget().