#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, 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) |
bool | matchProcesses (ProcessConfiguration const &pc, ProcessHistory const &ph) const |
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 18 of file DaqProvenanceHelper.cc.
References edm::ParameterSet::addParameter(), constBranchDescription_, relativeConstraints::empty, edm::ConstBranchDescription::moduleLabel(), edm::ConstBranchDescription::moduleName(), edm::ConstBranchDescription::processName(), processParameterSet_, edm::ParameterSet::registerIt(), and AlCaHLTBitMon_QueryRunRegistry::string.
ProcessHistoryID edm::DaqProvenanceHelper::daqInit | ( | ProductRegistry & | productRegistry | ) | const |
Definition at line 77 of file DaqProvenanceHelper.cc.
References constBranchDescription_, edm::ProductRegistry::copyProduct(), edm::ProcessHistory::data(), edm::ProcessHistory::emplace_back(), 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(), and processParameterSet_.
Referenced by edm::DaqSource::DaqSource().
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< ProcessConfiguration > & | pcv, |
std::vector< ProcessHistory > & | phv | ||
) |
Definition at line 106 of file DaqProvenanceHelper.cc.
References constBranchDescription_, edm::ParameterSet::id(), matchProcesses(), oldProcessName_, phidMap_, edm::ConstBranchDescription::processName(), and processParameterSet_.
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< BranchID > & | branchIDs | ) | const |
Definition at line 139 of file DaqProvenanceHelper.cc.
References newBranchID_, oldBranchID_, and linker::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchIDLists const & | branchIDLists | ) | const |
Definition at line 144 of file DaqProvenanceHelper.cc.
References edm::BranchID::id(), list(), newBranchID_, oldBranchID_, and linker::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchChildren & | branchChildren | ) | const |
Definition at line 155 of file DaqProvenanceHelper.cc.
References edm::BranchChildren::childLookup(), i, newBranchID_, and oldBranchID_.
Definition at line 196 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 186 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 177 of file DaqProvenanceHelper.cc.
References oldProcessHistoryID_, and phidMap_.
bool edm::DaqProvenanceHelper::matchProcesses | ( | ProcessConfiguration const & | pc, |
ProcessHistory const & | ph | ||
) | const |
Definition at line 96 of file DaqProvenanceHelper.cc.
References oldProcessName_, edm::ProcessConfiguration::passID(), and edm::ProcessConfiguration::releaseVersion().
Referenced by fixMetaData().
|
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::readEvent_().
ProductProvenance edm::DaqProvenanceHelper::dummyProvenance_ |
Definition at line 38 of file DaqProvenanceHelper.h.
Referenced by edm::DaqSource::readEvent_().
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(), matchProcesses(), and saveInfo().
ParentageIDMap edm::DaqProvenanceHelper::parentageIDMap_ |
Definition at line 46 of file DaqProvenanceHelper.h.
Referenced by mapParentageID().
ProcessHistoryIDMap edm::DaqProvenanceHelper::phidMap_ |
Definition at line 45 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), and mapProcessHistoryID().
ParameterSet edm::DaqProvenanceHelper::processParameterSet_ |
Definition at line 39 of file DaqProvenanceHelper.h.
Referenced by daqInit(), DaqProvenanceHelper(), and fixMetaData().