16 #ifndef MCTRUTHEVENTACTION_SERVICE_HH
17 #define MCTRUTHEVENTACTION_SERVICE_HH
19 #include "artg4tk/actionBase/PrimaryGeneratorActionBase.hh"
21 #include "nusimdata/SimulationBase/MCTruth.h"
23 #include "art/Framework/Principal/Handle.h"
24 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
30 #include "Geant4/G4Types.hh"
33 class G4ParticleTable;
58 std::vector<art::Handle<std::vector<simb::MCTruth>>>
const*
68 #endif // MCTRUTHEVENTACTION_SERVICE_HH
~MCTruthEventActionService()
static G4ParticleTable * fParticleTable
Geant4's table of particle definitions.
std::vector< art::Handle< std::vector< simb::MCTruth > > > const * fMCLists
MCTruthCollection input lists.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void setInputCollections(std::vector< art::Handle< std::vector< simb::MCTruth >>> const &mclists)
void generatePrimaries(G4Event *anEvent) override
std::map< G4int, G4int > fProcessedPDG
PDG codes processed.
std::map< G4int, G4int > fNon1StatusPDG
PDG codes skipped because not status 1.
std::map< G4int, G4int > fUnknownPDG
map of unknown PDG codes to instances
MCTruthEventActionService(fhicl::ParameterSet const &)