#include <MultiAssociation.h>
Classes | |
class | FastFiller |
class | LazyFiller |
Public Types | |
typedef C | Collection |
typedef boost::sub_range< const Collection > | const_range |
typedef boost::sub_range< Collection > | range |
Public Member Functions | |
bool | contains (const edm::ProductID &id) const |
True if there are keys from this product id. More... | |
unsigned int | dataSize () const |
Returns the number of values. More... | |
bool | empty () const |
Returns true if there are no keys. More... | |
template<typename HandleType > | |
FastFiller | fastFiller (const HandleType &handle) |
range | get (const edm::ProductID &id, unsigned int t) |
Get a range of values for this product id and index (fast) More... | |
const_range | get (const edm::ProductID &id, unsigned int t) const |
Get a range of values for this product id and index (fast) More... | |
Collection | getValues (const edm::ProductID &id, unsigned int t) const |
Get a copy of the values for this product id and index (slow!) More... | |
template<typename RefKey > | |
Collection | getValues (const RefKey &r) const |
Get a copy of the values for this key (slow!) More... | |
template<typename HandleType > | |
LazyFiller | lazyFiller (const HandleType &h, bool fillOnExit=false) |
MultiAssociation () | |
template<typename RefKey > | |
range | operator[] (const RefKey &r) |
Get a range of values for this key (fast) More... | |
template<typename RefKey > | |
const_range | operator[] (const RefKey &r) const |
Get a range of values for this key (fast) More... | |
unsigned int | size () const |
Returns the number of keys. More... | |
void | swap (MultiAssociation &other) |
Static Public Member Functions | |
static short | Class_Version () |
Private Types | |
typedef helper::IndexRangeAssociation | Indices |
Private Attributes | |
Collection | data_ |
Indices | indices_ |
Friends | |
class | FastFiller |
class | LazyFiller |
Definition at line 151 of file MultiAssociation.h.
typedef C edm::MultiAssociation< C >::Collection |
Definition at line 153 of file MultiAssociation.h.
typedef boost::sub_range<const Collection> edm::MultiAssociation< C >::const_range |
Definition at line 154 of file MultiAssociation.h.
|
private |
Definition at line 296 of file MultiAssociation.h.
typedef boost::sub_range<Collection> edm::MultiAssociation< C >::range |
Definition at line 155 of file MultiAssociation.h.
|
inline |
Definition at line 157 of file MultiAssociation.h.
|
inlinestatic |
Definition at line 293 of file MultiAssociation.h.
|
inline |
True if there are keys from this product id.
Definition at line 178 of file MultiAssociation.h.
References edm::helper::IndexRangeAssociation::contains(), and edm::MultiAssociation< C >::indices_.
Referenced by LumiList.LumiList::__contains__().
|
inline |
Returns the number of values.
Definition at line 195 of file MultiAssociation.h.
References edm::MultiAssociation< C >::data_.
|
inline |
Returns true if there are no keys.
Definition at line 201 of file MultiAssociation.h.
References edm::helper::IndexRangeAssociation::empty(), and edm::MultiAssociation< C >::indices_.
|
inline |
Definition at line 236 of file MultiAssociation.h.
References edm::MultiAssociation< C >::FastFiller, and patZpeak::handle.
MultiAssociation< C >::range edm::MultiAssociation< C >::get | ( | const edm::ProductID & | id, |
unsigned int | t | ||
) |
Get a range of values for this product id and index (fast)
Definition at line 316 of file MultiAssociation.h.
References edm::MultiAssociation< C >::data_, edm::helper::IndexRangeAssociation::get(), edm::MultiAssociation< C >::indices_, and crabWrapper::key.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
MultiAssociation< C >::const_range edm::MultiAssociation< C >::get | ( | const edm::ProductID & | id, |
unsigned int | t | ||
) | const |
Get a range of values for this product id and index (fast)
Definition at line 310 of file MultiAssociation.h.
References edm::MultiAssociation< C >::data_, edm::helper::IndexRangeAssociation::get(), edm::MultiAssociation< C >::indices_, and crabWrapper::key.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), edm::MultiAssociation< C >::getValues(), edm::MultiAssociation< C >::operator[](), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
MultiAssociation< C >::Collection edm::MultiAssociation< C >::getValues | ( | const edm::ProductID & | id, |
unsigned int | t | ||
) | const |
Get a copy of the values for this product id and index (slow!)
Definition at line 322 of file MultiAssociation.h.
References edm::MultiAssociation< C >::get(), crabWrapper::key, runTheMatrix::ret, and contentValuesCheck::values.
|
inline |
Get a copy of the values for this key (slow!)
Definition at line 173 of file MultiAssociation.h.
References alignCSCRings::r.
|
inline |
Definition at line 288 of file MultiAssociation.h.
References edm::MultiAssociation< C >::LazyFiller.
|
inline |
Get a range of values for this key (fast)
Definition at line 167 of file MultiAssociation.h.
References edm::MultiAssociation< C >::get(), and alignCSCRings::r.
|
inline |
Get a range of values for this key (fast)
Definition at line 161 of file MultiAssociation.h.
References edm::MultiAssociation< C >::get(), and alignCSCRings::r.
|
inline |
Returns the number of keys.
Definition at line 198 of file MultiAssociation.h.
References edm::MultiAssociation< C >::indices_, and edm::helper::IndexRangeAssociation::size().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 189 of file MultiAssociation.h.
References edm::MultiAssociation< C >::data_, edm::MultiAssociation< C >::indices_, trackingPlots::other, and edm::helper::IndexRangeAssociation::swap().
|
friend |
Definition at line 233 of file MultiAssociation.h.
Referenced by edm::MultiAssociation< C >::fastFiller().
|
friend |
Definition at line 285 of file MultiAssociation.h.
Referenced by edm::MultiAssociation< C >::lazyFiller().
|
private |
Definition at line 298 of file MultiAssociation.h.
Referenced by edm::MultiAssociation< C >::dataSize(), edm::MultiAssociation< C >::get(), and edm::MultiAssociation< C >::swap().
|
private |
Definition at line 297 of file MultiAssociation.h.
Referenced by edm::MultiAssociation< C >::contains(), edm::MultiAssociation< C >::empty(), edm::MultiAssociation< C >::get(), edm::MultiAssociation< C >::size(), and edm::MultiAssociation< C >::swap().