Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-16 09:02:05

0001 /**
0002  \file
0003  Declaration of class erhic::Pythia6ParticleBuilder.
0004  
0005  \author    Thomas Burton
0006  \date      2012-01-17
0007  \copyright 2012 Brookhaven National Lab
0008  */
0009 
0010 #ifndef INCLUDE_EICSMEAR_ERHIC_PYTHIA6PARTICLEBUILDER_H_
0011 #define INCLUDE_EICSMEAR_ERHIC_PYTHIA6PARTICLEBUILDER_H_
0012 
0013 #include <memory>
0014 
0015 class TMCParticle;
0016 
0017 namespace erhic {
0018 
0019 class ParticleMC;
0020 
0021 /**
0022  \brief Factory class for Monte Carlo particles.
0023  */
0024 class Pythia6ParticleBuilder {
0025  public:
0026   /**
0027    Default constructor.
0028    */
0029   Pythia6ParticleBuilder() { }
0030 
0031   /**
0032    Generate a ParticleMC from a ROOT TMCParticle.
0033    */
0034   std::unique_ptr<ParticleMC> Create(const TMCParticle&) const;
0035 };
0036 
0037 }  // namespace erhic
0038 
0039 #endif  // INCLUDE_EICSMEAR_ERHIC_PYTHIA6PARTICLEBUILDER_H_