#include <Group.h>
Public Member Functions | |
boost::shared_ptr < ConstBranchDescription > const & | branchDescription () const |
void | checkType (EDProduct const &prod) const |
GroupData (boost::shared_ptr< ConstBranchDescription > bd) | |
void | resetBranchDescription (boost::shared_ptr< ConstBranchDescription > bd) |
void | resetGroupData () |
void | swap (GroupData &other) |
~GroupData () | |
Public Attributes | |
boost::shared_ptr< EDProduct > | product_ |
Provenance | prov_ |
edm::GroupData::GroupData | ( | boost::shared_ptr< ConstBranchDescription > | bd | ) | [inline, explicit] |
boost::shared_ptr<ConstBranchDescription> const& edm::GroupData::branchDescription | ( | ) | const [inline] |
Definition at line 36 of file Group.h.
References edm::Provenance::constBranchDescriptionPtr(), and prov_.
Referenced by edm::Group::branchDescription(), checkType(), and edm::ProducedGroup::putProduct_().
{ return prov_.constBranchDescriptionPtr(); }
void edm::GroupData::checkType | ( | EDProduct const & | prod | ) | const |
Definition at line 131 of file Group.cc.
References branchDescription(), edm::EDProduct::dynamicTypeInfo(), edm::errors::EventCorruption, and Exception.
Referenced by edm::ProducedGroup::checkType_().
{ // Check if the types match. TypeID typeID(prod.dynamicTypeInfo()); if(typeID != branchDescription()->typeID()) { // Types do not match. throw Exception(errors::EventCorruption) << "Product on branch " << branchDescription()->branchName() << " is of wrong type.\n" << "It is supposed to be of type " << branchDescription()->className() << ".\n" << "It is actually of type " << typeID.className() << ".\n"; } }
void edm::GroupData::resetBranchDescription | ( | boost::shared_ptr< ConstBranchDescription > | bd | ) | [inline] |
Definition at line 44 of file Group.h.
References prov_, and edm::Provenance::setBranchDescription().
Referenced by edm::Group::resetBranchDescription().
{ prov_.setBranchDescription(bd); }
void edm::GroupData::resetGroupData | ( | ) | [inline] |
Definition at line 47 of file Group.h.
References product_, prov_, and edm::Provenance::resetProductProvenance().
Referenced by edm::Group::resetGroupData().
void edm::GroupData::swap | ( | GroupData & | other | ) | [inline] |
Definition at line 40 of file Group.h.
References product_, prov_, and edm::Provenance::swap().
Referenced by edm::SubProcess::propagateProducts(), and edm::swap().
boost::shared_ptr<EDProduct> edm::GroupData::product_ [mutable] |
Definition at line 53 of file Group.h.
Referenced by edm::Group::product(), edm::ProducedGroup::putProduct_(), resetGroupData(), edm::InputGroup::setProduct(), and swap().
Provenance edm::GroupData::prov_ [mutable] |
Definition at line 54 of file Group.h.
Referenced by branchDescription(), edm::Group::productID(), edm::Group::provenance(), resetBranchDescription(), resetGroupData(), edm::Group::setProductProvenance(), edm::Group::setProvenance(), and swap().