Calculator for the gamma tracking. More...
#include <tof_reflect_measurement.h>
Public Member Functions | |
tof_reflect_measurement () | |
default constructor | |
tof_reflect_measurement (bool debug_) | |
default verbose constructor | |
void | set_debug (bool debug_) |
verbose mode | |
void | set_absolute (bool absolute_) |
void | set_extern (bool extern_) |
void | set_nodb4simu (bool nodb4simu_) |
sophie | |
void | set_ECorr (bool energy_loss_) |
void | set_TimeErr (bool timeerr_) |
void | set_LTFluct (bool fluct_) |
void | set_prestart (std::list< int > &starts_) |
add a list of starts | |
void | set_poststart (std::list< int > &starts_) |
add a list of starts | |
void | set_prestart (int start_) |
add a start | |
void | set_poststart (int start_) |
add a start | |
void | flush_starts () |
rm all starts | |
void | set_Emin (double E_) |
don't take care scins with energy<E_ | |
double | get_Emin () |
get the minimal energy of scins | |
void | set_associated (bool) |
if the implied scins can be associated. It creates clusters from electron, or allow study of external background. | |
void | set_prob_min (double prob_) |
tof_tools & | get_tof_tools () |
get the used tof tools | |
void | do_measurement (ana_event &) |
the main process for gamma_tracking calculation | |
void | init_from (const datatools::utils::properties &) |
datatools::utils::i_propinit interface: | |
Static Public Member Functions | |
static double | get_energy (const gamma_tracking::ref_t &, ana_event &) |
static tool to get the energy of a gamma tracked gamma_tracking::ref_t | |
static void | merge_starts (gamma_tracking::refcoll_t &) |
static gamma_tracking::refcoll_t | get_full_gt (const ana_event &ev_, double gt_prob_=0.01, bool electron_gamma_=true, bool vertex_gamma_=true, double internal_=0.01, double external_=0.01) |
to dump the gt | |
Protected Member Functions | |
void | _compute_tof () |
internal process for do_measurement | |
Private Attributes | |
bool | __absolute |
bool | __extern |
bool | __debug |
verbose mode | |
double | __min_prob |
double | __min_E |
don't take care scins with energy<__min_E | |
std::string | __tracking_name |
the tracking name (default) | |
std::string | __required_channel |
the required channel if exist | |
ana_event * | __event |
the current event | |
tof_tools | __tof_tools |
the used tof tools | |
bool | __associated |
if the implied scins can be associated. It creates clusters from electron, or allow study of external background. | |
bool | __nodb4simu |
sophie | |
std::list< int > | __prestarts |
std::list< int > | __poststarts |
Calculator for the gamma tracking.
tof_reflect_measurement.h
Author(s): Christophe Hugon hugon @cen bg.in 2p3. fr
Creation date: 2011-03-01
Last modified: 2011-03-01
License:
Description:
NEMO3 gamma tracking
Example:
tof_reflect_measurement tof_reflect;
tof_reflect.do_measurement(the_analyzed_ana_event);
gamma_tracking gt=the_analyzed_ana_event.get_gamma_tracking ();
History:
void nemo3::tof_reflect_measurement::do_measurement | ( | ana_event & | ) | [virtual] |
the main process for gamma_tracking calculation
it calculate the ToF prob from tof_tools::get_chi2 (const scin_hit &,const scin_hit &, double &, bool ) for all scin-scin combinaison, then give it to the event's gamma_tracking. At the end of all combinaison, it does a gamma_tracking::Combine.
Implements nemo3::ana_event::i_measurement.
tof_tools& nemo3::tof_reflect_measurement::get_tof_tools | ( | ) | [inline] |
void nemo3::tof_reflect_measurement::set_absolute | ( | bool | absolute_ | ) | [inline] |
References __absolute.
void nemo3::tof_reflect_measurement::set_ECorr | ( | bool | energy_loss_ | ) |
void nemo3::tof_reflect_measurement::set_extern | ( | bool | extern_ | ) | [inline] |
References __extern.
void nemo3::tof_reflect_measurement::set_LTFluct | ( | bool | fluct_ | ) |
void nemo3::tof_reflect_measurement::set_poststart | ( | std::list< int > & | starts_ | ) |
add a list of starts
void nemo3::tof_reflect_measurement::set_poststart | ( | int | start_ | ) | [inline] |
void nemo3::tof_reflect_measurement::set_prestart | ( | std::list< int > & | starts_ | ) |
add a list of starts
void nemo3::tof_reflect_measurement::set_prestart | ( | int | start_ | ) | [inline] |
void nemo3::tof_reflect_measurement::set_prob_min | ( | double | prob_ | ) | [inline] |
References __min_prob.
void nemo3::tof_reflect_measurement::set_TimeErr | ( | bool | timeerr_ | ) |
bool nemo3::tof_reflect_measurement::__absolute [private] |
Referenced by set_absolute().
bool nemo3::tof_reflect_measurement::__extern [private] |
Referenced by set_extern().
double nemo3::tof_reflect_measurement::__min_prob [private] |
Referenced by set_prob_min().
std::list<int> nemo3::tof_reflect_measurement::__poststarts [private] |
Referenced by flush_starts(), and set_poststart().
std::list<int> nemo3::tof_reflect_measurement::__prestarts [private] |
Referenced by flush_starts(), and set_prestart().