00001 #ifndef CommonAlignmentMonitor_AlignmentMonitorPluginFactory_h 00002 #define CommonAlignmentMonitor_AlignmentMonitorPluginFactory_h 00003 // -*- C++ -*- 00004 // 00005 // Package: CommonAlignmentMonitor 00006 // Class : AlignmentMonitorPluginFactory 00007 // 00016 // 00017 // Original Author: Jim Pivarski 00018 // Created: Mon Apr 23 15:29:01 CDT 2007 00019 // $Id: AlignmentMonitorPluginFactory.h,v 1.1 2007/04/23 22:19:13 pivarski Exp $ 00020 // 00021 00022 #include "FWCore/PluginManager/interface/PluginFactory.h" 00023 #include "Alignment/CommonAlignmentMonitor/interface/AlignmentMonitorBase.h" 00024 00025 // Forward declaration 00026 namespace edm { class ParameterSet; } 00027 00028 typedef edmplugin::PluginFactory<AlignmentMonitorBase* (const edm::ParameterSet&) > AlignmentMonitorPluginFactory; 00029 00030 // // Forward declaration 00031 // namespace edm { class ParameterSet; } 00032 // 00033 // class AlignmentMonitorPluginFactory : 00034 // public seal::PluginFactory<AlignmentMonitorBase* (const edm::ParameterSet&) > 00035 // { 00036 // 00037 // public: 00038 // /// Constructor 00039 // AlignmentMonitorPluginFactory(); 00040 // 00041 // /// Return the plugin factory (unique instance) 00042 // static AlignmentMonitorPluginFactory* get (void); 00043 // 00044 // /// Directly return the algorithm with given name and configuration 00045 // static AlignmentMonitorBase* getMonitor( std::string name, 00046 // const edm::ParameterSet& config ); 00047 // 00048 // private: 00049 // static AlignmentMonitorPluginFactory theInstance; 00050 // 00051 // }; 00052 00053 #endif 00054