Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
Common
src
ProductData.cc
Go to the documentation of this file.
1
/*----------------------------------------------------------------------
2
----------------------------------------------------------------------*/
3
#include "
DataFormats/Common/interface/ProductData.h
"
4
5
#include "
DataFormats/Provenance/interface/ProductID.h
"
6
#include "
FWCore/Utilities/interface/do_nothing_deleter.h
"
7
8
namespace
edm {
9
ProductData::ProductData
() :
10
wrapper_(),
11
prov_() {
12
}
13
14
ProductData::ProductData
(std::shared_ptr<BranchDescription const> bd) :
15
wrapper_(),
16
prov_(bd,
ProductID
()) {
17
}
18
19
// For use by FWLite
20
ProductData::ProductData
(
WrapperBase
* product,
Provenance
const
& prov) :
21
wrapper_(product,
do_nothing_deleter
()),
22
prov_(prov) {
23
}
24
25
void
26
ProductData::resetBranchDescription
(std::shared_ptr<BranchDescription const> bd) {
27
prov_
.
setBranchDescription
(bd);
28
}
29
}
edm::ProductData::resetBranchDescription
void resetBranchDescription(std::shared_ptr< BranchDescription const > bd)
Definition:
ProductData.cc:26
edm::Provenance::setBranchDescription
void setBranchDescription(std::shared_ptr< BranchDescription const > const &p)
Definition:
Provenance.h:87
ProductID.h
edm::ProductData::prov_
Provenance prov_
Definition:
ProductData.h:47
edm::ProductID
Definition:
ProductID.h:27
edm::do_nothing_deleter
Definition:
do_nothing_deleter.h:34
ProductData.h
edm::Provenance
Definition:
Provenance.h:36
edm::ProductData::ProductData
ProductData()
Definition:
ProductData.cc:9
edm::WrapperBase
Definition:
WrapperBase.h:16
do_nothing_deleter.h
Generated for CMSSW Reference Manual by
1.8.5