Analysis Software
Documentation for sPHENIX simulation software
|
Functions | |
std::unique_ptr< SimVertex > | processVertex (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns a vertex translated into Acts. | |
bool | inEvent (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns a boolean expression if a vertex is in an event translated into Acts. | |
int | id (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns a vertex translated into Acts. | |
std::vector< SimParticle > | particlesIn (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns the incoming particles of a vertex translated into Acts. | |
std::vector< SimParticle > | particlesOut (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns the outgoing particles of a vertex translated into Acts. | |
Acts::Vector3 | position (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns the position of a vertex translated into Acts. | |
double | time (const std::shared_ptr< HepMC3::GenVertex > &vertex) |
Returns the time of a vertex translated into Acts. | |
void | addParticleIn (const std::shared_ptr< HepMC3::GenVertex > &vertex, const std::shared_ptr< SimParticle > &particle) |
Adds an incoming particle to a vertex translated into Acts. | |
void | addParticleOut (const std::shared_ptr< HepMC3::GenVertex > &vertex, const std::shared_ptr< SimParticle > &particle) |
Adds an outgoing particle to a vertex translated into Acts. | |
void | removeParticleIn (const std::shared_ptr< HepMC3::GenVertex > &vertex, const std::shared_ptr< SimParticle > &particle) |
Removes an incoming particle from a vertex translated into Acts. | |
void | removeParticleOut (const std::shared_ptr< HepMC3::GenVertex > &vertex, const std::shared_ptr< SimParticle > &particle) |
Removes an outgoing particle from a vertex translated into Acts. | |
void | position (const std::shared_ptr< HepMC3::GenVertex > &vertex, const Acts::Vector3 &pos) |
Sets the position of a vertex translated into Acts. | |
void | time (const std::shared_ptr< HepMC3::GenVertex > &vertex, double time) |
Sets the time of a vertex translated into Acts. | |
void ActsExamples::HepMC3Vertex::addParticleIn | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex, |
const std::shared_ptr< SimParticle > & | particle | ||
) |
Adds an incoming particle to a vertex translated into Acts.
vertex | vertex in HepMC data type |
particle | incoming particle that will be added |
Definition at line 113 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 113 of file HepMC3Vertex.cpp
void ActsExamples::HepMC3Vertex::addParticleOut | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex, |
const std::shared_ptr< SimParticle > & | particle | ||
) |
Adds an outgoing particle to a vertex translated into Acts.
vertex | vertex in HepMC data type |
particle | outgoing particle that will be added |
Definition at line 119 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 119 of file HepMC3Vertex.cpp
int ActsExamples::HepMC3Vertex::id | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns a vertex translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 84 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 84 of file HepMC3Vertex.cpp
bool ActsExamples::HepMC3Vertex::inEvent | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns a boolean expression if a vertex is in an event translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 79 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 79 of file HepMC3Vertex.cpp
Referenced by PHG4PrimaryGeneratorAction::GeneratePrimaries(), PHG4InEventReadBack::process_event(), PHG4InEventCompress::process_event(), and PHHepMCParticleSelectorDecayProductChain::process_event().
std::vector< ActsExamples::SimParticle > ActsExamples::HepMC3Vertex::particlesIn | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns the incoming particles of a vertex translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 89 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 89 of file HepMC3Vertex.cpp
std::vector< ActsExamples::SimParticle > ActsExamples::HepMC3Vertex::particlesOut | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns the outgoing particles of a vertex translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 94 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 94 of file HepMC3Vertex.cpp
Acts::Vector3 ActsExamples::HepMC3Vertex::position | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns the position of a vertex translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 99 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 99 of file HepMC3Vertex.cpp
References vec.
void ActsExamples::HepMC3Vertex::position | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex, |
const Acts::Vector3 & | pos | ||
) |
Sets the position of a vertex translated into Acts.
vertex | vertex in HepMC data type |
pos | new position of the vertex |
Definition at line 145 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 145 of file HepMC3Vertex.cpp
References Acts::Test::pos.
std::unique_ptr< ActsExamples::SimVertex > ActsExamples::HepMC3Vertex::processVertex | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns a vertex translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 69 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 69 of file HepMC3Vertex.cpp
References ActsExamples::SimVertex::incoming, and testing::internal::move().
Referenced by ActsExamples::HepMC3Particle::endVertex(), ActsExamples::HepMC3Particle::productionVertex(), and ActsExamples::HepMC3Event::vertices().
void ActsExamples::HepMC3Vertex::removeParticleIn | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex, |
const std::shared_ptr< SimParticle > & | particle | ||
) |
Removes an incoming particle from a vertex translated into Acts.
vertex | vertex in HepMC data type |
particle | incoming particle that will be removed |
Definition at line 125 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 125 of file HepMC3Vertex.cpp
References particle.
void ActsExamples::HepMC3Vertex::removeParticleOut | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex, |
const std::shared_ptr< SimParticle > & | particle | ||
) |
Removes an outgoing particle from a vertex translated into Acts.
vertex | vertex in HepMC data type |
particle | outgoing particle that will be removed |
Definition at line 135 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 135 of file HepMC3Vertex.cpp
References particle.
double ActsExamples::HepMC3Vertex::time | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex | ) |
Returns the time of a vertex translated into Acts.
vertex | vertex in HepMC data type |
Definition at line 108 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 108 of file HepMC3Vertex.cpp
void ActsExamples::HepMC3Vertex::time | ( | const std::shared_ptr< HepMC3::GenVertex > & | vertex, |
double | time | ||
) |
Sets the time of a vertex translated into Acts.
vertex | vertex in HepMC data type |
time | new time of the vertex |
Definition at line 152 of file HepMC3Vertex.cpp.
View newest version in sPHENIX GitHub at line 152 of file HepMC3Vertex.cpp
References Acts::Test::time.