ATLAS Offline Software
Loading...
Searching...
No Matches
ISF::HepMCHelper Class Reference

Simplistic Particle cut filter. More...

#include <HepMCHelper.h>

Collaboration diagram for ISF::HepMCHelper:

Public Member Functions

 HepMCHelper ()
 Constructor.
virtual ~HepMCHelper ()
 virtual Destructor

Static Public Member Functions

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.

Detailed Description

Simplistic Particle cut filter.

Author
Elmar.Ritsch -at- cern.ch

Definition at line 30 of file HepMCHelper.h.

Constructor & Destructor Documentation

◆ HepMCHelper()

ISF::HepMCHelper::HepMCHelper ( )
inline

Constructor.

◆ ~HepMCHelper()

virtual ISF::HepMCHelper::~HepMCHelper ( )
inlinevirtual

virtual Destructor

Member Function Documentation

◆ 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()

HepMC::ConstGenParticlePtr ISF::HepMCHelper::findRealtiveWithPDG ( HepMC::ConstGenParticlePtr & genParticle,
const HepMC::IteratorRange & relation,
const std::set< int > & relativesPDG )
inlinestatic

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: