00001 #ifndef RefMacros_h 00002 #define RefMacros_h 00003 00004 #include <vector> 00005 #include "DataFormats/Common/interface/Ref.h" 00006 #include "DataFormats/Common/interface/RefVector.h" 00007 #include "DataFormats/Common/interface/RefProd.h" 00008 00009 #define DECLARE_EDM_REFS( class_name ) \ 00010 typedef std::vector< class_name > class_name ## Collection; \ 00011 typedef edm::Ref< class_name ## Collection> class_name ## Ref; \ 00012 typedef edm::RefProd< class_name ## Collection> class_name ## RefProd; \ 00013 typedef edm::RefVector< class_name ## Collection> class_name ## RefVector; 00014 00015 #endif // RefMacros_h