#include <EventHypothesisTools.h>
Public Member Functions | |
ByPdgId (int32_t pdgCode, bool alsoAntiparticle=true) | |
virtual bool | operator() (const CandRefType &cand, const std::string &role) const |
virtual | ~ByPdgId () |
Public Member Functions inherited from pat::eventhypothesis::ParticleFilter | |
bool | operator() (const std::pair< std::string, CandRefType > &p) const |
virtual | ~ParticleFilter () |
Private Attributes | |
bool | antiparticle_ |
int32_t | pdgCode_ |
Definition at line 34 of file EventHypothesisTools.h.
|
explicit |
Definition at line 31 of file EventHypothesisTools.cc.
|
inlinevirtual |
Definition at line 37 of file EventHypothesisTools.h.
|
virtual |
Implements pat::eventhypothesis::ParticleFilter.
Definition at line 37 of file EventHypothesisTools.cc.
References abs, antiparticle_, and pdgCode_.
|
private |
Definition at line 41 of file EventHypothesisTools.h.
Referenced by operator()().
|
private |
Definition at line 40 of file EventHypothesisTools.h.
Referenced by operator()().