CMS 3D CMS Logo

RefMacros.h

Go to the documentation of this file.
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

Generated on Tue Jun 9 17:27:12 2009 for CMSSW by  doxygen 1.5.4