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

NEMO3 Geiger hit. More...

#include <gg_hit.h>

List of all members.

Public Member Functions

geomtools::vector_3d get_position () const
 returns the postion of the center of the cell
int get_sector () const
 returns the sector of the cell
int get_side () const
 returns the side of the cell
int get_plane () const
 returns the plane of the cell
int get_cell () const
 returns the number of the cell
bool is_normal () const
 returns true if the cell is normal
bool is_off () const
 returns true if the cell is off
bool is_on () const
 returns true if the cell is on
bool is_hot () const
 returns true if the cell is hot
bool is_noisy () const
 returns true if the cell is noisy
bool is_delayed () const
 returns true if the cell is delayed
bool is_prompt () const
 returns true if the cell is prompt
bool is_missing_bottom () const
 returns true if the bottom cathodic signal is missing
bool is_missing_top () const
 returns true if the top cathodic signal is missing
bool is_missing_both () const
 returns true if both cathodic signals are missing
bool is_missing_none () const
 returns true if no cathodic signal is missing
void set_off (bool off_=true)
 sets the cell off
void set_hot (bool hot_=true)
 sets the cell hot
void set_noisy (bool noisy_=true)
 sets the cell noisy
void set_delayed (bool delayed_=true)
 sets the cell delayed
void set_missing_top ()
 sets missing top cathodic signal
void set_missing_bottom ()
 sets missing bottom cathodic signal
int32_t get_number () const
 gets the cell number in the event
void set_number (int32_t)
 sets the cell number in the event
const nemo3::gg_hit_id & get_id () const
 returns a const reference to the cell id
const nemo3::gg_hit_id & get_id_const () const
 returns a const reference to the cell id
nemo3::gg_hit_id & get_id ()
 returns a reference to the cell id
void set_id (const gg_hit_id &)
 sets the cell id
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
void set_properties (const datatools::utils::properties &)
 sets the properties field
int32_t get_fast_tdc () const
 returns the fast TDC
void set_fast_tdc (int32_t)
 sets the fast TDC
int32_t get_slow_tdc () const
 returns the slow TDC
void set_slow_tdc (int32_t)
 sets the slow TDC
int32_t get_time_bottom () const
 returns the bottom cathodic time
void set_time_bottom (int32_t)
 sets the bottom cathodic time
int32_t get_time_top () const
 returns the top cathodic time
void set_time_top (int32_t)
 sets the top cathodic time
double get_x () const
 returns the x position of the center of the cell
void set_x (double)
 sets the x position of the center of the cell
double get_y () const
 returns the y position of the center of the cell
void set_y (double)
 sets the y position of the center of the cell
double get_z () const
 returns the z position of the center of the cell
void set_z (double)
 sets the z position of the center of the cell
bool has_valid_z () const
 returns true if the cell has a valid z
bool has_valid_r () const
 returns true if the cell has a valid r
void set_z_sigma_z (double z_, double sigma_z_)
 sets the z and the sigma z of the cell
double get_sigma_z () const
 returns the z sigma of the cell
void set_sigma_z (double)
 sets the z sigma of the cell
double get_r () const
 returns the radius of the cell
void set_r (double)
 sets the radius of the cell
double get_sigma_r () const
 returns the sigma r of the cell
void set_sigma_r (double)
 sets the sigma r of the cell
void set_r_sigma_r (double r_, double sigma_r_)
 sets the radius and the sigma r of the cell
bool is_z_valid () const
 returns true if the cell has a valid z
bool is_r_valid () const
 returns true if the cell has a valid r
bool is_sigma_z_valid () const
 returns true if the cell has a valid z sigma
bool is_sigma_r_valid () const
 returns true if the cell has a valid r sigma
void make_missing (int number_, const nemo3::gg_hit_id &id_, bool delayed_, double r_, double r_err_, double z_, double z_err_)
 static function that creates a missing hit
 gg_hit ()
 constructor
virtual ~gg_hit ()
 destructor
virtual void clear ()
 virtual function that clears the gg hit
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

Static Public Member Functions

static void make_missing_hit (gg_hit &, int number_, const nemo3::gg_hit_id &id_, bool delayed_, double r_, double r_err_, double z_, double z_err_)
 static function that creates a missing hit

Static Public Attributes

static const int INVALID_NUMBER = -1
static const double INVALID_Z_VALUE
static const double INVALID_POS_VALUE
static const double MISSING_BOTH_Z
static const double MISSING_BOTH_SIGMA_Z
static const std::string NEMOS_STATUS_LABEL
static const std::string MISSING_HIT_LABEL
static const int32_t MISSING_TOP_BOTTOM = 0
static const double CELL_RADIUS
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
gg_hit_id __id
datatools::utils::properties __properties
int32_t __fast_tdc
int32_t __slow_tdc
int32_t __time_bottom
int32_t __time_top
bool __off
bool __noisy
bool __delayed
bool __hot
double __x
double __y
double __z
double __sigma_z
double __r
double __sigma_r

Friends

class boost::serialization::access
 friend class access

Detailed Description

NEMO3 Geiger hit.

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: GPL

Description: NEMO3 Geiger hit

History:


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