#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 45 of file EventHypothesisTools.h.
|
explicit |
Definition at line 32 of file EventHypothesisTools.cc.
|
inlineoverride |
Definition at line 48 of file EventHypothesisTools.h.
|
overridevirtual |
Implements pat::eventhypothesis::ParticleFilter.
Definition at line 35 of file EventHypothesisTools.cc.
References funct::abs(), antiparticle_, and pdgCode_.
|
private |
Definition at line 53 of file EventHypothesisTools.h.
Referenced by operator()().
|
private |
Definition at line 52 of file EventHypothesisTools.h.
Referenced by operator()().