NEMO3 scintillator hit. More...
#include <scin_hit.h>
Public Member Functions | |
void | init_PMT_table () |
initialize the table containing all possible PMT addresses | |
int | get_PMT_number () |
returns the number of the PMT in the table | |
int | get_sector () const |
returns the sector of the block | |
int | get_iobt () const |
returns the iobt of the block | |
int | get_fcll () const |
returns the fcll of the block | |
int | get_block () const |
returns the block number of the block | |
bool | is_off () const |
returns true if the PMT is off | |
bool | is_hot () const |
returns true if the PMT is hot | |
bool | is_on () const |
returns true if the PMT is on | |
bool | is_bad () const |
returns true if the PMT is bad | |
bool | is_good () const |
returns true if the PMT is not bad | |
void | set_off (bool off_=true) |
sets the PMT off | |
void | set_hot (bool hot_=true) |
sets the PMT hot | |
void | set_bad (bool bad_=true) |
sets the PMT bad | |
void | set_associated (bool asso_) |
sets the PMT associated to a track | |
int32_t | get_number () const |
returns the number of the scin hit in the event | |
void | set_number (int32_t) |
sets the number of the scin hit in the event | |
void | set_id (const nemo3::scin_hit_id &) |
sets the id of the scin hit | |
const nemo3::scin_hit_id & | get_id () const |
returns the const reference to the scin hit id | |
const nemo3::scin_hit_id & | get_id_const () const |
returns the const reference to the scin hit id | |
const datatools::utils::properties & | properties () const |
returns the const reference of the properties field | |
const datatools::utils::properties & | get_properties_const () 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 & | properties () |
returns the 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 | |
int32_t | get_adc () const |
returns the ADC value | |
void | set_adc (const int32_t &) |
sets the ADC value | |
int32_t | get_tdc () const |
returns the TDC value | |
void | set_tdc (const int32_t &) |
sets the TDC value | |
bool | is_high_threshold () const |
returns true if the ADC passes the high threshold | |
bool | is_associated () const |
returns true if the block is associated to a track | |
void | set_high_threshold (bool) |
sets the ADC is higher than the high threshold | |
double | get_energy () const |
returns the energy value | |
void | set_energy (double) |
sets the energy value | |
double | get_sigma_energy () const |
returns the energy sigma | |
void | set_sigma_energy (double) |
sets the energy sigma | |
double | get_time () const |
returns the time | |
void | set_time (double) |
sets the time | |
double | get_sigma_time () const |
returns the time sigma | |
void | set_sigma_time (double) |
sets the time sigma | |
scin_hit () | |
constructor | |
virtual | ~scin_hit () |
destructor | |
virtual void | clear () |
virtual function that clears the scin hit | |
virtual void | tree_dump (std::ostream &out_=std::cerr, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
const virtual function that dump class informations | |
void | dump () const |
const function that dump class informations | |
virtual const std::string & | get_serial_tag () const |
const virtual function that returns the reference to the serialization tag | |
Static Public Attributes | |
static const int | INVALID_NUMBER = -1 |
static const std::string | SERIAL_TAG |
serialization tag | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar_, const unsigned int version_) |
serialization | |
Private Attributes | |
int32_t | __number |
nemo3::scin_hit_id | __id |
datatools::utils::properties | __properties |
int32_t | __adc |
int32_t | __tdc |
bool | __high_threshold |
bool | __off |
bool | __bad |
bool | __hot |
bool | __associated |
double | __energy |
double | __sigma_energy |
double | __time |
double | __sigma_time |
std::list< ScinHitId > | __all_pmts |
Friends | |
class | boost::serialization::access |
friend class access |
NEMO3 scintillator hit.
Author(s): Francois Mauger mauge Creation date: 2008-12-17 Last modified: 2012-03-07 r@lp ccaen .in2 p3.fr
License:
Description: NEMO3 scintillator hit
History: