![]() |
EpIC 1.1.0
Monte Carlo generator for exclusive processes
|
Vertex representation. More...
#include <Vertex.h>
Public Member Functions | |
| Vertex () | |
| Vertex (const Vertex &other) | |
| virtual | ~Vertex () |
| virtual std::string | toString () const |
| void | addParticleIn (const std::shared_ptr< Particle > &particle) |
| void | addParticleOut (const std::shared_ptr< Particle > &particle) |
| const std::vector< std::shared_ptr< Particle > > & | getParticlesIn () const |
| void | setParticlesIn (const std::vector< std::shared_ptr< Particle > > &particlesIn) |
| const std::vector< std::shared_ptr< Particle > > & | getParticlesOut () const |
| void | setParticlesOut (const std::vector< std::shared_ptr< Particle > > &particlesOut) |
Vertex representation.
This class represents a single vertex. It contains pointers to incoming and outgoing particles.
| EPIC::Vertex::Vertex | ( | ) |
Default constructor.
| EPIC::Vertex::Vertex | ( | const Vertex & | other | ) |
Copy constructor.
|
virtual |
Destructor.
| void EPIC::Vertex::addParticleIn | ( | const std::shared_ptr< Particle > & | particle | ) |
Add incoming particle.
| void EPIC::Vertex::addParticleOut | ( | const std::shared_ptr< Particle > & | particle | ) |
Add outgoing particle.
| const std::vector< std::shared_ptr< Particle > > & EPIC::Vertex::getParticlesIn | ( | ) | const |
Get references to incoming particles.
| const std::vector< std::shared_ptr< Particle > > & EPIC::Vertex::getParticlesOut | ( | ) | const |
Get references to outgoing particles.
| void EPIC::Vertex::setParticlesIn | ( | const std::vector< std::shared_ptr< Particle > > & | particlesIn | ) |
Set references to incoming particles.
| void EPIC::Vertex::setParticlesOut | ( | const std::vector< std::shared_ptr< Particle > > & | particlesOut | ) |
Set references to outgoing particles.