Falaise  4.0.1
SuperNEMO Software Toolkit
Public Types | Public Member Functions | Static Public Attributes | List of all members
snemo::datamodel::mock_raw_tracker_hit Class Reference

A mock class to represent SuperNEMO raw tracker hit. More...

#include <falaise/snemo/datamodels/mock_raw_tracker_hit.h>

Inheritance diagram for snemo::datamodel::mock_raw_tracker_hit:
geomtools::base_hit datatools::i_serializable datatools::i_tree_dumpable datatools::i_clear

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_idget_geom_id () const
 
geomtools::geom_idgrab_geom_id ()
 
void set_geom_id (const geomtools::geom_id &)
 
void invalidate_geom_id ()
 
bool has_auxiliaries () const
 
const datatools::propertiesget_auxiliaries () const
 
datatools::propertiesgrab_auxiliaries ()
 
void set_auxiliaries (const datatools::properties &)
 
void invalidate_auxiliaries ()
 
 base_hit ()
 
virtual ~base_hit ()
 
void reset ()
 
base_hitmeasure (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
 

Detailed Description

A mock class to represent SuperNEMO raw tracker hit.

Member Enumeration Documentation

◆ store_mask_type

Enumerator
STORE_REF_TIME 
STORE_TIMES 

Constructor & Destructor Documentation

◆ mock_raw_tracker_hit()

snemo::datamodel::mock_raw_tracker_hit::mock_raw_tracker_hit ( )

Default constructor.

◆ ~mock_raw_tracker_hit()

virtual snemo::datamodel::mock_raw_tracker_hit::~mock_raw_tracker_hit ( )
virtual

Destructor.

Member Function Documentation

◆ clear()

virtual void snemo::datamodel::mock_raw_tracker_hit::clear ( )
virtual

Clear all attributes.

Reimplemented from geomtools::base_hit.

◆ dump()

void snemo::datamodel::mock_raw_tracker_hit::dump ( ) const

◆ get_bottom_time()

double snemo::datamodel::mock_raw_tracker_hit::get_bottom_time ( ) const

◆ get_drift_time()

double snemo::datamodel::mock_raw_tracker_hit::get_drift_time ( ) const

◆ get_ref_time()

double snemo::datamodel::mock_raw_tracker_hit::get_ref_time ( ) const

◆ get_sigma_bottom_time()

double snemo::datamodel::mock_raw_tracker_hit::get_sigma_bottom_time ( ) const

◆ get_sigma_drift_time()

double snemo::datamodel::mock_raw_tracker_hit::get_sigma_drift_time ( ) const

◆ get_sigma_ref_time()

double snemo::datamodel::mock_raw_tracker_hit::get_sigma_ref_time ( ) const

◆ get_sigma_top_time()

double snemo::datamodel::mock_raw_tracker_hit::get_sigma_top_time ( ) const

◆ get_top_time()

double snemo::datamodel::mock_raw_tracker_hit::get_top_time ( ) const

◆ invalidate()

void snemo::datamodel::mock_raw_tracker_hit::invalidate ( )
virtual

Invalidate the hit.

Reimplemented from geomtools::base_hit.

◆ invalidate_ref_time()

void snemo::datamodel::mock_raw_tracker_hit::invalidate_ref_time ( )

◆ invalidate_times()

void snemo::datamodel::mock_raw_tracker_hit::invalidate_times ( )

◆ is_bottom_time_missing()

bool snemo::datamodel::mock_raw_tracker_hit::is_bottom_time_missing ( ) const

◆ is_drift_time_missing()

bool snemo::datamodel::mock_raw_tracker_hit::is_drift_time_missing ( ) const

◆ is_ref_time_missing()

bool snemo::datamodel::mock_raw_tracker_hit::is_ref_time_missing ( ) const

◆ is_top_time_missing()

bool snemo::datamodel::mock_raw_tracker_hit::is_top_time_missing ( ) const

◆ is_valid()

bool snemo::datamodel::mock_raw_tracker_hit::is_valid ( ) const
virtual

Check if the hit is valid.

Reimplemented from geomtools::base_hit.

◆ set_bottom_time()

void snemo::datamodel::mock_raw_tracker_hit::set_bottom_time ( double  )

◆ set_drift_time()

void snemo::datamodel::mock_raw_tracker_hit::set_drift_time ( double  )

◆ set_ref_time()

void snemo::datamodel::mock_raw_tracker_hit::set_ref_time ( double  )

◆ set_sigma_bottom_time()

void snemo::datamodel::mock_raw_tracker_hit::set_sigma_bottom_time ( double  )

◆ set_sigma_drift_time()

void snemo::datamodel::mock_raw_tracker_hit::set_sigma_drift_time ( double  )

◆ set_sigma_ref_time()

void snemo::datamodel::mock_raw_tracker_hit::set_sigma_ref_time ( double  )

◆ set_sigma_top_time()

void snemo::datamodel::mock_raw_tracker_hit::set_sigma_top_time ( double  )

◆ set_top_time()

void snemo::datamodel::mock_raw_tracker_hit::set_top_time ( double  )

◆ tree_dump()

virtual void snemo::datamodel::mock_raw_tracker_hit::tree_dump ( std::ostream &  out_ = std::clog,
const std::string &  title_ = "",
const std::string &  indent_ = "",
bool  inherit_ = false 
) const
virtual

Smart print.

Reimplemented from geomtools::base_hit.

Member Data Documentation

◆ INVALID_VALUE

const double snemo::datamodel::mock_raw_tracker_hit::INVALID_VALUE
static

◆ NOISY_FLAG

const std::string snemo::datamodel::mock_raw_tracker_hit::NOISY_FLAG
static

The documentation for this class was generated from the following file: