ATLAS Offline Software
HepMCHelper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_EVENT_HEPMCHELPER_H
6 #define ISF_EVENT_HEPMCHELPER_H 1
7 
8 // Gaudi & Athena basics
10 
11 // ISF includes
12 #include "ISF_Event/ISFParticle.h"
13 
14 // HepMC includes
15 #include "AtlasHepMC/GenRanges.h"
16 #include "AtlasHepMC/GenVertex.h"
18 
19 // forward declarations
21 
22 namespace ISF {
23 
30  class HepMCHelper {
31 
32  public:
34  inline HepMCHelper();
35 
37  inline virtual ~HepMCHelper();
38 
45  static inline HepMC::IteratorRange convertIteratorRange( int intItRange );
46 
52  const HepMC::IteratorRange &relation,
53  const std::set<int> &relativesPDG );
54  };
55 
56 }
57 
58 // include inline functions file
60 
61 #endif //> !ISF_EVENT_HEPMCHELPER_H
GenVertex.h
GenParticle_fwd.h
ISFParticle.h
AthAlgTool.h
IteratorRange.h
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
ISF::HepMCHelper::HepMCHelper
HepMCHelper()
Constructor.
ISF::HepMCHelper::findRealtiveWithPDG
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 ...
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
HepMCHelper.icc
ISF::HepMCHelper::convertIteratorRange
static HepMC::IteratorRange convertIteratorRange(int intItRange)
convert an integer into HepMC::IteratorRange 0 -> HepMC::parents 1 -> HepMC::family 2 -> HepMC::ances...
GenRanges.h
ISF::HepMCHelper
Definition: HepMCHelper.h:30
ISF::HepMCHelper::~HepMCHelper
virtual ~HepMCHelper()
virtual Destructor