#include <DaqProvenanceHelper.h>
Public Types | |
typedef tbb::concurrent_unordered_map< ParentageID, ParentageID, dqh::parentage_hash > | ParentageIDMap |
typedef std::map< ProcessHistoryID, ProcessHistoryID > | ProcessHistoryIDMap |
Definition at line 27 of file DaqProvenanceHelper.h.
typedef tbb::concurrent_unordered_map<ParentageID, ParentageID, dqh::parentage_hash> edm::DaqProvenanceHelper::ParentageIDMap |
Definition at line 29 of file DaqProvenanceHelper.h.
typedef std::map<ProcessHistoryID, ProcessHistoryID> edm::DaqProvenanceHelper::ProcessHistoryIDMap |
Definition at line 28 of file DaqProvenanceHelper.h.
|
explicit |
Definition at line 18 of file DaqProvenanceHelper.cc.
References edm::ParameterSet::addParameter(), constBranchDescription_, relativeConstraints::empty, edm::BranchDescription::moduleLabel(), edm::moduleName(), edm::BranchDescription::moduleName(), modifiedElectrons_cfi::processName, edm::BranchDescription::processName(), processParameterSet_, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerPaths.
|
inline |
Definition at line 46 of file DaqProvenanceHelper.h.
Referenced by FedRawDataInputSource::read().
ProcessHistoryID edm::DaqProvenanceHelper::daqInit | ( | ProductRegistry & | productRegistry, |
ProcessHistoryRegistry & | processHistoryRegistry | ||
) | const |
Definition at line 77 of file DaqProvenanceHelper.cc.
References constBranchDescription_, edm::ProductRegistry::copyProduct(), edm::ProcessHistory::emplace_back(), edm::getPassID(), edm::getReleaseVersion(), edm::ParameterSet::id(), edm::BranchDescription::processName(), processParameterSet_, edm::ProcessHistoryRegistry::registerProcessHistory(), and edm::ProcessHistory::setProcessHistoryID().
Referenced by FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 48 of file DaqProvenanceHelper.h.
Referenced by FedRawDataInputSource::read().
void edm::DaqProvenanceHelper::fixMetaData | ( | ProcessConfigurationVector & | pcv, |
std::vector< ProcessHistory > & | phv | ||
) |
Referenced by matchProcesses().
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< BranchID > & | branchIDs | ) | const |
Definition at line 133 of file DaqProvenanceHelper.cc.
References newBranchID_, oldBranchID_, and python.rootplot.root2matplotlib::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchIDLists const & | branchIDLists | ) | const |
Definition at line 137 of file DaqProvenanceHelper.cc.
References edm::BranchID::id(), list(), newBranchID_, oldBranchID_, and python.rootplot.root2matplotlib::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchChildren & | branchChildren | ) | const |
Definition at line 147 of file DaqProvenanceHelper.cc.
References edm::BranchChildren::childLookup(), mps_fire::i, newBranchID_, and oldBranchID_.
Definition at line 185 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 176 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 168 of file DaqProvenanceHelper.cc.
References oldProcessHistoryID_, and phidMap_.
bool edm::DaqProvenanceHelper::matchProcesses | ( | ProcessConfiguration const & | pc, |
ProcessHistory const & | ph | ||
) | const |
Definition at line 92 of file DaqProvenanceHelper.cc.
References constBranchDescription_, fixMetaData(), edm::ParameterSet::id(), oldProcessName_, edm::ProcessConfiguration::passID(), phidMap_, edm::BranchDescription::processName(), processParameterSet_, and edm::ProcessConfiguration::releaseVersion().
|
inline |
Definition at line 47 of file DaqProvenanceHelper.h.
|
inline |
Definition at line 32 of file DaqProvenanceHelper.h.
References edm::BranchDescription::branchID(), and edm::BranchDescription::processName().
void edm::DaqProvenanceHelper::setOldParentageIDToNew | ( | ParentageID const & | iOld, |
ParentageID const & | iNew | ||
) |
Definition at line 189 of file DaqProvenanceHelper.cc.
References parentageIDMap_.
|
private |
Definition at line 53 of file DaqProvenanceHelper.h.
Referenced by daqInit(), DaqProvenanceHelper(), and matchProcesses().
|
private |
Definition at line 54 of file DaqProvenanceHelper.h.
|
private |
Definition at line 59 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), and mapBranchID().
|
private |
Definition at line 58 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), and mapBranchID().
|
private |
Definition at line 60 of file DaqProvenanceHelper.h.
Referenced by mapProcessHistoryID().
|
private |
Definition at line 57 of file DaqProvenanceHelper.h.
Referenced by matchProcesses().
|
private |
Definition at line 62 of file DaqProvenanceHelper.h.
Referenced by mapParentageID(), and setOldParentageIDToNew().
|
private |
Definition at line 61 of file DaqProvenanceHelper.h.
Referenced by mapProcessHistoryID(), and matchProcesses().
|
private |
Definition at line 55 of file DaqProvenanceHelper.h.
Referenced by daqInit(), DaqProvenanceHelper(), and matchProcesses().