EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
erhic::Pythia6ParticleBuilder Class Reference

Factory class for Monte Carlo particles. More...

#include <eic-smear/blob/master/include/eicsmear/erhic/Pythia6ParticleBuilder.h>

Public Member Functions

 Pythia6ParticleBuilder ()
 
std::unique_ptr< ParticleMCCreate (const TMCParticle &) const
 

Detailed Description

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

Constructor & Destructor Documentation

erhic::Pythia6ParticleBuilder::Pythia6ParticleBuilder ( )
inline

Default constructor.

Definition at line 29 of file Pythia6ParticleBuilder.h.

View newest version in sPHENIX GitHub at line 29 of file Pythia6ParticleBuilder.h

Member Function Documentation

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().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: