#include <AssociationVector.h>
Public Types | |
typedef KeyRefProd::product_type | CKey |
typedef transient_vector_type::const_iterator | const_iterator |
typedef value_type const & | const_reference |
typedef KeyRef::value_type | key_type |
typedef KeyRefProd | refprod_type |
typedef SizeType | size_type |
typedef std::vector< value_type > | transient_vector_type |
typedef std::pair< KeyRef, typename CVal::value_type > | value_type |
Public Member Functions | |
AssociationVector () | |
AssociationVector (KeyRefProd const &ref, CKey const *=nullptr) | |
AssociationVector (AssociationVector const &) | |
const_iterator | begin () const |
void | clear () |
bool | empty () const |
const_iterator | end () const |
void | fillView (ProductID const &id, std::vector< void const * > &pointers, FillViewHelperVector &helpers) const |
KeyRef | key (size_type i) const |
KeyRefProd const & | keyProduct () const |
self & | operator= (self const &) |
const_reference | operator[] (size_type n) const |
CVal::const_reference | operator[] (KeyRef const &k) const |
CVal::reference | operator[] (KeyRef const &k) |
template<typename K > | |
CVal::const_reference | operator[] (edm::Ptr< K > const &k) const |
template<typename K > | |
CVal::const_reference | operator[] (edm::RefToBase< K > const &k) const |
void | setValue (size_type i, typename CVal::value_type const &val) |
size_type | size () const |
void | swap (self &other) |
CVal::value_type const | value (size_type i) const |
~AssociationVector () | |
Static Public Member Functions | |
static short | Class_Version () |
Private Types | |
enum | CacheState { kUnset, kFilling, kSet } |
typedef AssociationVector < KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > | self |
Private Member Functions | |
void | fixup () const |
transient_vector_type const & | transientVector () const |
Private Attributes | |
CVal | data_ |
KeyRefProd | ref_ |
std::atomic < transient_vector_type * > | transientVector_ |
Definition at line 67 of file AssociationVector.h.
typedef KeyRefProd::product_type edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::CKey |
Definition at line 74 of file AssociationVector.h.
typedef transient_vector_type::const_iterator edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::const_iterator |
Definition at line 106 of file AssociationVector.h.
typedef value_type const& edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::const_reference |
Definition at line 79 of file AssociationVector.h.
typedef KeyRef::value_type edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::key_type |
Definition at line 76 of file AssociationVector.h.
typedef KeyRefProd edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::refprod_type |
Definition at line 73 of file AssociationVector.h.
|
private |
Definition at line 69 of file AssociationVector.h.
typedef SizeType edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size_type |
Definition at line 75 of file AssociationVector.h.
typedef std::vector<value_type> edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transient_vector_type |
Definition at line 78 of file AssociationVector.h.
typedef std::pair<KeyRef, typename CVal::value_type> edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::value_type |
Definition at line 77 of file AssociationVector.h.
|
private |
|
inline |
Definition at line 133 of file AssociationVector.h.
|
inline |
Definition at line 137 of file AssociationVector.h.
|
inline |
Definition at line 144 of file AssociationVector.h.
References submitPVValidationJobs::t, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
|
inline |
Definition at line 154 of file AssociationVector.h.
|
inline |
Definition at line 108 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector().
Referenced by BTagPerformanceAnalyzerOnData::analyze(), BTagPerformanceAnalyzerMC::analyze(), HLTJetTagWithMatching< T >::findCSV(), HLTJetSortedVBFFilter< T >::findCSV(), HLTJetHbbFilter< T >::findCSV(), and GenHFHadronMatcher::findHadronJets().
|
inlinestatic |
Definition at line 112 of file AssociationVector.h.
|
inline |
Definition at line 237 of file AssociationVector.h.
References submitPVValidationJobs::t.
Referenced by BeautifulSoup.Tag::setString().
|
inline |
Definition at line 232 of file AssociationVector.h.
|
inline |
Definition at line 109 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector().
Referenced by BTagPerformanceAnalyzerOnData::analyze(), BTagPerformanceAnalyzerMC::analyze(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), HLTJetTagWithMatching< T >::findCSV(), HLTJetSortedVBFFilter< T >::findCSV(), HLTJetHbbFilter< T >::findCSV(), and GenHFHadronMatcher::findHadronJets().
void edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fillView | ( | ProductID const & | id, |
std::vector< void const * > & | pointers, | ||
FillViewHelperVector & | helpers | ||
) | const |
Definition at line 269 of file AssociationVector.h.
References edm::detail::reallyFillView().
Referenced by edm::fillView().
|
inlineprivate |
Definition at line 255 of file AssociationVector.h.
References mps_fire::i, and findQualityFiles::size.
|
inline |
Definition at line 101 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_.
Referenced by TagAndProbeBtagTriggerMonitor::analyze().
|
inline |
Definition at line 100 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_.
|
inline |
Definition at line 204 of file AssociationVector.h.
References class-composition::o, and submitPVValidationJobs::t.
|
inline |
Definition at line 160 of file AssociationVector.h.
References dqmiodumpmetadata::n.
|
inline |
Definition at line 166 of file AssociationVector.h.
References edm::checkForWrongProduct(), and get.
|
inline |
Definition at line 193 of file AssociationVector.h.
References edm::checkForWrongProduct(), get, and submitPVValidationJobs::t.
|
inline |
Definition at line 175 of file AssociationVector.h.
References edm::checkForWrongProduct(), edm::ProductID::id(), edm::Ptr< T >::id(), edm::Ptr< T >::key(), and relativeConstraints::value.
CVal::const_reference edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[] | ( | edm::RefToBase< K > const & | k | ) | const |
Definition at line 184 of file AssociationVector.h.
References edm::checkForWrongProduct(), edm::ProductID::id(), edm::RefToBase< T >::id(), edm::RefToBase< T >::key(), and relativeConstraints::value.
|
inline |
Definition at line 216 of file AssociationVector.h.
References mps_fire::i, submitPVValidationJobs::t, and hgcalPerformanceValidation::val.
|
inline |
Definition at line 227 of file AssociationVector.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), BTagPerformanceAnalyzerOnData::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), and BTagPerformanceAnalyzerMC::analyze().
|
inline |
Definition at line 246 of file AssociationVector.h.
Referenced by edm::swap().
|
inlineprivate |
Definition at line 127 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::begin(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::end().
|
inline |
Definition at line 102 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, and mps_fire::i.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), TagAndProbeBtagTriggerMonitor::analyze(), average.Average::average(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
private |
Definition at line 116 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::value().
|
private |
Definition at line 117 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::key(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::keyProduct().
|
mutableprivate |
Definition at line 118 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::AssociationVector().