DataFormats
Common
src
HandleBase.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/HandleBase.h
"
2
#include "
DataFormats/Provenance/interface/Provenance.h
"
3
#include "
FWCore/Utilities/interface/Exception.h
"
4
5
namespace
edm
{
6
void
const
*
HandleBase::productStorage
()
const
{
7
if
(
whyFailedFactory_
) {
8
whyFailedFactory_
->make()->raise();
9
}
10
return
product_
;
11
}
12
13
ProductID
HandleBase::id
()
const
{
14
if
(
whyFailedFactory_
) {
15
whyFailedFactory_
->make()->raise();
16
}
17
return
prov_
->
productID
();
18
}
19
}
// namespace edm
edm::HandleBase::productStorage
void const * productStorage() const
Definition:
HandleBase.cc:6
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::Provenance::productID
ProductID const & productID() const
Definition:
Provenance.h:79
HandleBase.h
Provenance.h
edm::HandleBase::whyFailedFactory_
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition:
HandleBase.h:110
edm::HandleBase::prov_
Provenance const * prov_
Definition:
HandleBase.h:109
edm::HandleBase::product_
void const * product_
Definition:
HandleBase.h:108
Exception.h
edm::HandleBase::id
ProductID id() const
Definition:
HandleBase.cc:13
edm::ProductID
Definition:
ProductID.h:27
Generated for CMSSW Reference Manual by
1.8.16