PYTHIA  8.312
Public Types | Public Member Functions | List of all members
SelectorWorkerPy8< T > Class Template Reference

#include <FastJet3.h>

Inheritance diagram for SelectorWorkerPy8< T >:

Public Types

typedef T(Pythia8::Particle::* Py8ParticleFnPtr) () const
 the typedef helps with the notation for member function pointers
 

Public Member Functions

 SelectorWorkerPy8 (Py8ParticleFnPtr member_fn_ptr, T value)
 
bool pass (const PseudoJet &p) const
 

Detailed Description

template<class T>
class SelectorWorkerPy8< T >

A template class to help with the creation of Selectors for Pythia particle properties. It's not necessary to understand how this works in order to use the selectors. See below for the actual list of selectors.

(But if you're curious, essentially it stores a pointer to a member function of Pythia8::Particle, and when called to select particles, executes it and checks the return value is equal to that requested in the constructor).

Constructor & Destructor Documentation

SelectorWorkerPy8 ( Py8ParticleFnPtr  member_fn_ptr,
value 
)
inline

c'tor, which takes the member fn pointer and the return value that it should be equal to

Member Function Documentation

bool pass ( const PseudoJet &  p) const
inline

the one function from SelectorWorker that must be overloaded to get functioning selection. It makes sure that the PseudoJet actually has Pythia8::Particle user info before checking its value.

no info, so false


The documentation for this class was generated from the following file: