Main Page
Namespaces
Classes
Package Documentation
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
*
7
HandleBase::productStorage
()
const
{
8
if
(
whyFailedFactory_
) {
9
whyFailedFactory_
->make()->raise();
10
}
11
return
product_
;
12
}
13
14
ProductID
15
HandleBase::id
()
const
{
16
if
(
whyFailedFactory_
) {
17
whyFailedFactory_
->make()->raise();
18
}
19
return
prov_
->
productID
();
20
}
21
}
edm::HandleBase::id
ProductID id() const
Definition:
HandleBase.cc:15
edm::HandleBase::whyFailedFactory_
std::shared_ptr< HandleExceptionFactory > whyFailedFactory_
Definition:
HandleBase.h:123
edm::HandleBase::productStorage
void const * productStorage() const
Definition:
HandleBase.cc:7
edm::ProductID
Definition:
ProductID.h:27
Exception.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::HandleBase::prov_
Provenance const * prov_
Definition:
HandleBase.h:122
HandleBase.h
edm::HandleBase::product_
void const * product_
Definition:
HandleBase.h:121
edm::Provenance::productID
ProductID const & productID() const
Definition:
Provenance.h:79
Provenance.h
Generated for CMSSW Reference Manual by
1.8.11