![]() |
EpIC 1.1.0
Monte Carlo generator for exclusive processes
|
Single event. More...
#include <Event.h>
Public Member Functions | |
| Event () | |
| Event (const Event &other) | |
| virtual | ~Event () |
| std::string | toString () const |
| void | alterParticleCode (size_t i, ParticleCodeType::Type code) |
| const std::vector< std::pair< ParticleCodeType::Type, std::shared_ptr< Particle > > > & | getParticles () const |
| void | setParticles (const std::vector< std::pair< ParticleCodeType::Type, std::shared_ptr< Particle > > > &particles) |
| void | addParticle (const std::pair< ParticleCodeType::Type, std::shared_ptr< Particle > > &particle) |
| const std::vector< std::shared_ptr< Vertex > > & | getVertices () const |
| void | setVertices (const std::vector< std::shared_ptr< Vertex > > &vertices) |
| void | addVertex (std::shared_ptr< Vertex > vertex) |
| const std::map< EventAttributeType::Type, double > & | getAttributes () const |
| void | setAttributes (const std::map< EventAttributeType::Type, double > &attributes) |
| void | addAttribute (EventAttributeType::Type type, double value) |
Single event.
This class defines a single event containing events and vertices, and eventually a weight.
| EPIC::Event::Event | ( | ) |
Default constructor.
| EPIC::Event::Event | ( | const Event & | other | ) |
Copy constructor.
|
virtual |
Destructor.
| void EPIC::Event::addAttribute | ( | EventAttributeType::Type | type, |
| double | value | ||
| ) |
Add attribute.
| void EPIC::Event::addParticle | ( | const std::pair< ParticleCodeType::Type, std::shared_ptr< Particle > > & | particle | ) |
Add particle.
| void EPIC::Event::addVertex | ( | std::shared_ptr< Vertex > | vertex | ) |
Add vertex.
| void EPIC::Event::alterParticleCode | ( | size_t | i, |
| ParticleCodeType::Type | code | ||
| ) |
Alter code of particle specified by iterator.
| const std::map< EventAttributeType::Type, double > & EPIC::Event::getAttributes | ( | ) | const |
Get attributes.
| const std::vector< std::pair< ParticleCodeType::Type, std::shared_ptr< Particle > > > & EPIC::Event::getParticles | ( | ) | const |
Get particles.
| const std::vector< std::shared_ptr< Vertex > > & EPIC::Event::getVertices | ( | ) | const |
Get vertices.
| void EPIC::Event::setAttributes | ( | const std::map< EventAttributeType::Type, double > & | attributes | ) |
Set attributes.
| void EPIC::Event::setParticles | ( | const std::vector< std::pair< ParticleCodeType::Type, std::shared_ptr< Particle > > > & | particles | ) |
Set particles.
| void EPIC::Event::setVertices | ( | const std::vector< std::shared_ptr< Vertex > > & | vertices | ) |
Set vertices.