A event header class to be embedded as a bank in a 'datatools::things' event record.
More...
#include <falaise/snemo/datamodels/event_header.h>
|
| const datatools::event_id & | get_id () const |
| | Return the event ID. More...
|
| |
| datatools::event_id & | grab_id () |
| | Return the mutable event ID. More...
|
| |
| void | set_id (const datatools::event_id &) |
| | Set the event ID. More...
|
| |
| const datatools::properties & | get_properties () const |
| | Return the constant list of properties. More...
|
| |
| datatools::properties & | grab_properties () |
| | Return the mutable list of properties. More...
|
| |
| void | set_properties (const datatools::properties &) |
| | Set the list of properties. More...
|
| |
| const snemo::datamodel::timestamp & | get_timestamp () const |
| | Return the timestamp. More...
|
| |
| snemo::datamodel::timestamp & | grab_timestamp () |
| | Return the mutable timestamp. More...
|
| |
| void | set_timestamp (const snemo::datamodel::timestamp &) |
| | Set the timestamp. More...
|
| |
| generation_type | get_generation () const |
| | Return the generation. More...
|
| |
| void | set_generation (generation_type) |
| | Set the generation. More...
|
| |
| bool | is_real () const |
| | Check if event record is real (collected by the experiment DAQ) More...
|
| |
| bool | is_simulated () const |
| | Check if event record is simulated. More...
|
| |
| | event_header () |
| | Constructor. More...
|
| |
| virtual | ~event_header () |
| | Destructor. More...
|
| |
| virtual void | clear () |
| | Clear the event header internal data. More...
|
| |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| | Smart print. More...
|
| |
| void | dump () const |
| | Basic print. More...
|
| |
| | i_serializable () |
| |
| virtual | ~i_serializable () |
| |
| virtual const std::string & | get_serial_tag () const=0 |
| |
| virtual | ~i_clear () |
| |
| | i_tree_dumpable () |
| |
| virtual | ~i_tree_dumpable () |
| |
| virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| |
| void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| |
| void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| |
| void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
| |
| void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
| |
| void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
| |
A event header class to be embedded as a bank in a 'datatools::things' event record.
◆ generation_type
Generation type of the event record.
| Enumerator |
|---|
| GENERATION_INVALID | Invalid generation type.
|
| GENERATION_REAL | Real event from the detector's DAQ.
|
| GENERATION_SIMULATED | Simulated event from the MC application.
|
◆ event_header()
| snemo::datamodel::event_header::event_header |
( |
| ) |
|
◆ ~event_header()
| virtual snemo::datamodel::event_header::~event_header |
( |
| ) |
|
|
virtual |
◆ clear()
| virtual void snemo::datamodel::event_header::clear |
( |
| ) |
|
|
virtual |
◆ dump()
| void snemo::datamodel::event_header::dump |
( |
| ) |
const |
◆ event_header_label()
| static const std::string& snemo::datamodel::event_header::event_header_label |
( |
| ) |
|
|
static |
Return the default label/name of a 'event header' bank.
◆ get_generation()
◆ get_id()
◆ get_properties()
Return the constant list of properties.
◆ get_timestamp()
◆ grab_id()
Return the mutable event ID.
◆ grab_properties()
Return the mutable list of properties.
◆ grab_timestamp()
Return the mutable timestamp.
◆ is_real()
| bool snemo::datamodel::event_header::is_real |
( |
| ) |
const |
Check if event record is real (collected by the experiment DAQ)
◆ is_simulated()
| bool snemo::datamodel::event_header::is_simulated |
( |
| ) |
const |
Check if event record is simulated.
◆ set_generation()
◆ set_id()
◆ set_properties()
Set the list of properties.
◆ set_timestamp()
◆ tree_dump()
| virtual void snemo::datamodel::event_header::tree_dump |
( |
std::ostream & |
out_ = std::clog, |
|
|
const std::string & |
title_ = "", |
|
|
const std::string & |
indent_ = "", |
|
|
bool |
inherit_ = false |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following file: