![]() |
![]() |
#include <RecoTauCrossCleaning.h>
Public Member Functions | |
FilterPFCandByParticleId (int particleId) | |
template<typename PFCandCompatiblePtrType > | |
bool | operator() (const PFCandCompatiblePtrType &ptr) const |
Private Attributes | |
int | id_ |
Definition at line 65 of file RecoTauCrossCleaning.h.
reco::tau::xclean::FilterPFCandByParticleId::FilterPFCandByParticleId | ( | int | particleId | ) | [inline] |
Definition at line 67 of file RecoTauCrossCleaning.h.
: id_(particleId){};
bool reco::tau::xclean::FilterPFCandByParticleId::operator() | ( | const PFCandCompatiblePtrType & | ptr | ) | const [inline] |
Definition at line 70 of file RecoTauCrossCleaning.h.
References id_.
{ PFCandidatePtr pfptr(ptr); return ptr->particleId() == id_; }
int reco::tau::xclean::FilterPFCandByParticleId::id_ [private] |
Definition at line 75 of file RecoTauCrossCleaning.h.
Referenced by operator()().