ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
ISF::HepMCHelper Class Reference

#include <HepMCHelper.h>

Collaboration diagram for ISF::HepMCHelper:

Public Member Functions

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

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 More...
 
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. More...
 

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

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

static 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: