#include <DaqProvenanceHelper.h>
Public Types | |
typedef std::map< ParentageID, ParentageID > | ParentageIDMap |
typedef std::map < ProcessHistoryID, ProcessHistoryID > | ProcessHistoryIDMap |
Public Member Functions | |
ProcessHistoryID | daqInit (ProductRegistry &productRegistry, ProcessHistoryRegistry &processHistoryRegistry) const |
DaqProvenanceHelper (TypeID const &rawDataType) | |
void | fixMetaData (ProcessConfigurationVector &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 19 of file DaqProvenanceHelper.h.
typedef std::map<ParentageID, ParentageID> edm::DaqProvenanceHelper::ParentageIDMap |
Definition at line 21 of file DaqProvenanceHelper.h.
typedef std::map<ProcessHistoryID, ProcessHistoryID> edm::DaqProvenanceHelper::ProcessHistoryIDMap |
Definition at line 20 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(), edm::BranchDescription::processName(), processParameterSet_, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerPaths.
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().
void edm::DaqProvenanceHelper::fixMetaData | ( | ProcessConfigurationVector & | pcv, |
std::vector< ProcessHistory > & | phv | ||
) |
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< BranchID > & | branchIDs | ) | const |
Definition at line 136 of file DaqProvenanceHelper.cc.
References newBranchID_, oldBranchID_, and python.rootplot.root2matplotlib::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchIDLists const & | branchIDLists | ) | const |
Definition at line 141 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 152 of file DaqProvenanceHelper.cc.
References edm::BranchChildren::childLookup(), i, newBranchID_, and oldBranchID_.
Definition at line 193 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 183 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 174 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 oldProcessName_, edm::ProcessConfiguration::passID(), and edm::ProcessConfiguration::releaseVersion().
|
inline |
Definition at line 24 of file DaqProvenanceHelper.h.
References edm::BranchDescription::branchID(), newBranchID_, oldBranchID_, oldProcessName_, and edm::BranchDescription::processName().
BranchDescription const edm::DaqProvenanceHelper::constBranchDescription_ |
Definition at line 38 of file DaqProvenanceHelper.h.
Referenced by daqInit(), DaqProvenanceHelper(), and FedRawDataInputSource::read().
ProductProvenance edm::DaqProvenanceHelper::dummyProvenance_ |
Definition at line 39 of file DaqProvenanceHelper.h.
Referenced by FedRawDataInputSource::read().
BranchID edm::DaqProvenanceHelper::newBranchID_ |
Definition at line 44 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), mapBranchID(), and saveInfo().
BranchID edm::DaqProvenanceHelper::oldBranchID_ |
Definition at line 43 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), mapBranchID(), and saveInfo().
ProcessHistoryID const* edm::DaqProvenanceHelper::oldProcessHistoryID_ |
Definition at line 45 of file DaqProvenanceHelper.h.
Referenced by mapProcessHistoryID().
std::string edm::DaqProvenanceHelper::oldProcessName_ |
Definition at line 42 of file DaqProvenanceHelper.h.
Referenced by matchProcesses(), 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 mapProcessHistoryID().
ParameterSet edm::DaqProvenanceHelper::processParameterSet_ |
Definition at line 40 of file DaqProvenanceHelper.h.
Referenced by daqInit(), and DaqProvenanceHelper().