#include <MCTruthPairSelector.h>
Public Member Functions | |
MCTruthPairSelector (bool checkCharge=false) | |
template<typename I > | |
MCTruthPairSelector (const I &begin, const I &end, bool checkCharge=false) | |
bool | operator() (const T &c, const reco::Candidate &mc) const |
Private Attributes | |
bool | checkCharge_ |
std::set< int > | matchIds_ |
Definition at line 14 of file MCTruthPairSelector.h.
helpers::MCTruthPairSelector< T >::MCTruthPairSelector | ( | bool | checkCharge = false | ) | [inline] |
Definition at line 15 of file MCTruthPairSelector.h.
: checkCharge_( checkCharge ) { }
helpers::MCTruthPairSelector< T >::MCTruthPairSelector | ( | const I & | begin, |
const I & | end, | ||
bool | checkCharge = false |
||
) | [inline] |
bool helpers::MCTruthPairSelector< T >::operator() | ( | const T & | c, |
const reco::Candidate & | mc | ||
) | const [inline] |
Definition at line 23 of file MCTruthPairSelector.h.
References abs, reco::Candidate::charge(), helpers::MCTruthPairSelector< T >::checkCharge_, helpers::MCTruthPairSelector< T >::matchIds_, reco::Candidate::pdgId(), and reco::Candidate::status().
bool helpers::MCTruthPairSelector< T >::checkCharge_ [private] |
Definition at line 31 of file MCTruthPairSelector.h.
Referenced by helpers::MCTruthPairSelector< T >::operator()().
std::set<int> helpers::MCTruthPairSelector< T >::matchIds_ [private] |
Definition at line 30 of file MCTruthPairSelector.h.
Referenced by helpers::MCTruthPairSelector< T >::MCTruthPairSelector(), and helpers::MCTruthPairSelector< T >::operator()().