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

Calculator for the gamma tracking. More...

#include <tof_reflect_measurement.h>

Inheritance diagram for nemo3::tof_reflect_measurement:
nemo3::ana_event::i_measurement

List of all members.

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_toolsget_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

Detailed Description

Calculator for the gamma tracking.

tof_reflect_measurement.h
Author(s): Christophe Hugon hugon.nosp@m.@cen.nosp@m.bg.in.nosp@m.2p3..nosp@m.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 ();

See also:
gamma_tracking

History:


Member Function Documentation

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.

get the used tof tools

See also:
tof_tools

References __tof_tools.

void nemo3::tof_reflect_measurement::set_absolute ( bool  absolute_) [inline]
void nemo3::tof_reflect_measurement::set_ECorr ( bool  energy_loss_)
void nemo3::tof_reflect_measurement::set_extern ( bool  extern_) [inline]
See also:
gamma_tracking::set_extern

References __extern.

void nemo3::tof_reflect_measurement::set_poststart ( std::list< int > &  starts_)

add a list of starts

See also:
void nemo3::tof_reflect_measurement::set_poststart ( int  start_) [inline]

add a start

See also:

References __poststarts.

void nemo3::tof_reflect_measurement::set_prestart ( std::list< int > &  starts_)

add a list of starts

See also:
void nemo3::tof_reflect_measurement::set_prestart ( int  start_) [inline]

add a start

See also:

References __prestarts.

void nemo3::tof_reflect_measurement::set_prob_min ( double  prob_) [inline]

Member Data Documentation

See also:
gamma_tracking::set_extern

Referenced by set_extern().

the used tof tools

See also:
tof_tools

Referenced by get_tof_tools().


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