#include <DaqProvenanceHelper.h>
Public Types | |
typedef std::map< ParentageID, ParentageID > | ParentageIDMap |
typedef std::map < ProcessHistoryID, ProcessHistoryID > | ProcessHistoryIDMap |
Public Member Functions | |
ProcessHistoryID | daqInit (ProductRegistry &productRegistry) const |
DaqProvenanceHelper (TypeID const &rawDataType) | |
void | fixMetaData (std::vector< ProcessConfiguration > &pcv) |
void | fixMetaData (std::vector< ProcessHistory > &phv) |
void | fixMetaData (std::vector< BranchID > &branchIDs) const |
void | fixMetaData (BranchIDLists const &) const |
void | fixMetaData (BranchChildren &branchChildren) const |
BranchID const & | mapBranchID (BranchID const &branchID) const |
ParentageID const & | mapParentageID (ParentageID const &phid) const |
ProcessHistoryID const & | mapProcessHistoryID (ProcessHistoryID const &phid) |
void | saveInfo (BranchDescription const &oldBD, BranchDescription const &newBD) |
Definition at line 18 of file DaqProvenanceHelper.h.
typedef std::map<ParentageID, ParentageID> edm::DaqProvenanceHelper::ParentageIDMap |
Definition at line 20 of file DaqProvenanceHelper.h.
typedef std::map<ProcessHistoryID, ProcessHistoryID> edm::DaqProvenanceHelper::ProcessHistoryIDMap |
Definition at line 19 of file DaqProvenanceHelper.h.
|
explicit |
Definition at line 17 of file DaqProvenanceHelper.cc.
References edm::ParameterSet::addParameter(), constBranchDescription_, relativeConstraints::empty, edm::ConstBranchDescription::moduleLabel(), edm::ConstBranchDescription::moduleName(), edm::ConstBranchDescription::processName(), processParameterSet_, and edm::ParameterSet::registerIt().
ProcessHistoryID edm::DaqProvenanceHelper::daqInit | ( | ProductRegistry & | productRegistry | ) | const |
Definition at line 77 of file DaqProvenanceHelper.cc.
References constBranchDescription_, edm::ProductRegistry::copyProduct(), edm::getPassID(), edm::getReleaseVersion(), edm::ParameterSet::id(), edm::ProcessHistory::id(), edm::detail::ThreadSafeRegistry< KEY, T, E >::insertMapped(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), edm::ConstBranchDescription::me(), edm::ConstBranchDescription::processName(), processParameterSet_, and edm::ProcessHistory::push_back().
Referenced by edm::DaqSource::DaqSource().
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< ProcessConfiguration > & | pcv | ) |
Definition at line 96 of file DaqProvenanceHelper.cc.
References constBranchDescription_, newFWLiteAna::found, edm::ParameterSet::id(), oldProcessName_, processConfiguration_, edm::ConstBranchDescription::processName(), and processParameterSet_.
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< ProcessHistory > & | phv | ) |
Definition at line 112 of file DaqProvenanceHelper.cc.
References phidMap_, and processConfiguration_.
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< BranchID > & | branchIDs | ) | const |
Definition at line 124 of file DaqProvenanceHelper.cc.
References newBranchID_, oldBranchID_, and linker::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchIDLists const & | branchIDLists | ) | const |
Definition at line 129 of file DaqProvenanceHelper.cc.
References edm::BranchID::id(), newBranchID_, oldBranchID_, and linker::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchChildren & | branchChildren | ) | const |
Definition at line 140 of file DaqProvenanceHelper.cc.
References edm::BranchChildren::childLookup(), i, newBranchID_, and oldBranchID_.
Definition at line 181 of file DaqProvenanceHelper.cc.
References newBranchID_, and oldBranchID_.
Referenced by edm::ReducedProvenanceReader::readProvenance(), edm::FullProvenanceReader::readProvenance(), and edm::OldProvenanceReader::readProvenance().
ParentageID const & edm::DaqProvenanceHelper::mapParentageID | ( | ParentageID const & | phid | ) | const |
Definition at line 171 of file DaqProvenanceHelper.cc.
References parentageIDMap_.
Referenced by edm::ReducedProvenanceReader::readProvenance(), edm::FullProvenanceReader::readProvenance(), and edm::OldProvenanceReader::readProvenance().
ProcessHistoryID const & edm::DaqProvenanceHelper::mapProcessHistoryID | ( | ProcessHistoryID const & | phid | ) |
Definition at line 162 of file DaqProvenanceHelper.cc.
References oldProcessHistoryID_, and phidMap_.
|
inline |
Definition at line 23 of file DaqProvenanceHelper.h.
References edm::BranchDescription::branchID(), newBranchID_, oldBranchID_, oldProcessName_, and edm::BranchDescription::processName().
ConstBranchDescription edm::DaqProvenanceHelper::constBranchDescription_ |
Definition at line 37 of file DaqProvenanceHelper.h.
Referenced by daqInit(), DaqProvenanceHelper(), fixMetaData(), and edm::DaqSource::getNextItemType().
ProductProvenance edm::DaqProvenanceHelper::dummyProvenance_ |
Definition at line 38 of file DaqProvenanceHelper.h.
Referenced by edm::DaqSource::getNextItemType().
BranchID edm::DaqProvenanceHelper::newBranchID_ |
Definition at line 43 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), mapBranchID(), and saveInfo().
BranchID edm::DaqProvenanceHelper::oldBranchID_ |
Definition at line 42 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), mapBranchID(), and saveInfo().
ProcessHistoryID const* edm::DaqProvenanceHelper::oldProcessHistoryID_ |
Definition at line 44 of file DaqProvenanceHelper.h.
Referenced by mapProcessHistoryID().
std::string edm::DaqProvenanceHelper::oldProcessName_ |
Definition at line 41 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), and saveInfo().
ParentageIDMap edm::DaqProvenanceHelper::parentageIDMap_ |
Definition at line 47 of file DaqProvenanceHelper.h.
Referenced by mapParentageID().
ProcessHistoryIDMap edm::DaqProvenanceHelper::phidMap_ |
Definition at line 46 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), and mapProcessHistoryID().
ProcessConfiguration edm::DaqProvenanceHelper::processConfiguration_ |
Definition at line 45 of file DaqProvenanceHelper.h.
Referenced by fixMetaData().
ParameterSet edm::DaqProvenanceHelper::processParameterSet_ |
Definition at line 39 of file DaqProvenanceHelper.h.
Referenced by daqInit(), DaqProvenanceHelper(), and fixMetaData().