#include <BranchIDListHelper.h>
Public Types | |
typedef std::multimap < BranchID, IndexPair > | BranchIDToIndexMap |
typedef std::pair < BranchListIndex, ProductIndex > | IndexPair |
Public Member Functions | |
BranchIDListHelper () | |
BranchIDLists const & | branchIDLists () const |
BranchIDToIndexMap const & | branchIDToIndexMap () const |
bool | fixBranchListIndexes (BranchListIndexes &indexes, bool assertOnFailure=true) const |
Called by sources to convert their read indexes into the indexes used by the job. More... | |
bool | hasProducedProducts () const |
BranchIDLists & | mutableBranchIDLists () |
BranchListIndex | producedBranchListIndex () const |
bool | updateFromInput (BranchIDLists const &bidlists) |
void | updateFromParent (BranchIDLists const &bidlists) |
void | updateFromRegistry (ProductRegistry const ®) |
Private Attributes | |
BranchIDLists | branchIDLists_ |
BranchIDToIndexMap | branchIDToIndexMap_ |
std::vector< BranchListIndex > | inputIndexToJobIndex_ |
BranchIDLists::size_type | nAlreadyCopied_ |
BranchListIndex | producedBranchListIndex_ |
Definition at line 15 of file BranchIDListHelper.h.
typedef std::multimap<BranchID, IndexPair> edm::BranchIDListHelper::BranchIDToIndexMap |
Definition at line 18 of file BranchIDListHelper.h.
typedef std::pair<BranchListIndex, ProductIndex> edm::BranchIDListHelper::IndexPair |
Definition at line 17 of file BranchIDListHelper.h.
edm::BranchIDListHelper::BranchIDListHelper | ( | ) |
Definition at line 10 of file BranchIDListHelper.cc.
|
inline |
Definition at line 36 of file BranchIDListHelper.h.
References branchIDLists_.
|
inline |
Definition at line 37 of file BranchIDListHelper.h.
References branchIDToIndexMap_.
bool edm::BranchIDListHelper::fixBranchListIndexes | ( | BranchListIndexes & | indexes, |
bool | assertOnFailure = true |
||
) | const |
Called by sources to convert their read indexes into the indexes used by the job.
Definition at line 84 of file BranchIDListHelper.cc.
References cms::cuda::assert(), mps_fire::i, and inputIndexToJobIndex_.
|
inline |
Definition at line 39 of file BranchIDListHelper.h.
References SiStripPI::max, and producedBranchListIndex_.
|
inline |
Definition at line 33 of file BranchIDListHelper.h.
References branchIDLists_.
|
inline |
Definition at line 38 of file BranchIDListHelper.h.
References producedBranchListIndex_.
bool edm::BranchIDListHelper::updateFromInput | ( | BranchIDLists const & | bidlists | ) |
Definition at line 17 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, edm::find_in_all(), mps_fire::i, inputIndexToJobIndex_, and dqmiolumiharvest::j.
Referenced by edm::StreamerInputSource::mergeIntoRegistry().
void edm::BranchIDListHelper::updateFromParent | ( | BranchIDLists const & | bidlists | ) |
Definition at line 44 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, mps_fire::i, inputIndexToJobIndex_, and nAlreadyCopied_.
void edm::BranchIDListHelper::updateFromRegistry | ( | ProductRegistry const & | reg | ) |
Definition at line 59 of file BranchIDListHelper.cc.
References branchIDLists_, branchIDToIndexMap_, mps_fire::i, edm::InEvent, producedBranchListIndex_, and edm::ProductRegistry::productList().
|
private |
Definition at line 42 of file BranchIDListHelper.h.
Referenced by branchIDLists(), mutableBranchIDLists(), updateFromInput(), updateFromParent(), and updateFromRegistry().
|
private |
Definition at line 43 of file BranchIDListHelper.h.
Referenced by branchIDToIndexMap(), updateFromInput(), updateFromParent(), and updateFromRegistry().
|
private |
Definition at line 44 of file BranchIDListHelper.h.
Referenced by fixBranchListIndexes(), updateFromInput(), and updateFromParent().
|
private |
Definition at line 46 of file BranchIDListHelper.h.
Referenced by updateFromParent().
|
private |
Definition at line 45 of file BranchIDListHelper.h.
Referenced by hasProducedProducts(), producedBranchListIndex(), and updateFromRegistry().