struct Rivet::HasPID

Rivet::HasPID

Module: Particle classifier -> bool functors

PID matching functor.

#include <ParticleUtils.hh>

Inherits from Rivet::BoolParticleFunctor

Public Functions

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

Public Attributes

Name
vector< PdgId >targetpids

Additional inherited members

Public Functions inherited from Rivet::BoolParticleFunctor

Name
virtual~BoolParticleFunctor()

Public Functions Documentation

function HasPID

inline HasPID(
    PdgId pid
)

function HasPID

inline HasPID(
    vector< PdgId > pids
)

function HasPID

inline HasPID(
    initializer_list< PdgId > pids
)

function operator()

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

Reimplements: Rivet::BoolParticleFunctor::operator()

Public Attributes Documentation

variable targetpids

vector< PdgId > targetpids;

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