CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
edm::DaqProvenanceHelper Struct Reference

#include <DaqProvenanceHelper.h>

Public Types

typedef
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)
 
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)
 

Private Attributes

BranchDescription const constBranchDescription_
 
ProductProvenance dummyProvenance_
 
BranchID newBranchID_
 
BranchID oldBranchID_
 
ProcessHistoryID const * oldProcessHistoryID_
 
std::string oldProcessName_
 
ParentageIDMap parentageIDMap_
 
ProcessHistoryIDMap phidMap_
 
ParameterSet processParameterSet_
 

Detailed Description

Definition at line 30 of file DaqProvenanceHelper.h.

Member Typedef Documentation

Definition at line 32 of file DaqProvenanceHelper.h.

Definition at line 31 of file DaqProvenanceHelper.h.

Constructor & Destructor Documentation

edm::DaqProvenanceHelper::DaqProvenanceHelper ( TypeID const &  rawDataType)
explicit

Definition at line 18 of file DaqProvenanceHelper.cc.

Member Function Documentation

BranchDescription const& edm::DaqProvenanceHelper::branchDescription ( ) const
inline

Definition at line 49 of file DaqProvenanceHelper.h.

References constBranchDescription_.

BranchDescription const constBranchDescription_
ProcessHistoryID edm::DaqProvenanceHelper::daqInit ( ProductRegistry productRegistry,
ProcessHistoryRegistry processHistoryRegistry 
) const

Definition at line 77 of file DaqProvenanceHelper.cc.

ProductProvenance const& edm::DaqProvenanceHelper::dummyProvenance ( ) const
inline

Definition at line 51 of file DaqProvenanceHelper.h.

References dummyProvenance_.

51 { return dummyProvenance_; }
ProductProvenance dummyProvenance_
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.

void edm::DaqProvenanceHelper::fixMetaData ( BranchIDLists const &  branchIDLists) const

Definition at line 141 of file DaqProvenanceHelper.cc.

void edm::DaqProvenanceHelper::fixMetaData ( BranchChildren branchChildren) const

Definition at line 152 of file DaqProvenanceHelper.cc.

BranchID const & edm::DaqProvenanceHelper::mapBranchID ( BranchID const &  branchID) const

Definition at line 193 of file DaqProvenanceHelper.cc.

ParentageID const & edm::DaqProvenanceHelper::mapParentageID ( ParentageID const &  phid) const

Definition at line 183 of file DaqProvenanceHelper.cc.

ProcessHistoryID const & edm::DaqProvenanceHelper::mapProcessHistoryID ( ProcessHistoryID const &  phid)

Definition at line 174 of file DaqProvenanceHelper.cc.

bool edm::DaqProvenanceHelper::matchProcesses ( ProcessConfiguration const &  pc,
ProcessHistory const &  ph 
) const

Definition at line 92 of file DaqProvenanceHelper.cc.

ProcessHistoryID const* edm::DaqProvenanceHelper::oldProcessHistoryID ( ) const
inline

Definition at line 50 of file DaqProvenanceHelper.h.

References oldProcessHistoryID_.

50 { return oldProcessHistoryID_; }
ProcessHistoryID const * oldProcessHistoryID_
void edm::DaqProvenanceHelper::saveInfo ( BranchDescription const &  oldBD,
BranchDescription const &  newBD 
)
inline

Definition at line 35 of file DaqProvenanceHelper.h.

References edm::BranchDescription::branchID(), newBranchID_, oldBranchID_, oldProcessName_, and edm::BranchDescription::processName().

35  {
36  oldProcessName_ = oldBD.processName();
37  oldBranchID_ = oldBD.branchID();
38  newBranchID_ = newBD.branchID();
39  }
void edm::DaqProvenanceHelper::setOldParentageIDToNew ( ParentageID const &  iOld,
ParentageID const &  iNew 
)

Definition at line 197 of file DaqProvenanceHelper.cc.

Member Data Documentation

BranchDescription const edm::DaqProvenanceHelper::constBranchDescription_
private

Definition at line 56 of file DaqProvenanceHelper.h.

Referenced by branchDescription().

ProductProvenance edm::DaqProvenanceHelper::dummyProvenance_
private

Definition at line 57 of file DaqProvenanceHelper.h.

Referenced by dummyProvenance().

BranchID edm::DaqProvenanceHelper::newBranchID_
private

Definition at line 62 of file DaqProvenanceHelper.h.

Referenced by saveInfo().

BranchID edm::DaqProvenanceHelper::oldBranchID_
private

Definition at line 61 of file DaqProvenanceHelper.h.

Referenced by saveInfo().

ProcessHistoryID const* edm::DaqProvenanceHelper::oldProcessHistoryID_
private

Definition at line 63 of file DaqProvenanceHelper.h.

Referenced by oldProcessHistoryID().

std::string edm::DaqProvenanceHelper::oldProcessName_
private

Definition at line 60 of file DaqProvenanceHelper.h.

Referenced by saveInfo().

ParentageIDMap edm::DaqProvenanceHelper::parentageIDMap_
private

Definition at line 65 of file DaqProvenanceHelper.h.

ProcessHistoryIDMap edm::DaqProvenanceHelper::phidMap_
private

Definition at line 64 of file DaqProvenanceHelper.h.

ParameterSet edm::DaqProvenanceHelper::processParameterSet_
private

Definition at line 58 of file DaqProvenanceHelper.h.