![]() |
ATLAS Offline Software
|
Core Athena algorithm for the Integrated Simulation Framework. More...
#include <GenParticleGenericFilter.h>
Public Member Functions | |
GenParticleGenericFilter (const std::string &t, const std::string &n, const IInterface *p) | |
Constructor with framework parameters. More... | |
~GenParticleGenericFilter () | |
Empty Destructor. More... | |
StatusCode | initialize () |
Athena algtool's Hooks. More... | |
StatusCode | finalize () |
Athena algtool's Hooks. More... | |
bool | pass (const HepMC::GenParticle &particle) const |
Interface method that returns whether the given particle passes all cuts or not. More... | |
Private Member Functions | |
bool | check_cuts_passed (const HepMC::GenParticle &particle) const |
Check whether the given particle passes all configure cuts or not. More... | |
Private Attributes | |
double | m_minEta |
the cuts defined by the use More... | |
double | m_maxEta |
max pseudorapidity cut More... | |
double | m_minPhi |
min phi cut More... | |
double | m_maxPhi |
max phi cut More... | |
double | m_minMom |
min momentum cut More... | |
double | m_maxMom |
max momentum cut More... | |
PDGCodes | m_pdgs |
list of accepted particle PDG IDs (any accepted if empty) More... | |
double | m_maxApplicableRadius |
Geometrical region (=cylindrical volume around z-axis) within which this filter is applicable. More... | |
Core Athena algorithm for the Integrated Simulation Framework.
This GenParticle filter provides a general way of selecting/filtering out particles during GenEvent read-in.
Definition at line 41 of file GenParticleGenericFilter.h.
ISF::GenParticleGenericFilter::GenParticleGenericFilter | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
Constructor with framework parameters.
Constructor.
Definition at line 25 of file GenParticleGenericFilter.cxx.
|
inline |
|
private |
Check whether the given particle passes all configure cuts or not.
Definition at line 126 of file GenParticleGenericFilter.cxx.
StatusCode ISF::GenParticleGenericFilter::finalize | ( | ) |
StatusCode ISF::GenParticleGenericFilter::initialize | ( | ) |
bool ISF::GenParticleGenericFilter::pass | ( | const HepMC::GenParticle & | particle | ) | const |
Interface method that returns whether the given particle passes all cuts or not.
Returns whether the given particle passes all cuts or not.
Definition at line 102 of file GenParticleGenericFilter.cxx.
|
private |
Geometrical region (=cylindrical volume around z-axis) within which this filter is applicable.
Definition at line 79 of file GenParticleGenericFilter.h.
|
private |
max pseudorapidity cut
Definition at line 71 of file GenParticleGenericFilter.h.
|
private |
max momentum cut
Definition at line 75 of file GenParticleGenericFilter.h.
|
private |
max phi cut
Definition at line 73 of file GenParticleGenericFilter.h.
|
private |
the cuts defined by the use
min pseudorapidity cut
Definition at line 70 of file GenParticleGenericFilter.h.
|
private |
min momentum cut
Definition at line 74 of file GenParticleGenericFilter.h.
|
private |
min phi cut
Definition at line 72 of file GenParticleGenericFilter.h.
|
private |
list of accepted particle PDG IDs (any accepted if empty)
Definition at line 76 of file GenParticleGenericFilter.h.