struct Rivet::HasAbsPID

Rivet::HasAbsPID

Module: Particle classifier -> bool functors

|PID| matching functor

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

Name
HasAbsPID(PdgId pid)
HasAbsPID(vector< PdgId > pids)
HasAbsPID(initializer_list< PdgId > pids)
virtual booloperator()(const Particle & p) const

Public Attributes

Name
vector< PdgId >targetapids

Additional inherited members

Public Functions inherited from Rivet::BoolParticleFunctor

Name
virtual~BoolParticleFunctor()

Public Functions Documentation

function HasAbsPID

inline HasAbsPID(
    PdgId pid
)

function HasAbsPID

inline HasAbsPID(
    vector< PdgId > pids
)

function HasAbsPID

inline HasAbsPID(
    initializer_list< PdgId > pids
)

function operator()

inline virtual bool operator()(
    const Particle & p
) const

Reimplements: Rivet::BoolParticleFunctor::operator()

Public Attributes Documentation

variable targetapids

vector< PdgId > targetapids;

Updated on 2022-08-07 at 20:17:17 +0100