Falaise
4.0.1
SuperNEMO Software Toolkit
|
A mock class to represent SuperNEMO raw tracker hit. More...
#include <falaise/snemo/datamodels/mock_raw_tracker_hit.h>
Public Types | |
enum | store_mask_type { STORE_REF_TIME = 0x8, STORE_TIMES = 0x10 } |
Public Types inherited from geomtools::base_hit | |
enum | store_mask_type |
Public Types inherited from datatools::i_tree_dumpable | |
enum | ostream_type |
Public Member Functions | |
bool | is_ref_time_missing () const |
bool | is_drift_time_missing () const |
bool | is_top_time_missing () const |
bool | is_bottom_time_missing () const |
double | get_ref_time () const |
void | set_ref_time (double) |
double | get_sigma_ref_time () const |
void | set_sigma_ref_time (double) |
double | get_drift_time () const |
void | set_drift_time (double) |
double | get_sigma_drift_time () const |
void | set_sigma_drift_time (double) |
double | get_top_time () const |
void | set_top_time (double) |
double | get_sigma_top_time () const |
void | set_sigma_top_time (double) |
double | get_bottom_time () const |
void | set_bottom_time (double) |
double | get_sigma_bottom_time () const |
void | set_sigma_bottom_time (double) |
void | invalidate_ref_time () |
void | invalidate_times () |
mock_raw_tracker_hit () | |
Default constructor. More... | |
virtual | ~mock_raw_tracker_hit () |
Destructor. More... | |
bool | is_valid () const |
Check if the hit is valid. More... | |
void | invalidate () |
Invalidate the hit. More... | |
virtual void | clear () |
Clear all attributes. 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 |
Public Member Functions inherited from geomtools::base_hit | |
bool | has_hit_id () const |
int32_t | get_hit_id () const |
void | set_hit_id (int32_t) |
void | invalidate_hit_id () |
bool | has_geom_id () const |
const geomtools::geom_id & | get_geom_id () const |
geomtools::geom_id & | grab_geom_id () |
void | set_geom_id (const geomtools::geom_id &) |
void | invalidate_geom_id () |
bool | has_auxiliaries () const |
const datatools::properties & | get_auxiliaries () const |
datatools::properties & | grab_auxiliaries () |
void | set_auxiliaries (const datatools::properties &) |
void | invalidate_auxiliaries () |
base_hit () | |
virtual | ~base_hit () |
void | reset () |
base_hit & | measure (i_measurement &) |
void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=datatools::i_tree_dumpable::empty_options()) const override |
void | dump () const |
Public Member Functions inherited from datatools::i_serializable | |
i_serializable () | |
virtual | ~i_serializable () |
virtual const std::string & | get_serial_tag () const=0 |
Public Member Functions inherited from datatools::i_tree_dumpable | |
i_tree_dumpable () | |
virtual | ~i_tree_dumpable () |
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 |
Public Member Functions inherited from datatools::i_clear | |
virtual | ~i_clear () |
Static Public Attributes | |
static const double | INVALID_VALUE |
static const std::string | NOISY_FLAG |
Static Public Attributes inherited from geomtools::base_hit | |
static const int32_t | INVALID_HIT_ID |
Additional Inherited Members | |
Static Public Member Functions inherited from datatools::i_tree_dumpable | |
static const boost::property_tree::ptree & | empty_options () |
static boost::property_tree::ptree | make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false) |
static std::ostream & | last_skip_tag (std::ostream &out_) |
static std::ostream & | skip_tag (std::ostream &out_) |
static std::ostream & | last_tag (std::ostream &out_) |
static std::ostream & | tag (std::ostream &out_) |
Public Attributes inherited from geomtools::base_hit | |
STORE_NOTHING | |
STORE_HIT_ID | |
STORE_GEOM_ID | |
STORE_AUXILIARIES | |
STORE_RESERVED30 | |
STORE_RESERVED31 | |
Public Attributes inherited from datatools::i_tree_dumpable | |
OSTREAM_COUT | |
OSTREAM_CERR | |
OSTREAM_CLOG | |
Protected Member Functions inherited from geomtools::base_hit | |
void | _store_set (uint32_t bit_mask_) |
void | _store_unset (uint32_t bit_mask_) |
bool | _store_check (uint32_t bit_mask_) const |
Protected Attributes inherited from geomtools::base_hit | |
uint32_t | _store |
A mock class to represent SuperNEMO raw tracker hit.
snemo::datamodel::mock_raw_tracker_hit::mock_raw_tracker_hit | ( | ) |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Clear all attributes.
Reimplemented from geomtools::base_hit.
void snemo::datamodel::mock_raw_tracker_hit::dump | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_bottom_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_drift_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_ref_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_sigma_bottom_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_sigma_drift_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_sigma_ref_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_sigma_top_time | ( | ) | const |
double snemo::datamodel::mock_raw_tracker_hit::get_top_time | ( | ) | const |
|
virtual |
Invalidate the hit.
Reimplemented from geomtools::base_hit.
void snemo::datamodel::mock_raw_tracker_hit::invalidate_ref_time | ( | ) |
void snemo::datamodel::mock_raw_tracker_hit::invalidate_times | ( | ) |
bool snemo::datamodel::mock_raw_tracker_hit::is_bottom_time_missing | ( | ) | const |
bool snemo::datamodel::mock_raw_tracker_hit::is_drift_time_missing | ( | ) | const |
bool snemo::datamodel::mock_raw_tracker_hit::is_ref_time_missing | ( | ) | const |
bool snemo::datamodel::mock_raw_tracker_hit::is_top_time_missing | ( | ) | const |
|
virtual |
Check if the hit is valid.
Reimplemented from geomtools::base_hit.
void snemo::datamodel::mock_raw_tracker_hit::set_bottom_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_drift_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_ref_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_sigma_bottom_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_sigma_drift_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_sigma_ref_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_sigma_top_time | ( | double | ) |
void snemo::datamodel::mock_raw_tracker_hit::set_top_time | ( | double | ) |
|
virtual |
Smart print.
Reimplemented from geomtools::base_hit.
|
static |
|
static |