27 #include "art/Framework/Core/EDProducer.h"
28 #include "art/Framework/Core/ModuleMacros.h"
29 #include "art/Framework/Principal/Event.h"
30 #include "art/Framework/Principal/Handle.h"
31 #include "art/Framework/Principal/Run.h"
32 #include "art/Framework/Principal/SubRun.h"
33 #include "canvas/Utilities/InputTag.h"
34 #include "fhiclcpp/ParameterSet.h"
35 #include "messagefacility/MessageLogger/MessageLogger.h"
39 #include "Geant4/G4PhysListRegistry.hh"
58 void produce(art::Event&
e)
override;
75 if (
p.get<
bool>(
"DumpList",
false)) {
76 std::cout <<
"[PhysListLoader] Dumping G4 physics list:" << std::endl;
77 G4PhysListRegistry* g4plr = G4PhysListRegistry::Instance();
78 g4plr->PrintAvailablePhysLists();
PhysListLoader(fhicl::ParameterSet const &p)
void produce(art::Event &e) override
PhysListLoader & operator=(PhysListLoader const &)=delete
BEGIN_PROLOG could also be cout