#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-24/SlowMonopoleTrigger/Track.h"
Public Member Functions | |
Track (novaddt::DAQHit const &start, novaddt::DAQHit const &end) | |
double | time () const |
double | distance () const |
double | velocity () const |
double | beta () const |
bool | slope_plane_is_valid () const |
double | slope_cell_plane () const |
double | slope_time_plane () const |
bool | slope_time_is_valid () const |
double | slope_cell_time () const |
double | slope_plane_time () const |
bool | slope_cell_is_valid () const |
double | slope_time_cell () const |
novaddt::DAQHit | start () const |
novaddt::DAQHit | end () const |
unsigned | max_plane () const |
unsigned | min_plane () const |
int | plane_difference () const |
unsigned | max_cell () const |
unsigned | min_cell () const |
int | cell_difference () const |
Private Member Functions | |
double | calculate_distance () const |
double | calculate_velocity () const |
void | calculate_slopes () |
Private Attributes | |
double | dp_ |
double | dc_ |
double | dt_ |
double | distance_ |
double | velocity_ |
double | beta_ |
double | slope_cell_plane_ |
double | slope_time_plane_ |
double | slope_cell_time_ |
double | slope_plane_time_ |
double | slope_time_cell_ |
bool | slope_plane_is_valid_ |
bool | slope_time_is_valid_ |
bool | slope_cell_is_valid_ |
novaddt::DAQHit | start_ |
novaddt::DAQHit | end_ |
novaddt::smt::Track::Track | ( | novaddt::DAQHit const & | start, |
novaddt::DAQHit const & | end | ||
) |
double novaddt::smt::Track::beta | ( | ) | const |
Definition at line 99 of file Track.cxx.
References beta_.
Referenced by novaddt::smt::Trigger::good_track().
|
private |
Definition at line 28 of file Track.cxx.
References novaddt::smt::Constants::CELL_WIDTH, dc_, dp_, dx, dz, novaddt::smt::Constants::PLANE_WIDTH, and std::sqrt().
|
private |
Definition at line 47 of file Track.cxx.
References dc_, dp_, dt_, slope_cell_is_valid_, slope_cell_plane_, slope_cell_time_, slope_plane_is_valid_, slope_plane_time_, slope_time_cell_, slope_time_is_valid_, and slope_time_plane_.
|
private |
Definition at line 38 of file Track.cxx.
References distance_, dt_, and novaddt::smt::Constants::TDC_TICK.
int novaddt::smt::Track::cell_difference | ( | ) | const |
double novaddt::smt::Track::distance | ( | ) | const |
Definition at line 78 of file Track.cxx.
References distance_.
Referenced by novaddt::smt::Trigger::good_track().
novaddt::DAQHit novaddt::smt::Track::end | ( | ) | const |
unsigned novaddt::smt::Track::max_cell | ( | ) | const |
Definition at line 244 of file Track.cxx.
References novaddt::DAQHit::Cell(), end_, std::max(), start_, and novaddt::Cell::val.
Referenced by novaddt::smt::Trigger::hit_is_between_track_end_points().
unsigned novaddt::smt::Track::max_plane | ( | ) | const |
Definition at line 223 of file Track.cxx.
References end_, std::max(), novaddt::DAQHit::Plane(), start_, and novaddt::Plane::val.
Referenced by novaddt::smt::Trigger::hit_is_between_track_end_points().
unsigned novaddt::smt::Track::min_cell | ( | ) | const |
Definition at line 237 of file Track.cxx.
References novaddt::DAQHit::Cell(), end_, std::min(), start_, and novaddt::Cell::val.
Referenced by novaddt::smt::Trigger::hit_is_between_track_end_points().
unsigned novaddt::smt::Track::min_plane | ( | ) | const |
Definition at line 216 of file Track.cxx.
References end_, std::min(), novaddt::DAQHit::Plane(), start_, and novaddt::Plane::val.
Referenced by novaddt::smt::Trigger::hit_is_between_track_end_points().
int novaddt::smt::Track::plane_difference | ( | ) | const |
Definition at line 230 of file Track.cxx.
References dp_.
Referenced by novaddt::smt::Trigger::good_track().
bool novaddt::smt::Track::slope_cell_is_valid | ( | ) | const |
Definition at line 120 of file Track.cxx.
References slope_cell_is_valid_.
Referenced by novaddt::smt::Trigger::run_algorithm(), and slope_time_cell().
double novaddt::smt::Track::slope_cell_plane | ( | ) | const |
Definition at line 127 of file Track.cxx.
References ana::assert(), om::cerr, allTimeWatchdog::endl, slope_cell_plane_, and slope_plane_is_valid().
Referenced by novaddt::smt::Trigger::hit_is_on_road().
double novaddt::smt::Track::slope_cell_time | ( | ) | const |
Definition at line 157 of file Track.cxx.
References ana::assert(), om::cerr, allTimeWatchdog::endl, slope_cell_time_, and slope_time_is_valid().
Referenced by novaddt::smt::Trigger::run_algorithm().
bool novaddt::smt::Track::slope_plane_is_valid | ( | ) | const |
Definition at line 106 of file Track.cxx.
References slope_plane_is_valid_.
Referenced by novaddt::smt::Trigger::hit_is_in_time_with_road(), novaddt::smt::Trigger::hit_is_on_road(), novaddt::smt::Trigger::run_algorithm(), slope_cell_plane(), and slope_time_plane().
double novaddt::smt::Track::slope_plane_time | ( | ) | const |
Definition at line 172 of file Track.cxx.
References ana::assert(), om::cerr, allTimeWatchdog::endl, slope_plane_time_, and slope_time_is_valid().
Referenced by novaddt::smt::Trigger::run_algorithm().
double novaddt::smt::Track::slope_time_cell | ( | ) | const |
Definition at line 187 of file Track.cxx.
References ana::assert(), om::cerr, allTimeWatchdog::endl, slope_cell_is_valid(), and slope_time_cell_.
Referenced by novaddt::smt::Trigger::run_algorithm().
bool novaddt::smt::Track::slope_time_is_valid | ( | ) | const |
Definition at line 113 of file Track.cxx.
References slope_time_is_valid_.
Referenced by novaddt::smt::Trigger::run_algorithm(), slope_cell_time(), and slope_plane_time().
double novaddt::smt::Track::slope_time_plane | ( | ) | const |
Definition at line 142 of file Track.cxx.
References ana::assert(), om::cerr, allTimeWatchdog::endl, slope_plane_is_valid(), and slope_time_plane_.
Referenced by novaddt::smt::Trigger::hit_is_in_time_with_road(), and novaddt::smt::Trigger::run_algorithm().
novaddt::DAQHit novaddt::smt::Track::start | ( | ) | const |
Definition at line 202 of file Track.cxx.
References start_.
Referenced by novaddt::smt::Trigger::hit_is_in_time_with_road(), novaddt::smt::Trigger::hit_is_on_road(), and novaddt::smt::Trigger::run_algorithm().
double novaddt::smt::Track::velocity | ( | ) | const |
|
private |
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_distance(), calculate_slopes(), and cell_difference().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_velocity(), and distance().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_distance(), calculate_slopes(), and plane_difference().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_slopes(), calculate_velocity(), and time().
|
private |
Definition at line 61 of file Track.h.
Referenced by end(), max_cell(), max_plane(), min_cell(), and min_plane().
|
private |
Definition at line 59 of file Track.h.
Referenced by calculate_slopes(), and slope_cell_is_valid().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_slopes(), and slope_cell_plane().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_slopes(), and slope_cell_time().
|
private |
Definition at line 59 of file Track.h.
Referenced by calculate_slopes(), and slope_plane_is_valid().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_slopes(), and slope_plane_time().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_slopes(), and slope_time_cell().
|
private |
Definition at line 59 of file Track.h.
Referenced by calculate_slopes(), and slope_time_is_valid().
|
private |
Definition at line 54 of file Track.h.
Referenced by calculate_slopes(), and slope_time_plane().
|
private |
Definition at line 61 of file Track.h.
Referenced by max_cell(), max_plane(), min_cell(), min_plane(), and start().
|
private |
Definition at line 54 of file Track.h.
Referenced by velocity().