ATLAS Offline Software
Loading...
Searching...
No Matches
HepMC::DataPool Struct Reference

#include <HepMcDataPool.h>

Collaboration diagram for HepMC::DataPool:

Classes

struct  ClearGenEvent
struct  ClearGenVertex
struct  ClearGenParticle

Public Member Functions

HepMC::GenEventgetGenEvent ()
HepMC::GenVertexPtr getGenVertex ()
HepMC::GenParticlePtr getGenParticle ()

Public Attributes

::DataPool< HepMC::GenEvent, ClearGenEventevt
::DataPool< HepMC::GenVertex, ClearGenVertexvtx
::DataPool< HepMC::GenParticle, ClearGenParticlepart

Detailed Description

Definition at line 23 of file HepMcDataPool.h.

Member Function Documentation

◆ getGenEvent()

HepMC::GenEvent * HepMC::DataPool::getGenEvent ( )
inline

Definition at line 53 of file HepMcDataPool.h.

54 {
55 return evt.nextElementPtr();
56 }
::DataPool< HepMC::GenEvent, ClearGenEvent > evt

◆ getGenParticle()

HepMC::GenParticlePtr HepMC::DataPool::getGenParticle ( )
inline

Definition at line 74 of file HepMcDataPool.h.

75 {
76 return HepMC::GenParticlePtr (part.nextElementPtr(), [](HepMC::GenParticle*){});
77 }
HepMC3::GenParticlePtr GenParticlePtr
Definition GenParticle.h:19
::DataPool< HepMC::GenParticle, ClearGenParticle > part

◆ getGenVertex()

HepMC::GenVertexPtr HepMC::DataPool::getGenVertex ( )
inline

Definition at line 63 of file HepMcDataPool.h.

64 {
65 return HepMC::GenVertexPtr (vtx.nextElementPtr(), [](HepMC::GenVertex*){});
66 }
HepMC3::GenVertexPtr GenVertexPtr
Definition GenVertex.h:23
::DataPool< HepMC::GenVertex, ClearGenVertex > vtx

Member Data Documentation

◆ evt

::DataPool<HepMC::GenEvent, ClearGenEvent> HepMC::DataPool::evt

Definition at line 52 of file HepMcDataPool.h.

◆ part

::DataPool<HepMC::GenParticle, ClearGenParticle> HepMC::DataPool::part

Definition at line 73 of file HepMcDataPool.h.

◆ vtx

::DataPool<HepMC::GenVertex, ClearGenVertex> HepMC::DataPool::vtx

Definition at line 62 of file HepMcDataPool.h.


The documentation for this struct was generated from the following file: