1 #ifndef MCPARTICLECREATOR_H 2 #define MCPARTICLECREATOR_H 1 11 #include "Api/PandoraApi.h" 20 namespace gar_pandora {
107 #endif // #ifndef MCPARTICLECREATOR_H
std::string m_geantModuleLabel
The geant4 label.
pandora::StatusCode CollectMCParticles(const art::Event &pEvent, const std::string &label, MCParticleVector &particleVector)
std::vector< art::Ptr< gar::rec::CaloHit > > CalorimeterHitVector
const RotationTransformation & m_rotation
std::string m_generatorModuleLabel
The generator label.
float m_bField
The bfield.
MCParticleVector artMCParticleVector
const pandora::Pandora & m_pandora
Reference to the pandora object to create the mc particles.
static const simb::MCParticle * GetFinalStateMCParticle(const MCParticleMap &particleMap, const simb::MCParticle *inputParticle)
Description of geometry of one entire detector.
std::vector< art::Ptr< simb::MCParticle > > MCParticleVector
const geo::GeometryCore * fGeo
MCTruthToMCParticles artMCTruthToMCParticles
bool operator<(ProductInfo const &a, ProductInfo const &b)
MCParticleCreator(const Settings &settings, const pandora::Pandora *const pPandora, const RotationTransformation *const pRotation)
std::vector< simb::MCParticle > RawMCParticleVector
MCParticlesToMCTruth artMCParticlesToMCTruth
pandora::StatusCode CreateCaloHitToMCParticleRelationships(const CalorimeterHitVector &calorimeterHitVector) const
pandora::StatusCode CollectGeneratorMCParticles(const art::Event &pEvent, const std::string &label, RawMCParticleVector &particleVector)
std::map< int, art::Ptr< simb::MCParticle > > MCParticleMap
std::map< art::Ptr< simb::MCParticle >, art::Ptr< simb::MCTruth > > MCParticlesToMCTruth
General GArSoft Utilities.
pandora::StatusCode CreateTrackToMCParticleRelationships(const TrackVector &trackVector) const
std::map< art::Ptr< simb::MCTruth >, MCParticleVector > MCTruthToMCParticles
std::vector< art::Ptr< gar::rec::Track > > TrackVector
RawMCParticleVector generatorArtMCParticleVector
pandora::StatusCode CreateMCParticles() const
const Settings m_settings
The mc particle creator settings.
art framework interface to geometry description
std::vector< art::Ptr< simb::MCTruth > > MCTruthVector
static bool IsVisible(const art::Ptr< simb::MCParticle > particle)