CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/DataFormats/BTauReco/interface/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/FwdRef.h"
00007 #include "DataFormats/Common/interface/RefVector.h"
00008 #include "DataFormats/Common/interface/RefProd.h"
00009 
00010 #define DECLARE_EDM_REFS( class_name )                                          \
00011   typedef std::vector< class_name > class_name ## Collection;                   \
00012   typedef edm::Ref< class_name ## Collection>       class_name ## Ref;          \
00013   typedef edm::FwdRef< class_name ## Collection>       class_name ## FwdRef;    \
00014   typedef edm::RefProd< class_name ## Collection>   class_name ## RefProd;      \
00015   typedef edm::RefVector< class_name ## Collection> class_name ## RefVector;
00016       
00017 #endif // RefMacros_h