16 #ifndef MCTRUTHEVENTACTION_SERVICE_HH 17 #define MCTRUTHEVENTACTION_SERVICE_HH 30 #include "Geant4/G4Types.hh" 33 class G4ParticleTable;
54 void generatePrimaries(G4Event* anEvent)
override;
57 std::vector<art::Handle<std::vector<simb::MCTruth>>>
const*
67 #endif // MCTRUTHEVENTACTION_SERVICE_HH
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)
#define DECLARE_ART_SERVICE(svc, scope)
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