#include <FastCandMatcher.h>
Public Types | |
typedef edm::AssociationMap< edm::OneToOne< C, reco::CandidateCollection > > | map_type |
map type More... | |
typedef std::vector< const map_type * > | map_vector |
map vector More... | |
Public Member Functions | |
FastCandMatcher (const map_vector &maps) | |
constructor More... | |
FastCandMatcher (const map_type &map) | |
constructor More... | |
const reco::Candidate * | operator() (const reco::Candidate &) const |
get match from transient reference More... | |
Protected Member Functions | |
const std::vector< const map_type * > & | maps () const |
Private Attributes | |
std::vector< const map_type * > | maps_ |
pointers to stored maps More... | |
Definition at line 15 of file FastCandMatcher.h.
typedef edm::AssociationMap<edm::OneToOne<C, reco::CandidateCollection> > FastCandMatcher< C >::map_type |
map type
Definition at line 18 of file FastCandMatcher.h.
typedef std::vector<const map_type *> FastCandMatcher< C >::map_vector |
map vector
Definition at line 20 of file FastCandMatcher.h.
|
explicit |
constructor
|
explicit |
constructor
|
inlineprotected |
Definition at line 29 of file FastCandMatcher.h.
References FastCandMatcher< C >::maps_.
const reco::Candidate * FastCandMatcher< C >::operator() | ( | const reco::Candidate & | c | ) | const |
get match from transient reference
Definition at line 46 of file FastCandMatcher.h.
References reco::Candidate::begin(), reco::Candidate::end(), reco::Candidate::hasMasterClone(), mps_fire::i, funct::m, FastCandMatcher< C >::maps_, reco::Candidate::masterClone(), reco::Candidate::mother(), reco::Candidate::numberOfDaughters(), reco::Candidate::numberOfMothers(), reco::Candidate::pdgId(), reco::Candidate::status(), edm::swap(), and tmp.
|
private |
pointers to stored maps
Definition at line 32 of file FastCandMatcher.h.
Referenced by FastCandMatcher< C >::maps(), and FastCandMatcher< C >::operator()().