Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:27

0001 #ifndef SimG4Core_PhysicsListFactory_H
0002 #define SimG4Core_PhysicsListFactory_H
0003 
0004 #include "SimG4Core/Physics/interface/PhysicsList.h"
0005 #include "SimG4Core/Physics/interface/PhysicsListMaker.h"
0006 
0007 #include "FWCore/PluginManager/interface/PluginFactory.h"
0008 
0009 typedef edmplugin::PluginFactory<PhysicsListMakerBase *()> PhysicsListFactory;
0010 //NOTE: the prefix "SimG4Core/Physics/" is there for 'backwards compatability
0011 // and should eventually be removed (which will require changes to config files)
0012 #define DEFINE_PHYSICSLIST(type) \
0013   DEFINE_EDM_PLUGIN(PhysicsListFactory, PhysicsListMaker<type>, "SimG4Core/Physics/" #type)
0014 
0015 #endif