CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/SimG4Core/Watcher/interface/SimWatcherFactory.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_SimWatcherFactory_H
00002 #define SimG4Core_SimWatcherFactory_H
00003 
00004 #include "SimG4Core/Watcher/interface/SimWatcher.h"
00005 #include "SimG4Core/Watcher/interface/SimWatcherMaker.h"
00006 
00007 #include "FWCore/PluginManager/interface/PluginFactory.h"
00008 
00009 typedef edmplugin::PluginFactory<SimWatcherMakerBase *() > SimWatcherFactory ;
00010 
00011 //This pattern was taken from the framework factory code
00012 
00013 #define DEFINE_SIMWATCHER(type) \
00014   DEFINE_EDM_PLUGIN(SimWatcherFactory, SimWatcherMaker<type>,#type)
00015 
00016 #endif