#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 *=0) | |
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 62 of file AssociationVector.h.
typedef KeyRefProd::product_type edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::CKey |
Definition at line 68 of file AssociationVector.h.
typedef transient_vector_type::const_iterator edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::const_iterator |
Definition at line 102 of file AssociationVector.h.
typedef value_type const& edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::const_reference |
Definition at line 73 of file AssociationVector.h.
typedef KeyRef::value_type edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::key_type |
Definition at line 70 of file AssociationVector.h.
typedef KeyRefProd edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::refprod_type |
Definition at line 67 of file AssociationVector.h.
|
private |
Definition at line 63 of file AssociationVector.h.
typedef SizeType edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size_type |
Definition at line 69 of file AssociationVector.h.
typedef std::vector<value_type> edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transient_vector_type |
Definition at line 72 of file AssociationVector.h.
typedef std::pair<KeyRef, typename CVal::value_type> edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::value_type |
Definition at line 71 of file AssociationVector.h.
|
private |
|
inline |
Definition at line 127 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::AssociationVector().
|
inline |
Definition at line 131 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::AssociationVector().
|
inline |
Definition at line 138 of file AssociationVector.h.
References protons_cff::t, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
|
inline |
Definition at line 147 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
|
inline |
Definition at line 104 of file AssociationVector.h.
Referenced by BTagPerformanceAnalyzerOnData::analyze(), BTagPerformanceAnalyzerMC::analyze(), HLTBTagPerformanceAnalyzer::analyze(), calcTopMass::analyze(), HLTObjectMonitor::analyze(), HLTObjectsMonitor::analyze(), JetVertexChecker::filter(), HLTJetTagWithMatching< T >::findCSV(), HLTJetSortedVBFFilter< T >::findCSV(), HLTJetHbbFilter< T >::findCSV(), GenHFHadronMatcher::findHadronJets(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), IPProducerHelpers::FromJTA::makeBaseVector(), JetChargeProducer::produce(), JetSignalVertexCompatibility::produce(), ConeIsolation::produce(), PFRecoTauTagInfoProducer::produce(), CaloRecoTauTagInfoProducer::produce(), and reco::modules::JetFlavourIdentifier::produce().
|
inlinestatic |
Definition at line 108 of file AssociationVector.h.
|
inline |
Definition at line 227 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, protons_cff::t, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Definition at line 222 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_.
Referenced by ConeIsolation::produce(), reco::modules::JetFlavourIdentifier::produce(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 105 of file AssociationVector.h.
Referenced by BTagPerformanceAnalyzerOnData::analyze(), BTagPerformanceAnalyzerMC::analyze(), HLTBTagPerformanceAnalyzer::analyze(), calcTopMass::analyze(), HLTObjectMonitor::analyze(), HLTObjectsMonitor::analyze(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), JetVertexChecker::filter(), HLTJetTagWithMatching< T >::findCSV(), HLTJetSortedVBFFilter< T >::findCSV(), HLTJetHbbFilter< T >::findCSV(), GenHFHadronMatcher::findHadronJets(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), IPProducerHelpers::FromJTA::makeBaseVector(), JetChargeProducer::produce(), JetSignalVertexCompatibility::produce(), PFRecoTauTagInfoProducer::produce(), CaloRecoTauTagInfoProducer::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 256 of file AssociationVector.h.
References edm::detail::reallyFillView().
Referenced by edm::fillView().
|
inlineprivate |
Definition at line 242 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, mps_fire::i, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
|
inline |
Definition at line 95 of file AssociationVector.h.
Referenced by TagAndProbeBtagTriggerMonitor::analyze().
|
inline |
Definition at line 94 of file AssociationVector.h.
Referenced by reco::tau::RecoTauDiscriminantFromDiscriminator::operator()(), JetChargeProducer::produce(), and JetSignalVertexCompatibility::produce().
|
inline |
Definition at line 195 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, connectstrParser::o, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, protons_cff::t, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
|
inline |
Definition at line 153 of file AssociationVector.h.
References gen::n, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector().
|
inline |
Definition at line 159 of file AssociationVector.h.
References edm::checkForWrongProduct(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, reco::get(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_.
|
inline |
Definition at line 185 of file AssociationVector.h.
References edm::checkForWrongProduct(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, reco::get(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, protons_cff::t, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
|
inline |
Definition at line 168 of file AssociationVector.h.
References edm::checkForWrongProduct(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, edm::Ptr< T >::id(), edm::Ptr< T >::key(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, and relativeConstraints::value.
CVal::const_reference edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[] | ( | edm::RefToBase< K > const & | k | ) | const |
Definition at line 177 of file AssociationVector.h.
References edm::checkForWrongProduct(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, edm::RefToBase< T >::id(), edm::RefToBase< T >::key(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, RecoTauValidation_cfi::reference, and relativeConstraints::value.
|
inline |
Definition at line 207 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, mps_fire::i, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, protons_cff::t, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_, and heppy_batch::val.
Referenced by Vispa.Views.PropertyView.StringProperty::buttonClicked(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Vispa.Views.PropertyView.FileVectorProperty::buttonClicked(), Vispa.Views.PropertyView.TextEditWithButtonProperty::keyPressEvent(), ElectronSqPtTkIsolationProducer::produce(), and Vispa.Views.PropertyView.TextEditWithButtonProperty::setMultiline().
|
inline |
Definition at line 217 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), BjetAnalysis::analyze(), BTagPerformanceAnalyzerOnData::analyze(), BTagPerformanceAnalyzerMC::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), TopMonitor::analyze(), closestJet(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fixup(), HLTJetHbbFilter< T >::hltFilter(), ConeIsolation::produce(), pat::GenJetFlavourInfoPreserver::produce(), BTagProbabilityToDiscriminator::produce(), SoftLepton::produce(), and CaloTauSelectorDefinition::select().
|
inline |
Definition at line 235 of file AssociationVector.h.
References edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::data_, trackingPlots::other, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::ref_, and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::transientVector_.
Referenced by edm::swap().
|
inlineprivate |
Definition at line 122 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[]().
|
inline |
Definition at line 96 of file AssociationVector.h.
References edm::fillView(), mps_fire::i, reco::JetExtendedAssociation::setValue(), and heppy_batch::val.
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(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Mixins.UsingBlock::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(), Types.vstring::insertInto(), and Vispa.Views.PropertyView.FileProperty::labelDoubleClicked().
|
private |
Definition at line 112 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::clear(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::empty(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fixup(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator=(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[](), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::setValue(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::swap().
|
private |
Definition at line 113 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::clear(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fixup(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator=(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[](), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::setValue(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::swap().
|
mutableprivate |
Definition at line 114 of file AssociationVector.h.
Referenced by edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::AssociationVector(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::clear(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fixup(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator=(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::operator[](), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::setValue(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::swap(), and edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::~AssociationVector().