NEMO3 1eNg measurement with partial chi2. More...
#include <tof_1eNg_measurement.h>
Public Member Functions | |
tof_1eNg_measurement () | |
constructor | |
tof_1eNg_measurement (bool debug_) | |
constructor | |
~tof_1eNg_measurement () | |
destructor | |
void | set_debug (bool debug_) |
sets the debug option | |
void | set_ECorr (bool energy_loss_) |
sets the use of energy losses in the tracking chamber for the tof_tools | |
void | set_TimeErr (bool timeerr_) |
sets the use of the time error for the tof_tools | |
void | set_LTFluct (bool fluct_) |
sets the use of LT fluctiation in the tof_tools | |
void | do_measurement (ana_event &) |
ana_event::i_measurement interface | |
void | init_from (const datatools::utils::properties &) |
datatools::utils::i_propinit interface | |
Static Public Attributes | |
static const string | VALIDITY_PROPERTY_GLOBAL_NAME |
static const string | VALIDITY_PROPERTY_NAME_BEGIN |
static const string | VALIDITY_PROPERTY_NAME_END |
static const string | INTERNAL_PROBABILITY_PROPERTY_NAME_END |
static const string | EXTERNAL_PROBABILITY_PROPERTY_NAME_END |
Protected Member Functions | |
void | _compute_tof_properties () |
do all the job | |
Private Attributes | |
bool | __debug |
string | __tracking_name |
string | __required_channel |
ana_event * | __event |
tof_tools | __tof_tools |
NEMO3 1eNg measurement with partial chi2.
Author(s): Francois Mauger <mauger@lpccaen.in2p3.fr> Creation date: 2010-03-01 Last modified: 2012-03-08 License: GPL Description: NEMO3 1eNg measurement with partial chi2 History: Example:
configuration of the 1eNg TOF measurement algorithm: datatools::utils::properties tof_meas_config; tof_meas_config.store ("tof_1eNg_measurement.debug", true); tof_meas_config.store ("tof_1eNg_measurement.tracking_name", "default"); tof_meas_config.store ("tof_1eNg_measurement.required_channel", "1e");
setup the 1eNg TOF measurement algorithm: tof_1eNg_measurement tof_meas; tof_meas.init (tof_meas_config);
... nemo3::ana_event the_event; ... load the event from a reader: ... apply the 1eNg TOF measurement algorithm to the event: the_event.measure (tof_meas); ... if (the_event.properties ().has_flag ("tof_1eNg_measurement.valid")) { const nemo3::tracking & the_tracking = the_event.get_default_tracking (); double int_prob = the_tracking.properties ().fetch_real ("tof_1eNg_measurement.internal_probability"); double ext_prob = the_tracking.properties ().fetch_real ("tof_1eNg_measurement.external_probability");
apply cuts...
void nemo3::tof_1eNg_measurement::_compute_tof_properties | ( | ) | [protected] |
do all the job
For each pair of unassociated scin and the track associated scin it computes the internal and external probabilities and stores them in properties.