NEMO3 ANA event model : simulated primary event. More...
#include <sim_event_utils.h>
Public Types | |
typedef std::vector< sim_vertex > | vertex_col |
typedef std::vector< sim_particle > | particle_col |
Public Member Functions | |
virtual void | clear () |
resets the simulated primary event | |
virtual const std::string & | get_serial_tag () const |
const virtual function that returns the reference to the serialization tag | |
void | set_time (double t_) |
sets the time of the simulated primary event | |
double | get_time () const |
returns the time of the simulated primary event | |
sim_primary_event () | |
constructor | |
virtual | ~sim_primary_event () |
destructor | |
size_t | get_number_of_vertices () const |
returns the number of vertices | |
const vertex_col & | get_vertices () const |
returns the const reference of the list of vertices | |
vertex_col & | get_vertices () |
returns the reference of the list of vertices | |
const sim_vertex & | get_vertex (int i_) const |
returns the const reference to the vertex number i_ | |
void | add_vertex (const sim_vertex &) |
adds a vertex to the list of vertices | |
const sim_particle & | get_particle (int i_) const |
returns the const reference to the simulated particle number i_ | |
size_t | get_number_of_particles () const |
returns the number of simulated particles | |
void | add_particle (const sim_particle &) |
adds a particle to the list of simulated particles | |
const particle_col & | get_particles () const |
returns the const reference to the list of simulated particles | |
particle_col & | get_particles () |
returns the reference to the list of simulated particles | |
const datatools::utils::properties & | get_properties () const |
returns the const reference of the properties field | |
const datatools::utils::properties & | get_properties_ro () const |
returns the const reference of the properties field | |
datatools::utils::properties & | get_properties () |
returns the reference of the properties field | |
datatools::utils::properties & | get_properties_rw () |
returns the reference of the properties field | |
bool | is_locked () const |
returns true if the simulated primary event is locked | |
void | lock () |
sets the simulated primary event to locked | |
void | unlock () |
sets the simulated primary event to unlock | |
void | sync () |
synchronizes the vertices from the particle list to the vertices list | |
Static Public Attributes | |
static const std::string | SERIAL_TAG |
serialization tag | |
Private Member Functions | |
void | __reset () |
resets the simulated primary event | |
template<class Archive > | |
void | serialize (Archive &ar_, const unsigned int version_) |
serialization | |
Private Attributes | |
bool | __lock |
double | __time |
vertex_col | __vertices |
particle_col | __particles |
datatools::utils::properties | __properties |
Friends | |
class | boost::serialization::access |
friend class access |
NEMO3 ANA event model : simulated primary event.