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

NEMO3 track. More...

#include <track.h>

List of all members.

Classes

class  i_measurement
 generic interface for a measurement: More...
class  i_predicate
 generic interface for a predicate: More...

Public Types

typedef std::list< gg_hitgg_hit_col
 gg_hit_col is a list of gg_hit

Public Member Functions

void measure (i_measurement &measurement_)
 track (int32_t number_=INVALID_NUMBER)
 constructor
virtual ~track ()
 destructor
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_number () const
 returns the number of the track in the event
void set_number (int32_t=INVALID_NUMBER)
 sets the number of the track in the event
bool has_curve () const
 returns true if the track has a curve
int32_t get_curve_type () const
 returns the type of the curve
bool is_line () const
 returns true if the track is a line
bool is_helix () const
 returns true if the track is an helix
void set_curve_type (int32_t=geom_utils::CURVE_INVALID)
 sets the type of the curve
bool is_delayed () const
 returns true is the track is delayed
void set_delayed (bool=true)
 sets the track to delayed
bool is_prompt () const
 returns true if the track is prompt
double get_length () const
 returns the length of the track
void set_length (double length_)
 sets the length of the track
void reset_length ()
 resets the length of the track
bool has_length () const
 returns true is the track has a length
bool has_vertex () const
 returns true if the track has a vertex on foil
bool has_impact_on_scin () const
 returns true if the track has an impact on the scin
bool has_scin_impact () const
 returns true if the track has an impact on the scin
const geomtools::vector_3d & vertex () const
 returns the const reference to the vertex of the track
const geomtools::vector_3d & get_vertex () const
 returns the const reference to the vertex of the track
void set_vertex (const geomtools::vector_3d &)
 sets the vertex of the track
void reset_vertex ()
 resets the vertex of the track
const geomtools::vector_3d & scin_impact () const
 returns the const reference to the position of scin impact of the track
const geomtools::vector_3d & get_scin_impact () const
 returns the const reference to the position of scin impact of the track
void set_scin_impact (const geomtools::vector_3d &)
 sets the position of scin impact of the track
void reset_scin_impact ()
 resets the position of scin impact of the track
const scin_hit_infoassociated_scin () const
 returns the const reference to the associated scin info
const scin_hit_infoget_associated_scin () const
 returns the const reference to the associated scin info
void set_associated_scin (const scin_hit_info &)
 sets the associated scin info
bool has_associated_scin () const
 returns true if the track has an associated scin
void reset_associated_scin ()
 resets the associated scin info
void set_line_data (const geomtools::line_3d &)
 sets the line information of the track
const geomtools::line_3d & get_line_data () const
 returns the const reference to the line information of the track
geomtools::line_3d & get_line_data ()
 returns the reference to the line information of the track
void set_helix_data (const geomtools::helix_3d &)
 sets the helix information of the track
const geomtools::helix_3d & get_helix_data () const
 returns the const reference to the helix information of the track
geomtools::helix_3d & get_helix_data ()
 returns the reference to the helix information of the track
geomtools::vector_3d get_first_point () const
 returns the position of the first point on the track
geomtools::vector_3d get_last_point () const
 returns the position of the last point on the track
const gg_hit_colmissing_gg_hits () const
 returns the const reference to the missing gg hit list
gg_hit_colmissing_gg_hits ()
 returns the reference to the missing gg hit list
const gg_hit_info_col & gg_hits () const
 returns the const reference to the gg hit on the track list
gg_hit_info_col & gg_hits ()
 returns the reference to the gg hit on the track list
int get_number_of_gg_hits () const
 returns the number of gg hits on the track
int get_number_of_missing_gg_hits () const
 returns the number of missing gg hits
gg_hit_info_col::iterator gg_hits_begin ()
 returns an iterator placed at the begining of the list of gg hist on the track
gg_hit_info_col::iterator gg_hits_end ()
 returns an iterator placed at the end of the list of gg hist on the track
void add_gg_hit (const gg_hit &hit_, bool close_to_track_=false)
 adds a hit to the list of gg hits on the track
void add_missing_gg_hit (const gg_hit &hit_)
 adds a hit to the list of missing gg hits
const gg_hitget_gg_hit (int i_) const
 returns the const reference to the gg hit on the track number _i
gg_hitget_gg_hit_no_const (int i_)
 returns the reference to the gg hit on the track number _i
const gg_hitget_missing_gg_hit (int i_) const
 returns the const reference to the missing gg hit number _i
void clear_missing_gg_hits ()
 clears the list of missing gg hits
void clear_gg_hits ()
 clears the list of gg hits on the track
void clear_curve ()
 clears the curve type and information
void clear_fit ()
 nothing
virtual void clear ()
 clears the track information
virtual void tree_dump (std::ostream &out_=std::clog, 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
void set_helix_t1_t2 ()
 Searchs and sets of the begining and the end of the helix.
bool validate_gg_hit (const gg_hit &hit_, bool delayed_=false) const
 returns true if the gg hit is good
int compute_helix_chi_square_z (const geomtools::helix_3d &hd_, double &chi2_, unsigned int &n_) const
 returns 0 if the chi square is good

Static Public Attributes

static const int INVALID_NUMBER = -1
static const std::string BAD_QUALITY_FLAG
static const double NO_LENGTH
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
datatools::utils::properties __properties
bool __delayed
gg_hit_info_col __gg_hits
gg_hit_col __missing_gg_hits
int __curve_type
geomtools::line_3d __line_data
geomtools::helix_3d __helix_data
double __length
geomtools::vector_3d __vertex
geomtools::vector_3d __scin_impact
scin_hit_info __associated_scin

Friends

class boost::serialization::access
 friend class access

Detailed Description

NEMO3 track.

Author(s): Francois Mauger mauge.nosp@m.r@lp.nosp@m.ccaen.nosp@m..in2.nosp@m.p3.fr Creation date: 2008-12-17 Last modified: 2012-03-07

License:

Description: NEMO3 track

History:


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