All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes
nemo3::tof_1eNg_alt_measurement Class Reference

NEMO3 1eNg measurement with global internal chi2. More...

#include <tof_1eNg_alt_measurement.h>

Inheritance diagram for nemo3::tof_1eNg_alt_measurement:
nemo3::ana_event::i_measurement

List of all members.

Public Member Functions

 tof_1eNg_alt_measurement ()
 constructor
 tof_1eNg_alt_measurement (bool debug_)
 constructor
 ~tof_1eNg_alt_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 set_switch (bool switch_)
 chose the type of t_0 (from the electron or global)
void set_Emin (float energy_min_)
 sets the threshold on energy
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 FIRST_GAMMA_PROPERTY_NAME_END
static const string SECOND_GAMMA_PROPERTY_NAME_END
static const string THIRD_GAMMA_PROPERTY_NAME_END

Protected Member Functions

void _compute_tof_properties ()
 do all the job

Private Attributes

bool __debug
bool __switch
string __tracking_name
string __required_channel
ana_event__event
tof_tools __tof_tools
float __Emin

Detailed Description

NEMO3 1eNg measurement with global internal chi2.

Author(s):     Francois Mauger <mauger@lpccaen.in2p3.fr>
               Sophie Blondel <blondel@lal.in2p3.fr>
Creation date: 2010-03-01
Last modified: 2012-03-08

License: GPL

Description: 
  NEMO3 1eNg measurement with global internal chi2

History: 

Example:

configuration of the 1eNg TOF measurement algorithm: datatools::utils::properties tof_meas_config; tof_meas_config.store ("tof_1eNg_alt_measurement.debug", true); tof_meas_config.store ("tof_1eNg_alt_measurement.tracking_name", "default"); tof_meas_config.store ("tof_1eNg_alt_measurement.required_channel", "eng");

setup the 1eNg TOF measurement algorithm: tof_1eNg_alt_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_alt_measurement.valid")) { double int_prob = the_event.properties ().fetch_real ("tof_1e1g_alt_measurement.internal_probability");

apply cuts...


Member Function Documentation

do all the job

Does a loop on all the isolated (> 40cm) unassociated scin with no gg Calculates all the chi2 for 1e1g 1e2g and 1e3g configurations Keeps only the best one for these configuration in propertie field


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