#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 34 of file EventHypothesisTools.h.
|
explicit |
Definition at line 31 of file EventHypothesisTools.cc.
|
inlineoverride |
Definition at line 37 of file EventHypothesisTools.h.
References pat::eventhypothesis::AndFilter::operator()(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements pat::eventhypothesis::ParticleFilter.
Definition at line 37 of file EventHypothesisTools.cc.
References funct::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()().