CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
eventsetuprecord_registration_macro.h
Go to the documentation of this file.
1 #ifndef Framework_eventsetuprecord_registration_macro_h
2 #define Framework_eventsetuprecord_registration_macro_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : eventsetuprecord_registration_macro
7 //
23 //
24 // Author: Chris Jones
25 // Created: Wed Apr 6 14:33:32 EDT 2005
26 //
27 
28 // system include files
29 
30 // user include files
31 #include "FWCore/Framework/interface/HCMethods.icc"
32 #include "FWCore/Framework/interface/eventSetupGetImplementation.icc"
33 
35 
36 #define EVENTSETUP_RECORD_NAME2(_a_, _b_) EVENTSETUP_RECORD_NAME2_HIDDEN(_a_,_b_)
37 #define EVENTSETUP_RECORD_NAME2_HIDDEN(_a_,_b_) _a_ ## _b_
38 
39 #define EVENTSETUP_RECORD_REG(_recordclassname_) \
40 TYPELOOKUP_DATA_REG(_recordclassname_); \
41 static edm::eventsetup::EventSetupRecordProviderFactoryTemplate<_recordclassname_> EVENTSETUP_RECORD_NAME2(s_factory,__LINE__);\
42 template void edm::eventsetup::eventSetupGetImplementation<_recordclassname_>(edm::EventSetup const&, _recordclassname_ const*&); \
43 template edm::eventsetup::EventSetupRecordKey edm::eventsetup::heterocontainer::makeKey<_recordclassname_, edm::eventsetup::EventSetupRecordKey>()
44 
45 #endif