Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepMC3Event.hpp File Reference
#include "Acts/Definitions/Units.hpp"
#include "ActsExamples/EventData/SimParticle.hpp"
#include "ActsExamples/EventData/SimVertex.hpp"
#include <HepMC3/FourVector.h>
#include <HepMC3/GenEvent.h>
#include <HepMC3/GenParticle.h>
#include <HepMC3/GenVertex.h>
+ Include dependency graph for HepMC3Event.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ActsExamples
 
namespace  ActsExamples::HepMC3Event
 

Functions

void ActsExamples::HepMC3Event::momentumUnit (HepMC3::GenEvent &event, const double momentumUnit)
 Sets new units for momentums.
 
void ActsExamples::HepMC3Event::lengthUnit (HepMC3::GenEvent &event, const double lengthUnit)
 Sets new units for lengths.
 
void ActsExamples::HepMC3Event::shiftPositionBy (HepMC3::GenEvent &event, const Acts::Vector3 &deltaPos, const double deltaTime)
 Shifts the positioning of an event in space and time.
 
void ActsExamples::HepMC3Event::shiftPositionTo (HepMC3::GenEvent &event, const Acts::Vector3 &pos, const double time)
 Shifts the positioning of an event to a paint in space and time.
 
void ActsExamples::HepMC3Event::shiftPositionTo (HepMC3::GenEvent &event, const Acts::Vector3 &pos)
 Shifts the positioning of an event to a paint in space.
 
void ActsExamples::HepMC3Event::shiftPositionTo (HepMC3::GenEvent &event, const double time)
 Shifts the positioning of an event to a paint in time.
 
void ActsExamples::HepMC3Event::addParticle (HepMC3::GenEvent &event, const std::shared_ptr< SimParticle > &particle)
 Adds a new particle.
 
void ActsExamples::HepMC3Event::addVertex (HepMC3::GenEvent &event, const std::shared_ptr< SimVertex > &vertex)
 Adds a new vertex.
 
void ActsExamples::HepMC3Event::removeParticle (HepMC3::GenEvent &event, const std::shared_ptr< SimParticle > &particle)
 Removes a particle from the record.
 
void ActsExamples::HepMC3Event::removeVertex (HepMC3::GenEvent &event, const std::shared_ptr< SimVertex > &vertex)
 Removes a vertex from the record.
 
double ActsExamples::HepMC3Event::momentumUnit (const HepMC3::GenEvent &event)
 Getter of the unit of momentum used.
 
double ActsExamples::HepMC3Event::lengthUnit (const HepMC3::GenEvent &event)
 Getter of the unit of length used.
 
Acts::Vector3 ActsExamples::HepMC3Event::eventPos (const HepMC3::GenEvent &event)
 Getter of the position of the event.
 
double ActsExamples::HepMC3Event::eventTime (const HepMC3::GenEvent &event)
 Getter of the time of the event.
 
std::vector< SimParticle > ActsExamples::HepMC3Event::particles (const HepMC3::GenEvent &event)
 Get list of particles.
 
std::vector< std::unique_ptr
< SimVertex > > 
ActsExamples::HepMC3Event::vertices (const HepMC3::GenEvent &event)
 Get list of vertices.
 
std::vector< SimParticle > ActsExamples::HepMC3Event::beams (const HepMC3::GenEvent &event)
 Get beam particles.
 
std::vector< SimParticle > ActsExamples::HepMC3Event::finalState (const HepMC3::GenEvent &event)
 Get final state particles.