#include <EventHypothesisTools.h>
Public Member Functions | |
ByPdgId (int32_t pdgCode, bool alsoAntiparticle=true) | |
bool | operator() (const CandRefType &cand, const std::string &role) const override |
~ByPdgId () override | |
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 43 of file EventHypothesisTools.h.
|
explicit |
Definition at line 31 of file EventHypothesisTools.cc.
|
inlineoverride |
Definition at line 46 of file EventHypothesisTools.h.
|
overridevirtual |
Implements pat::eventhypothesis::ParticleFilter.
Definition at line 34 of file EventHypothesisTools.cc.
References funct::abs(), antiparticle_, and pdgCode_.
|
private |
Definition at line 51 of file EventHypothesisTools.h.
Referenced by operator()().
|
private |
Definition at line 50 of file EventHypothesisTools.h.
Referenced by operator()().