Simplistic Particle cut filter.
More...
#include <HepMCHelper.h>
|
| static HepMC::IteratorRange | convertIteratorRange (int intItRange) |
| | convert an integer into HepMC::IteratorRange 0 -> HepMC::parents 1 -> HepMC::family 2 -> HepMC::ancestors 3 -> HepMC::relatives
|
| static HepMC::ConstGenParticlePtr | findRealtiveWithPDG (HepMC::ConstGenParticlePtr &genParticle, const HepMC::IteratorRange &relation, const std::set< int > &relativesPDG) |
| | check the incoming particle history to determine whether at least one particle with one of the given PDG codes appears.
|
Simplistic Particle cut filter.
- Author
- Elmar.Ritsch -at- cern.ch
Definition at line 30 of file HepMCHelper.h.
◆ HepMCHelper()
| ISF::HepMCHelper::HepMCHelper |
( |
| ) |
|
|
inline |
◆ ~HepMCHelper()
| virtual ISF::HepMCHelper::~HepMCHelper |
( |
| ) |
|
|
inlinevirtual |
◆ convertIteratorRange()
| HepMC::IteratorRange ISF::HepMCHelper::convertIteratorRange |
( |
int | intItRange | ) |
|
|
inlinestatic |
convert an integer into HepMC::IteratorRange 0 -> HepMC::parents 1 -> HepMC::family 2 -> HepMC::ancestors 3 -> HepMC::relatives
◆ findRealtiveWithPDG()
check the incoming particle history to determine whether at least one particle with one of the given PDG codes appears.
returns pointer to first found particle that matches any of the given PDG codes in relativesPDG
The documentation for this class was generated from the following file: