![]() |
![]() |
#include <PhysicsTools/CandUtils/interface/CandMatcher.h>
Public Member Functions | |
CandMatcher (const typename CandMatcherBase< C1, C2 >::map_type &map) | |
constructor | |
CandMatcher (const typename CandMatcherBase< C1, C2 >::map_vector &maps) | |
constructor | |
virtual | ~CandMatcher () |
destructor | |
Protected Member Functions | |
virtual bool | compositePreselect (const reco::Candidate &c, const reco::Candidate &m) const |
composite candidate preselection | |
virtual std::vector< const reco::Candidate * > | getDaughters (const reco::Candidate *) const |
get ultimate daughter (get all in the general case) |
Definition at line 69 of file CandMatcher.h.
CandMatcher< C1, C2 >::CandMatcher | ( | const typename CandMatcherBase< C1, C2 >::map_vector & | maps | ) | [inline, explicit] |
constructor
Definition at line 211 of file CandMatcher.h.
References CandMatcherBase< C1, C2 >::initMaps().
00211 : 00212 CandMatcherBase<C1, C2>( maps ) { 00213 CandMatcherBase<C1, C2>::initMaps(); 00214 }
CandMatcher< C1, C2 >::CandMatcher | ( | const typename CandMatcherBase< C1, C2 >::map_type & | map | ) | [inline, explicit] |
constructor
Definition at line 217 of file CandMatcher.h.
References CandMatcherBase< C1, C2 >::initMaps().
00217 : 00218 CandMatcherBase<C1, C2>( map ) { 00219 CandMatcherBase<C1, C2>::initMaps(); 00220 }
CandMatcher< C1, C2 >::~CandMatcher | ( | ) | [inline, virtual] |
bool CandMatcher< C1, C2 >::compositePreselect | ( | const reco::Candidate & | c, | |
const reco::Candidate & | m | |||
) | const [inline, protected, virtual] |
composite candidate preselection
Implements CandMatcherBase< C1, C2 >.
Definition at line 234 of file CandMatcher.h.
References reco::Candidate::numberOfDaughters().
00234 { 00235 // By default, check that the number of daughters is identical 00236 return( c.numberOfDaughters() == m.numberOfDaughters() ); 00237 }
std::vector< const reco::Candidate * > CandMatcher< C1, C2 >::getDaughters | ( | const reco::Candidate * | c | ) | const [inline, protected, virtual] |
get ultimate daughter (get all in the general case)
Implements CandMatcherBase< C1, C2 >.
Definition at line 227 of file CandMatcher.h.
References v.
00227 { 00228 std::vector<const reco::Candidate *> v; 00229 v.push_back( c ); 00230 return v; 00231 }