#include <CandMatcherNew.h>
Public Types | |
typedef edm::Association< C > | map_type |
map type More... | |
typedef std::vector< const map_type * > | map_vector |
typedef edm::Association< C >::reference_type | reference_type |
ref type More... | |
Public Member Functions | |
CandMatcher (const map_vector &maps) | |
constructor More... | |
CandMatcher (const map_type &map) | |
constructor More... | |
reference_type | operator[] (const reco::Candidate &) const |
get match from transient reference More... | |
map_type::refprod_type | ref () const |
reference to matched collection More... | |
virtual | ~CandMatcher () |
destructor More... | |
Protected Attributes | |
map_type | map_ |
match map at leaf level More... | |
Definition at line 19 of file CandMatcherNew.h.
typedef edm::Association<C> reco::utilsNew::CandMatcher< C >::map_type |
map type
Definition at line 22 of file CandMatcherNew.h.
typedef std::vector<const map_type *> reco::utilsNew::CandMatcher< C >::map_vector |
Definition at line 25 of file CandMatcherNew.h.
typedef edm::Association<C>::reference_type reco::utilsNew::CandMatcher< C >::reference_type |
ref type
Definition at line 24 of file CandMatcherNew.h.
|
explicit |
constructor
|
explicit |
constructor
|
virtual |
CandMatcher< C >::reference_type CandMatcher< C >::operator[] | ( | const reco::Candidate & | c | ) | const |
get match from transient reference
Definition at line 60 of file CandMatcherNew.h.
References trackingPlots::common, edmIntegrityCheck::d, reco::Candidate::daughter(), reco::Candidate::hasMasterClone(), mps_fire::i, training_settings::idx, edm::Ref< C, T, F >::isNull(), edm::Ref< C, T, F >::key(), funct::m, reco::utilsNew::CandMatcher< C >::map_, funct::master(), reco::Candidate::masterClone(), reco::Candidate::numberOfDaughters(), edm::Association< C >::ref(), reco::swap(), and tmp.
|
inline |
reference to matched collection
Definition at line 35 of file CandMatcherNew.h.
References reco::utilsNew::CandMatcher< C >::map_, and edm::Association< C >::ref().
Referenced by reco::modulesNew::MCTruthCompositeMatcher::produce().
|
protected |
match map at leaf level
Definition at line 38 of file CandMatcherNew.h.
Referenced by reco::utilsNew::CandMatcher< C >::operator[](), and reco::utilsNew::CandMatcher< C >::ref().