All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
PhysListLoader_module.cc File Reference

A dummy module that forces library loading to register a physics list. More...

#include "art/Framework/Core/EDProducer.h"
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Handle.h"
#include "art/Framework/Principal/Run.h"
#include "art/Framework/Principal/SubRun.h"
#include "canvas/Utilities/InputTag.h"
#include "fhiclcpp/ParameterSet.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include <memory>
#include "Geant4/G4PhysListRegistry.hh"

Go to the source code of this file.

Classes

class  PhysListLoader
 

Detailed Description

A dummy module that forces library loading to register a physics list.

Author
Marco Del Tutto (mdelt.nosp@m.utt@.nosp@m.fnal..nosp@m.gov)

This module is a dummy module that does not act in any way on art::Events. This module, and in particular the library this module is built in, is linked to the PhysicsLists library in this same directory. Running this module causes the PhysicsLists library to be loaded, and so the Physics Lists to be registered to the Geant4 PhysListRegistry

Definition in file PhysListLoader_module.cc.