1 #ifndef DataFormats_Common_ConvertHandle_h
2 #define DataFormats_Common_ConvertHandle_h
12 namespace handleimpl {
21 if(bh.failedToGet()) {
26 void const* basicWrapper = bh.wrapper();
27 if(basicWrapper == 0) {
30 if(!(bh.wrapper()->dynamicTypeInfo() ==
typeid(
T))) {
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void throwConvertTypeError(std::type_info const &expected, std::type_info const &actual)
void convert_handle(BasicHandle &&bh, Handle< T > &result)
void throwInvalidReference()
T const * product() const
static HepMC::HEPEVT_Wrapper wrapper