#include <SelectPid.h>
Inheritance diagram for HepMC_helper::SelectPid:
Public Member Functions | |
SelectPid (double pt, double eta, int pid) | |
~SelectPid () | |
IMCselector * | create () const |
bool | operator() (const Particle *const p) const |
bool | operator() (const Particle &p) const |
bool | operator() (const Particle &p) |
Private Attributes | |
MCCuts | m_kineCuts |
SelectType | m_selType |
int | m_id |
double | m_ptMin |
double | m_etaMax |
Definition at line 28 of file SelectPid.h.
HepMC_helper::SelectPid::SelectPid | ( | double | pt, | |
double | eta, | |||
int | pid | |||
) | [inline] |
HepMC_helper::SelectPid::~SelectPid | ( | ) | [inline] |
IMCselector * HepMC_helper::SelectPid::create | ( | ) | const [virtual] |
Implements HepMC_helper::IMCselector.
Definition at line 392 of file HepMC_helper.cxx.
00392 {return new SelectPid(*this);}
bool HepMC_helper::SelectPid::operator() | ( | const Particle *const | p | ) | const [virtual] |
Implements HepMC_helper::IMCselector.
Definition at line 387 of file HepMC_helper.cxx.
00387 { 00388 if(!m_selType(p)) return false; 00389 if(!m_kineCuts(p)) return false; 00390 return true; 00391 }
bool HepMC_helper::SelectPid::operator() | ( | const Particle & | p | ) | const |
bool HepMC_helper::IMCselector::operator() | ( | const Particle & | p | ) | [inline, inherited] |
MCCuts HepMC_helper::SelectPid::m_kineCuts [private] |
Definition at line 39 of file SelectPid.h.
SelectType HepMC_helper::SelectPid::m_selType [private] |
Definition at line 40 of file SelectPid.h.
int HepMC_helper::SelectPid::m_id [private] |
Definition at line 41 of file SelectPid.h.
double HepMC_helper::SelectPid::m_ptMin [private] |
Definition at line 42 of file SelectPid.h.
double HepMC_helper::SelectPid::m_etaMax [private] |
Definition at line 43 of file SelectPid.h.