Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
(
whyFailed_
) {
9
throw
*
whyFailed_
;
10
}
11
return
product_
;
12
}
13
14
ProductID
15
HandleBase::id
()
const
{
16
if
(
whyFailed_
) {
17
throw
*
whyFailed_
;
18
}
19
return
prov_
->
productID
();
20
}
21
}
edm::HandleBase::id
ProductID id() const
Definition:
HandleBase.cc:15
Provenance.h
edm::HandleBase::productStorage
void const * productStorage() const
Definition:
HandleBase.cc:7
edm::HandleBase::whyFailed_
boost::shared_ptr< cms::Exception > whyFailed_
Definition:
HandleBase.h:101
edm::ProductID
Definition:
ProductID.h:27
Exception.h
edm::HandleBase::prov_
Provenance const * prov_
Definition:
HandleBase.h:100
HandleBase.h
edm::HandleBase::product_
void const * product_
Definition:
HandleBase.h:99
edm::Provenance::productID
ProductID const & productID() const
Definition:
Provenance.h:88
Generated for CMSSW Reference Manual by
1.8.5