#include <TransientProductLookupMap.h>
Public Types | |
typedef ProductLookupIndexList::const_iterator | const_iterator |
typedef std::map< std::pair < TypeInBranchType, ConstBranchDescription const * > , ProductTransientIndex, CompareTypeInBranchTypeConstBranchDescription > | FillFromMap |
typedef std::vector < ProductLookupIndex > | ProductLookupIndexList |
typedef std::vector< std::pair < TypeInBranchType, BranchDescriptionIndex > > | TypeInBranchTypeLookup |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
std::pair< const_iterator, const_iterator > | equal_range (TypeInBranchType const &) const |
returns a pair of iterators that define the range for items matching the TypeInBranchType More... | |
std::pair< const_iterator, const_iterator > | equal_range (TypeInBranchType const &, std::string const &, std::string const &) const |
int | fillCount () const |
void | fillFrom (FillFromMap const &) |
void | reorderIfNecessary (BranchType, ProcessHistory const &, std::string const &iNewProcessName) |
reorders the ProductLookupIndexes for the BranchType based on the processing ordering More... | |
void | reset () |
TransientProductLookupMap () | |
Private Attributes | |
TypeInBranchTypeLookup | branchLookup_ |
int | fillCount_ |
std::vector< ProcessHistoryID > | historyIDsForBranchType_ |
std::vector< std::vector < std::string > > | processNameOrderingForBranchType_ |
ProductLookupIndexList | productLookupIndexList_ |
Definition at line 49 of file TransientProductLookupMap.h.
typedef ProductLookupIndexList::const_iterator edm::TransientProductLookupMap::const_iterator |
Definition at line 55 of file TransientProductLookupMap.h.
typedef std::map<std::pair<TypeInBranchType, ConstBranchDescription const*>, ProductTransientIndex, CompareTypeInBranchTypeConstBranchDescription> edm::TransientProductLookupMap::FillFromMap |
Definition at line 59 of file TransientProductLookupMap.h.
typedef std::vector<ProductLookupIndex> edm::TransientProductLookupMap::ProductLookupIndexList |
Definition at line 53 of file TransientProductLookupMap.h.
typedef std::vector<std::pair<TypeInBranchType, BranchDescriptionIndex> > edm::TransientProductLookupMap::TypeInBranchTypeLookup |
Definition at line 52 of file TransientProductLookupMap.h.
TransientProductLookupMap::TransientProductLookupMap | ( | ) |
Definition at line 60 of file TransientProductLookupMap.cc.
|
inline |
Definition at line 85 of file TransientProductLookupMap.h.
References productLookupIndexList_.
Referenced by edm::Principal::findGroupByLabel().
|
inline |
Definition at line 87 of file TransientProductLookupMap.h.
References productLookupIndexList_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and edm::Principal::findGroupByLabel().
std::pair< TransientProductLookupMap::const_iterator, TransientProductLookupMap::const_iterator > TransientProductLookupMap::equal_range | ( | TypeInBranchType const & | iKey | ) | const |
returns a pair of iterators that define the range for items matching the TypeInBranchType
Definition at line 384 of file TransientProductLookupMap.cc.
References branchLookup_, and productLookupIndexList_.
Referenced by equal_range(), edm::Principal::findGroup(), edm::Principal::findGroupByLabel(), edm::Principal::findGroups(), and edm::PrincipalGetAdapter::getBranchDescription().
std::pair< TransientProductLookupMap::const_iterator, TransientProductLookupMap::const_iterator > TransientProductLookupMap::equal_range | ( | TypeInBranchType const & | iKey, |
std::string const & | moduleLabel, | ||
std::string const & | productInstanceName | ||
) | const |
returns a pair of iterators that define the range for items matching the TypeInBranchType, the module label, and the product instance name
Definition at line 401 of file TransientProductLookupMap.cc.
References equal_range().
|
inline |
Definition at line 89 of file TransientProductLookupMap.h.
References fillCount_.
Referenced by edm::Principal::findGroupByLabel().
void TransientProductLookupMap::fillFrom | ( | FillFromMap const & | iMap | ) |
Definition at line 313 of file TransientProductLookupMap.cc.
References branchLookup_, fillCount_, edm::fillInProcessIndexes(), historyIDsForBranchType_, cmsDriverOptions::isFirst, edm::NumBranchTypes, processNameOrderingForBranchType_, and productLookupIndexList_.
Referenced by edm::ProductRegistry::initializeLookupTables().
void TransientProductLookupMap::reorderIfNecessary | ( | BranchType | iBranch, |
ProcessHistory const & | iHistory, | ||
std::string const & | iNewProcessName | ||
) |
reorders the ProductLookupIndexes for the BranchType based on the processing ordering
Definition at line 180 of file TransientProductLookupMap.cc.
References edm::ProcessHistory::begin(), branchLookup_, edm::ProcessHistory::empty(), edm::ProcessHistory::end(), fillCount_, edm::fillInProcessIndexes(), spr::find(), historyIDsForBranchType_, edm::ProcessHistory::id(), processNameOrderingForBranchType_, productLookupIndexList_, edm::ProcessHistory::rbegin(), edm::ProcessHistory::rend(), python.multivaluedict::sort(), and cond::rpcobtemp::temp.
void TransientProductLookupMap::reset | ( | void | ) |
Definition at line 76 of file TransientProductLookupMap.cc.
References branchLookup_, fillCount_, historyIDsForBranchType_, i, edm::NumBranchTypes, processNameOrderingForBranchType_, and productLookupIndexList_.
Referenced by BeautifulSoup.BeautifulStoneSoup::__init__().
|
private |
Definition at line 93 of file TransientProductLookupMap.h.
Referenced by equal_range(), fillFrom(), reorderIfNecessary(), and reset().
|
private |
Definition at line 97 of file TransientProductLookupMap.h.
Referenced by fillCount(), fillFrom(), reorderIfNecessary(), and reset().
|
private |
Definition at line 95 of file TransientProductLookupMap.h.
Referenced by fillFrom(), reorderIfNecessary(), and reset().
|
private |
Definition at line 96 of file TransientProductLookupMap.h.
Referenced by fillFrom(), reorderIfNecessary(), and reset().
|
private |
Definition at line 94 of file TransientProductLookupMap.h.
Referenced by begin(), end(), equal_range(), fillFrom(), reorderIfNecessary(), and reset().