1 #ifndef DataFormats_Common_ConvertHandle_h 2 #define DataFormats_Common_ConvertHandle_h 13 namespace handleimpl {
22 if(bh.failedToGet()) {
27 void const* basicWrapper = bh.wrapper();
28 if(basicWrapper == 0) {
31 if(!(bh.wrapper()->dynamicTypeInfo() ==
typeid(
T))) {
36 Handle<T> h(wrapper->product(), bh.provenance());
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()
static HepMC::HEPEVT_Wrapper wrapper