EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Factory class for Monte Carlo particles. More...
#include <eic-smear/blob/master/include/eicsmear/erhic/Pythia6ParticleBuilder.h>
Public Member Functions | |
Pythia6ParticleBuilder () | |
std::unique_ptr< ParticleMC > | Create (const TMCParticle &) const |
Factory class for Monte Carlo particles.
Definition at line 24 of file Pythia6ParticleBuilder.h.
View newest version in sPHENIX GitHub at line 24 of file Pythia6ParticleBuilder.h
|
inline |
Default constructor.
Definition at line 29 of file Pythia6ParticleBuilder.h.
View newest version in sPHENIX GitHub at line 29 of file Pythia6ParticleBuilder.h
std::unique_ptr< ParticleMC > erhic::Pythia6ParticleBuilder::Create | ( | const TMCParticle & | mc | ) | const |
Generate a ParticleMC from a ROOT TMCParticle.
Definition at line 22 of file Pythia6ParticleBuilder.cxx.
View newest version in sPHENIX GitHub at line 22 of file Pythia6ParticleBuilder.cxx
References p, particle, and v.
Referenced by erhic::Pythia6EventBuilder::BuildEvent().