CMS 3D CMS Logo

SensitiveDetectorPluginFactory.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_SensitiveDetector_SensitiveDetectorPluginFactory_H
00002 #define SimG4Core_SensitiveDetector_SensitiveDetectorPluginFactory_H
00003 
00004 # include "SimG4Core/SensitiveDetector/interface/SensitiveDetector.h"
00005 # include "SimG4Core/SensitiveDetector/interface/SensitiveDetectorMaker.h"
00006 # include "FWCore/PluginManager/interface/PluginFactory.h"
00007 
00008 #include <string>
00009 
00010 typedef edmplugin::PluginFactory<SensitiveDetectorMakerBase *()> SensitiveDetectorPluginFactory;
00011 
00012 #define DEFINE_SENSITIVEDETECTOR(type) \
00013   DEFINE_EDM_PLUGIN(SensitiveDetectorPluginFactory, SensitiveDetectorMaker<type>, #type)
00014 #endif

Generated on Tue Jun 9 17:47:10 2009 for CMSSW by  doxygen 1.5.4