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))) {
35 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