Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-13 23:27:03

0001 #ifndef Framework_MakerMacros_h
0002 #define Framework_MakerMacros_h
0003 
0004 #include "FWCore/Framework/interface/maker/MakerPluginFactory.h"
0005 #include "FWCore/Framework/interface/maker/WorkerMaker.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSetDescriptionFillerPluginFactory.h"
0007 // The following includes are temporary until a better
0008 // solution can be found.  Placing these includes here
0009 // leads to more physical coupling than is probably necessary.
0010 // Another solution is to build a typeid lookup table in the
0011 // implementation file (one every for each XXXWorker) and
0012 // then include all the relevent worker headers in the
0013 // implementation file only.
0014 #include "FWCore/Framework/interface/maker/WorkerT.h"
0015 
0016 #define DEFINE_FWK_MODULE(type)                                              \
0017   DEFINE_EDM_PLUGIN(edm::MakerPluginFactory, edm::WorkerMaker<type>, #type); \
0018   DEFINE_FWK_PSET_DESC_FILLER(type)
0019 #endif