#include <DaqProvenanceHelper.h>
Public Types | |
typedef oneapi::tbb::concurrent_unordered_map< ParentageID, ParentageID, dqh::parentage_hash > | ParentageIDMap |
typedef std::map< ProcessHistoryID, ProcessHistoryID > | ProcessHistoryIDMap |
Public Member Functions | |
BranchDescription const & | branchDescription () const |
ProcessHistoryID | daqInit (ProductRegistry &productRegistry, ProcessHistoryRegistry &processHistoryRegistry) const |
DaqProvenanceHelper (TypeID const &rawDataType) | |
DaqProvenanceHelper (TypeID const &rawDataType, std::string const &collectionName, std::string const &friendlyName, std::string const &sourceLabel) | |
ProductProvenance const & | dummyProvenance () const |
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 |
ProcessHistoryID const * | oldProcessHistoryID () const |
void | saveInfo (BranchDescription const &oldBD, BranchDescription const &newBD) |
void | setOldParentageIDToNew (ParentageID const &iOld, ParentageID const &iNew) |
Definition at line 27 of file DaqProvenanceHelper.h.
typedef oneapi::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 91 of file DaqProvenanceHelper.cc.
|
explicit |
Definition at line 40 of file DaqProvenanceHelper.cc.
References edm::ParameterSet::addParameter(), constBranchDescription_, relativeConstraints::empty, HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::BranchDescription::moduleLabel(), edm::moduleName(), edm::BranchDescription::moduleName(), SimL1EmulatorRepack_CalouGT_cff::processName, edm::BranchDescription::processName(), processParameterSet_, edm::ParameterSet::registerIt(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerPaths.
|
inline |
Definition at line 50 of file DaqProvenanceHelper.h.
References constBranchDescription_.
Referenced by FedRawDataInputSource::read().
ProcessHistoryID edm::DaqProvenanceHelper::daqInit | ( | ProductRegistry & | productRegistry, |
ProcessHistoryRegistry & | processHistoryRegistry | ||
) | const |
Definition at line 94 of file DaqProvenanceHelper.cc.
References constBranchDescription_, edm::ProductRegistry::copyProduct(), edm::getPassID(), edm::getReleaseVersion(), edm::ParameterSet::id(), edm::BranchDescription::processName(), processParameterSet_, and edm::ProcessHistoryRegistry::registerProcessHistory().
Referenced by FedRawDataInputSource::FedRawDataInputSource().
|
inline |
Definition at line 52 of file DaqProvenanceHelper.h.
References dummyProvenance_.
Referenced by FedRawDataInputSource::read().
void edm::DaqProvenanceHelper::fixMetaData | ( | ProcessConfigurationVector & | pcv, |
std::vector< ProcessHistory > & | phv | ||
) |
void edm::DaqProvenanceHelper::fixMetaData | ( | std::vector< BranchID > & | branchIDs | ) | const |
Definition at line 150 of file DaqProvenanceHelper.cc.
References newBranchID_, oldBranchID_, and python.rootplot.root2matplotlib::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchIDLists const & | branchIDLists | ) | const |
Definition at line 154 of file DaqProvenanceHelper.cc.
References edm::BranchID::id(), newBranchID_, oldBranchID_, and python.rootplot.root2matplotlib::replace().
void edm::DaqProvenanceHelper::fixMetaData | ( | BranchChildren & | branchChildren | ) | const |
Definition at line 164 of file DaqProvenanceHelper.cc.
References edm::BranchChildren::childLookup(), mps_fire::i, newBranchID_, and oldBranchID_.
Definition at line 202 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 193 of file DaqProvenanceHelper.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and parentageIDMap_.
Referenced by edm::ReducedProvenanceReader::readProvenance(), edm::FullProvenanceReader::readProvenance(), and edm::OldProvenanceReader::readProvenance().
ProcessHistoryID const & edm::DaqProvenanceHelper::mapProcessHistoryID | ( | ProcessHistoryID const & | phid | ) |
Definition at line 185 of file DaqProvenanceHelper.cc.
References cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, oldProcessHistoryID_, and phidMap_.
bool edm::DaqProvenanceHelper::matchProcesses | ( | ProcessConfiguration const & | pc, |
ProcessHistory const & | ph | ||
) | const |
Definition at line 109 of file DaqProvenanceHelper.cc.
References oldProcessName_, edm::ProcessConfiguration::passID(), and edm::ProcessConfiguration::releaseVersion().
|
inline |
Definition at line 51 of file DaqProvenanceHelper.h.
References oldProcessHistoryID_.
|
inline |
Definition at line 36 of file DaqProvenanceHelper.h.
References edm::BranchDescription::branchID(), newBranchID_, oldBranchID_, oldProcessName_, and edm::BranchDescription::processName().
void edm::DaqProvenanceHelper::setOldParentageIDToNew | ( | ParentageID const & | iOld, |
ParentageID const & | iNew | ||
) |
Definition at line 206 of file DaqProvenanceHelper.cc.
References parentageIDMap_.
|
private |
Definition at line 57 of file DaqProvenanceHelper.h.
Referenced by branchDescription(), daqInit(), and DaqProvenanceHelper().
|
private |
Definition at line 58 of file DaqProvenanceHelper.h.
Referenced by dummyProvenance().
|
private |
Definition at line 63 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), mapBranchID(), and saveInfo().
|
private |
Definition at line 62 of file DaqProvenanceHelper.h.
Referenced by fixMetaData(), mapBranchID(), and saveInfo().
|
private |
Definition at line 64 of file DaqProvenanceHelper.h.
Referenced by mapProcessHistoryID(), and oldProcessHistoryID().
|
private |
Definition at line 61 of file DaqProvenanceHelper.h.
Referenced by matchProcesses(), and saveInfo().
|
private |
Definition at line 66 of file DaqProvenanceHelper.h.
Referenced by mapParentageID(), and setOldParentageIDToNew().
|
private |
Definition at line 65 of file DaqProvenanceHelper.h.
Referenced by mapProcessHistoryID().
|
private |
Definition at line 59 of file DaqProvenanceHelper.h.
Referenced by daqInit(), and DaqProvenanceHelper().