Implementation of IRecoParticleFactory that implements the default behaviour as described in SimpleFastMCProcessor, i.e. More...
#include <SimpleParticleFactory.h>
Public Member Functions | |
| virtual | ~SimpleParticleFactory () |
| Virtual d'tor. More... | |
|
virtual lcio::ReconstructedParticle * | createReconstructedParticle (const lcio::MCParticle *mcp) |
| The actual factory method that creates a new ReconstructedParticle. | |
| virtual void | registerIFourVectorSmearer (IFourVectorSmearer *sm, FastMCParticleType type) |
| Register a particle four vector smearer for the given type. | |
| virtual FastMCParticleType | getParticleType (const lcio::MCParticle *mcp) |
| Returns the type of the MCParticle. | |
| virtual void | setMomentumCut (double mCut) |
| Helper function to determine the charge from the PDG (charge is missing from stdhep files) More... | |
Public Member Functions inherited from marlin::IRecoParticleFactory | |
| virtual | ~IRecoParticleFactory () |
| Virtual d'tor. More... | |
Protected Attributes | |
| std::vector< IFourVectorSmearer * > | _smearingVec |
| double | _momentumCut |
Implementation of IRecoParticleFactory that implements the default behaviour as described in SimpleFastMCProcessor, i.e.
have polar angle ranges with different resolutions for charged tracks, photons and neutral hadrons.
|
inlinevirtual |
Virtual d'tor.
|
virtual |
Helper function to determine the charge from the PDG (charge is missing from stdhep files)
Set the momentum cut in GeV - no particles are produced for ower momenta. Default is 0.1 eV.
Referenced by marlin::SimpleFastMCProcessor::init().
1.8.5