#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 EcalTangentSkim_cfg::o, 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(), HLTBTagPerformanceAnalyzer::analyze(), HLTObjectMonitor::analyze(), JetVertexChecker::filter(), HLTJetTagWithMatching< T >::findCSV(), HLTJetSortedVBFFilter< T >::findCSV(), HLTJetHbbFilter< T >::findCSV(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), IPProducerHelpers::FromJTA::makeBaseVector(), JetChargeProducer::produce(), ConeIsolation::produce(), PFRecoTauTagInfoProducer::produce(), and reco::modules::JetFlavourIdentifier::produce().
|
inlinestatic |
Definition at line 112 of file AssociationVector.h.
|
inline |
Definition at line 237 of file AssociationVector.h.
References submitPVValidationJobs::t.
|
inline |
Definition at line 232 of file AssociationVector.h.
Referenced by ConeIsolation::produce(), and reco::modules::JetFlavourIdentifier::produce().
|
inline |
Definition at line 109 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector().
Referenced by BTagPerformanceAnalyzerOnData::analyze(), BTagPerformanceAnalyzerMC::analyze(), HLTBTagPerformanceAnalyzer::analyze(), HLTObjectMonitor::analyze(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), JetVertexChecker::filter(), HLTJetTagWithMatching< T >::findCSV(), HLTJetSortedVBFFilter< T >::findCSV(), HLTJetHbbFilter< T >::findCSV(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), IPProducerHelpers::FromJTA::makeBaseVector(), JetChargeProducer::produce(), PFRecoTauTagInfoProducer::produce(), and reco::modules::JetFlavourIdentifier::produce().
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().
|
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 mps_fire::i, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_.
|
inline |
Definition at line 100 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_.
Referenced by ParticleNetJetTagMonitor::analyze(), and JetChargeProducer::produce().
|
inline |
Definition at line 204 of file AssociationVector.h.
References EcalTangentSkim_cfg::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(), get, and dqmdumpme::k.
|
inline |
Definition at line 193 of file AssociationVector.h.
References edm::checkForWrongProduct(), get, dqmdumpme::k, and submitPVValidationJobs::t.
|
inline |
Definition at line 175 of file AssociationVector.h.
References edm::checkForWrongProduct(), dqmdumpme::k, 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(), dqmdumpme::k, and relativeConstraints::value.
|
inline |
Definition at line 216 of file AssociationVector.h.
References mps_fire::i, submitPVValidationJobs::t, and heppy_batch::val.
|
inline |
Definition at line 227 of file AssociationVector.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HLTJetHbbFilter< T >::hltFilter(), ConeIsolation::produce(), and SoftLepton::produce().
|
inline |
Definition at line 246 of file AssociationVector.h.
References trackingPlots::other.
|
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__(), 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().