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
(boost::shared_ptr<ConstBranchDescription> bd) :
15
wrapper_(),
16
prov_(bd,
ProductID
()) {
17
}
18
19
// For use by FWLite
20
ProductData::ProductData
(
void
const
* product,
Provenance
const
& prov) :
21
wrapper_(product,
do_nothing_deleter
()),
22
prov_(prov) {
23
}
24
25
void
26
ProductData::resetBranchDescription
(boost::shared_ptr<ConstBranchDescription> bd) {
27
prov_
.
setBranchDescription
(bd);
28
}
29
}
ProductID.h
edm::ProductData::prov_
Provenance prov_
Definition:
ProductData.h:47
edm::ProductID
Definition:
ProductID.h:27
edm::Provenance::setBranchDescription
void setBranchDescription(boost::shared_ptr< ConstBranchDescription > const &p)
Definition:
Provenance.h:96
edm::do_nothing_deleter
Definition:
do_nothing_deleter.h:34
ProductData.h
edm::Provenance
Definition:
Provenance.h:37
edm::ProductData::resetBranchDescription
void resetBranchDescription(boost::shared_ptr< ConstBranchDescription > bd)
Definition:
ProductData.cc:26
edm::ProductData::ProductData
ProductData()
Definition:
ProductData.cc:9
do_nothing_deleter.h
Generated for CMSSW Reference Manual by
1.8.5