Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:51

0001 #ifndef RefMacros_h
0002 #define RefMacros_h
0003 
0004 #include <vector>
0005 #include "DataFormats/Common/interface/Ref.h"
0006 #include "DataFormats/Common/interface/FwdRef.h"
0007 #include "DataFormats/Common/interface/RefVector.h"
0008 #include "DataFormats/Common/interface/RefProd.h"
0009 
0010 #define DECLARE_EDM_REFS(class_name)                                \
0011   typedef std::vector<class_name> class_name##Collection;           \
0012   typedef edm::Ref<class_name##Collection> class_name##Ref;         \
0013   typedef edm::FwdRef<class_name##Collection> class_name##FwdRef;   \
0014   typedef edm::RefProd<class_name##Collection> class_name##RefProd; \
0015   typedef edm::RefVector<class_name##Collection> class_name##RefVector;
0016 
0017 #endif  // RefMacros_h