All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
PhysListLoader Class Reference
Inheritance diagram for PhysListLoader:

Public Member Functions

 PhysListLoader (fhicl::ParameterSet const &p)
 
 PhysListLoader (PhysListLoader const &)=delete
 
 PhysListLoader (PhysListLoader &&)=delete
 
PhysListLoaderoperator= (PhysListLoader const &)=delete
 
PhysListLoaderoperator= (PhysListLoader &&)=delete
 
void produce (art::Event &e) override
 

Detailed Description

Definition at line 45 of file PhysListLoader_module.cc.

Constructor & Destructor Documentation

PhysListLoader::PhysListLoader ( fhicl::ParameterSet const &  p)
explicit

Definition at line 67 of file PhysListLoader_module.cc.

68  : EDProducer{p} // ,
69  // More initializers here.
70 {
71  // Call appropriate produces<>() functions here.
72  // Call appropriate consumes<>() for any products to be retrieved by this module.
73 
74 
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();
79  }
80 
81 }
pdgs p
Definition: selectors.fcl:22
BEGIN_PROLOG could also be cout
PhysListLoader::PhysListLoader ( PhysListLoader const &  )
delete
PhysListLoader::PhysListLoader ( PhysListLoader &&  )
delete

Member Function Documentation

PhysListLoader& PhysListLoader::operator= ( PhysListLoader const &  )
delete
PhysListLoader& PhysListLoader::operator= ( PhysListLoader &&  )
delete
void PhysListLoader::produce ( art::Event &  e)
override

Definition at line 83 of file PhysListLoader_module.cc.

84 {
85  // Implementation of required member function here.
86 }

The documentation for this class was generated from the following file: