Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepMC3Particle.hpp File Reference
#include "ActsExamples/EventData/SimParticle.hpp"
#include "ActsExamples/EventData/SimVertex.hpp"
#include <HepMC3/FourVector.h>
#include <HepMC3/GenParticle.h>
#include <HepMC3/GenVertex.h>
+ Include dependency graph for HepMC3Particle.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::HepMC3Particle
 

Functions

SimParticle ActsExamples::HepMC3Particle::particle (const HepMC3::ConstGenParticlePtr &particle)
 Returns the particle translated into Acts.
 
int ActsExamples::HepMC3Particle::id (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the id of the particle translated into Acts.
 
std::unique_ptr< SimVertex > ActsExamples::HepMC3Particle::productionVertex (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the production vertex of the particle translated into Acts.
 
std::unique_ptr< SimVertex > ActsExamples::HepMC3Particle::endVertex (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the end vertex of the particle translated into Acts.
 
int ActsExamples::HepMC3Particle::pdgID (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the PDG code of a particle translated into Acts.
 
Acts::Vector3 ActsExamples::HepMC3Particle::momentum (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the momentum of a particle translated into Acts.
 
double ActsExamples::HepMC3Particle::energy (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the energy of a particle translated into Acts.
 
double ActsExamples::HepMC3Particle::mass (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the mass of a particle translated into Acts.
 
double ActsExamples::HepMC3Particle::charge (const std::shared_ptr< HepMC3::GenParticle > &particle)
 Returns the charge of a particle translated into Acts.
 
void ActsExamples::HepMC3Particle::pdgID (const std::shared_ptr< HepMC3::GenParticle > &particle, const int pid)
 Sets the PDG code of a particle translated from Acts.
 
void ActsExamples::HepMC3Particle::momentum (const std::shared_ptr< HepMC3::GenParticle > &particle, const Acts::Vector3 &mom)
 Sets the momentum of a particle translated from Acts.
 
void ActsExamples::HepMC3Particle::energy (const std::shared_ptr< HepMC3::GenParticle > &particle, const double energy)
 Sets the energy of a particle translated from Acts.
 
void ActsExamples::HepMC3Particle::mass (const std::shared_ptr< HepMC3::GenParticle > &particle, const double mass)
 Sets the mass of a particle translated from Acts.