|
virtual | ~StraightTrack ()=default |
| Destructor.
|
|
void | Print () const |
| Print the string representation of this object.
|
|
void | Clear () |
|
void | setNhits (int nhits) |
|
int | getNhits () const |
|
void | setNdf (int ndf) |
|
int | getNdf () const |
|
void | setChi2 (double chi2) |
|
double | getChi2 () const |
|
void | setSlopeX (double slope_x) |
|
double | getSlopeX () const |
|
void | setInterceptX (double intercept_x) |
|
double | getInterceptX () const |
|
void | setSlopeY (double slope_y) |
|
double | getSlopeY () const |
|
void | setInterceptY (double intercept_y) |
|
double | getInterceptY () const |
|
void | setDistancetoRecHit (double distance) |
|
double | getDistanceToRecHit () const |
|
void | setTheta (double theta) |
|
double | getTheta () const |
|
void | setPhi (double phi) |
|
double | getPhi () const |
|
const std::vector< ldmx::Measurement > & | getAllSensorPoints () const |
|
void | setAllSensorPoints (const std::vector< ldmx::Measurement > &all_layers) |
|
const std::vector< ldmx::SimTrackerHit > & | getAllTruthSensorPoints () const |
|
void | setAllTruthSensorPoints (const std::vector< ldmx::SimTrackerHit > &all_truth_layers) |
|
void | setFirstSensorPosition (const std::array< double, 3 > &first_sensor) |
|
std::array< double, 3 > | getFirstSensorPosition () const |
|
void | setSecondSensorPosition (const std::array< double, 3 > &second_sensor) |
|
std::array< double, 3 > | getSecondSensorPosition () const |
|
void | setFirstLayerEcalRecHit (const std::array< double, 3 > &ecal_hit) |
|
std::array< double, 3 > | getFirstLayerEcalRecHit () const |
|
void | setTargetLocation (const std::array< double, 3 > &target_loc) |
|
void | setEcalLayer1Location (const std::array< double, 3 > &ecal_loc) |
|
void | setTargetLocation (const double &z_pos, const double &x_pos, const double &y_pos) |
|
void | setEcalLayer1Location (const double &z_pos, const double &x_pos, const double &y_pos) |
|
std::array< double, 3 > | getTargetLocation () const |
|
double | getTargetZ () const |
|
double | getTargetX () const |
|
double | getTargetY () const |
|
std::array< double, 3 > | getEcalLayer1Location () const |
|
double | getEcalLayer1Z () const |
|
double | getEcalLayer1X () const |
|
double | getEcalLayer1Y () const |
|
void | setTrackID (int track_id) |
|
int | getTrackID () const |
|
void | setTruthProb (double truth_prob) |
|
double | getTruthProb () const |
|
void | setPdgID (int pdg_id) |
|
int | getPdgID () const |
|
void | setCov (const std::vector< double > &cov) |
|
std::vector< double > | getCov () const |
|
|
| ClassDef (StraightTrack, 1) |
| Class declaration needed by the ROOT dictionary.
|
|
Definition at line 20 of file StraightTrack.h.
◆ ~StraightTrack()
virtual ldmx::StraightTrack::~StraightTrack |
( |
| ) |
|
|
virtualdefault |
Destructor.
Currently, the destructor does nothing.
◆ Clear()
void ldmx::StraightTrack::Clear |
( |
| ) |
|
|
inline |
◆ getAllSensorPoints()
const std::vector< ldmx::Measurement > & ldmx::StraightTrack::getAllSensorPoints |
( |
| ) |
const |
|
inline |
◆ getAllTruthSensorPoints()
const std::vector< ldmx::SimTrackerHit > & ldmx::StraightTrack::getAllTruthSensorPoints |
( |
| ) |
const |
|
inline |
Definition at line 77 of file StraightTrack.h.
77 {
78 return all_truth_layers_;
79 }
◆ getChi2()
double ldmx::StraightTrack::getChi2 |
( |
| ) |
const |
|
inline |
◆ getCov()
std::vector< double > ldmx::StraightTrack::getCov |
( |
| ) |
const |
|
inline |
◆ getDistanceToRecHit()
double ldmx::StraightTrack::getDistanceToRecHit |
( |
| ) |
const |
|
inline |
◆ getEcalLayer1Location()
std::array< double, 3 > ldmx::StraightTrack::getEcalLayer1Location |
( |
| ) |
const |
|
inline |
◆ getEcalLayer1X()
double ldmx::StraightTrack::getEcalLayer1X |
( |
| ) |
const |
|
inline |
◆ getEcalLayer1Y()
double ldmx::StraightTrack::getEcalLayer1Y |
( |
| ) |
const |
|
inline |
◆ getEcalLayer1Z()
double ldmx::StraightTrack::getEcalLayer1Z |
( |
| ) |
const |
|
inline |
◆ getFirstLayerEcalRecHit()
std::array< double, 3 > ldmx::StraightTrack::getFirstLayerEcalRecHit |
( |
| ) |
const |
|
inline |
◆ getFirstSensorPosition()
std::array< double, 3 > ldmx::StraightTrack::getFirstSensorPosition |
( |
| ) |
const |
|
inline |
◆ getInterceptX()
double ldmx::StraightTrack::getInterceptX |
( |
| ) |
const |
|
inline |
◆ getInterceptY()
double ldmx::StraightTrack::getInterceptY |
( |
| ) |
const |
|
inline |
◆ getNdf()
int ldmx::StraightTrack::getNdf |
( |
| ) |
const |
|
inline |
◆ getNhits()
int ldmx::StraightTrack::getNhits |
( |
| ) |
const |
|
inline |
◆ getPdgID()
int ldmx::StraightTrack::getPdgID |
( |
| ) |
const |
|
inline |
◆ getPhi()
double ldmx::StraightTrack::getPhi |
( |
| ) |
const |
|
inline |
◆ getSecondSensorPosition()
std::array< double, 3 > ldmx::StraightTrack::getSecondSensorPosition |
( |
| ) |
const |
|
inline |
◆ getSlopeX()
double ldmx::StraightTrack::getSlopeX |
( |
| ) |
const |
|
inline |
◆ getSlopeY()
double ldmx::StraightTrack::getSlopeY |
( |
| ) |
const |
|
inline |
◆ getTargetLocation()
std::array< double, 3 > ldmx::StraightTrack::getTargetLocation |
( |
| ) |
const |
|
inline |
◆ getTargetX()
double ldmx::StraightTrack::getTargetX |
( |
| ) |
const |
|
inline |
◆ getTargetY()
double ldmx::StraightTrack::getTargetY |
( |
| ) |
const |
|
inline |
◆ getTargetZ()
double ldmx::StraightTrack::getTargetZ |
( |
| ) |
const |
|
inline |
◆ getTheta()
double ldmx::StraightTrack::getTheta |
( |
| ) |
const |
|
inline |
◆ getTrackID()
int ldmx::StraightTrack::getTrackID |
( |
| ) |
const |
|
inline |
◆ getTruthProb()
double ldmx::StraightTrack::getTruthProb |
( |
| ) |
const |
|
inline |
◆ Print()
void ldmx::StraightTrack::Print |
( |
| ) |
const |
Print the string representation of this object.
This class is needed by ROOT when building the dictionary.
◆ setAllSensorPoints()
void ldmx::StraightTrack::setAllSensorPoints |
( |
const std::vector< ldmx::Measurement > & | all_layers | ) |
|
|
inline |
Definition at line 74 of file StraightTrack.h.
74 {
75 all_layers_ = all_layers;
76 }
◆ setAllTruthSensorPoints()
void ldmx::StraightTrack::setAllTruthSensorPoints |
( |
const std::vector< ldmx::SimTrackerHit > & | all_truth_layers | ) |
|
|
inline |
Definition at line 80 of file StraightTrack.h.
81 {
82 all_truth_layers_ = all_truth_layers;
83 }
◆ setChi2()
void ldmx::StraightTrack::setChi2 |
( |
double | chi2 | ) |
|
|
inline |
◆ setCov()
void ldmx::StraightTrack::setCov |
( |
const std::vector< double > & | cov | ) |
|
|
inline |
◆ setDistancetoRecHit()
void ldmx::StraightTrack::setDistancetoRecHit |
( |
double | distance | ) |
|
|
inline |
Definition at line 62 of file StraightTrack.h.
62{ distance_to_rec_hit_ = distance; }
◆ setEcalLayer1Location() [1/2]
void ldmx::StraightTrack::setEcalLayer1Location |
( |
const double & | z_pos, |
|
|
const double & | x_pos, |
|
|
const double & | y_pos ) |
|
inline |
Definition at line 118 of file StraightTrack.h.
119 {
120 ecal_layer1_pos_[0] = z_pos;
121 ecal_layer1_pos_[1] = x_pos;
122 ecal_layer1_pos_[2] = y_pos;
123 }
◆ setEcalLayer1Location() [2/2]
void ldmx::StraightTrack::setEcalLayer1Location |
( |
const std::array< double, 3 > & | ecal_loc | ) |
|
|
inline |
Definition at line 107 of file StraightTrack.h.
107 {
108 ecal_layer1_pos_ = ecal_loc;
109 }
◆ setFirstLayerEcalRecHit()
void ldmx::StraightTrack::setFirstLayerEcalRecHit |
( |
const std::array< double, 3 > & | ecal_hit | ) |
|
|
inline |
Definition at line 97 of file StraightTrack.h.
97 {
98 ecal_rec_hit_ = ecal_hit;
99 }
◆ setFirstSensorPosition()
void ldmx::StraightTrack::setFirstSensorPosition |
( |
const std::array< double, 3 > & | first_sensor | ) |
|
|
inline |
Definition at line 85 of file StraightTrack.h.
85 {
86 first_sensor_ = first_sensor;
87 }
◆ setInterceptX()
void ldmx::StraightTrack::setInterceptX |
( |
double | intercept_x | ) |
|
|
inline |
◆ setInterceptY()
void ldmx::StraightTrack::setInterceptY |
( |
double | intercept_y | ) |
|
|
inline |
◆ setNdf()
void ldmx::StraightTrack::setNdf |
( |
int | ndf | ) |
|
|
inline |
◆ setNhits()
void ldmx::StraightTrack::setNhits |
( |
int | nhits | ) |
|
|
inline |
◆ setPdgID()
void ldmx::StraightTrack::setPdgID |
( |
int | pdg_id | ) |
|
|
inline |
◆ setPhi()
void ldmx::StraightTrack::setPhi |
( |
double | phi | ) |
|
|
inline |
◆ setSecondSensorPosition()
void ldmx::StraightTrack::setSecondSensorPosition |
( |
const std::array< double, 3 > & | second_sensor | ) |
|
|
inline |
Definition at line 90 of file StraightTrack.h.
90 {
91 second_sensor_ = second_sensor;
92 }
◆ setSlopeX()
void ldmx::StraightTrack::setSlopeX |
( |
double | slope_x | ) |
|
|
inline |
◆ setSlopeY()
void ldmx::StraightTrack::setSlopeY |
( |
double | slope_y | ) |
|
|
inline |
◆ setTargetLocation() [1/2]
void ldmx::StraightTrack::setTargetLocation |
( |
const double & | z_pos, |
|
|
const double & | x_pos, |
|
|
const double & | y_pos ) |
|
inline |
Definition at line 111 of file StraightTrack.h.
112 {
113 target_pos_[0] = z_pos;
114 target_pos_[1] = x_pos;
115 target_pos_[2] = y_pos;
116 }
◆ setTargetLocation() [2/2]
void ldmx::StraightTrack::setTargetLocation |
( |
const std::array< double, 3 > & | target_loc | ) |
|
|
inline |
◆ setTheta()
void ldmx::StraightTrack::setTheta |
( |
double | theta | ) |
|
|
inline |
◆ setTrackID()
void ldmx::StraightTrack::setTrackID |
( |
int | track_id | ) |
|
|
inline |
◆ setTruthProb()
void ldmx::StraightTrack::setTruthProb |
( |
double | truth_prob | ) |
|
|
inline |
◆ all_layers_
◆ all_truth_layers_
◆ chi2_
double ldmx::StraightTrack::chi2_ |
|
protected |
◆ distance_to_rec_hit_
double ldmx::StraightTrack::distance_to_rec_hit_ |
|
protected |
◆ ecal_layer1_pos_
std::array<double, 3> ldmx::StraightTrack::ecal_layer1_pos_ |
|
protected |
◆ ecal_rec_hit_
std::array<double, 3> ldmx::StraightTrack::ecal_rec_hit_ |
|
protected |
◆ first_sensor_
std::array<double, 3> ldmx::StraightTrack::first_sensor_ |
|
protected |
◆ intercept_x_
double ldmx::StraightTrack::intercept_x_ |
|
protected |
◆ intercept_y_
double ldmx::StraightTrack::intercept_y_ |
|
protected |
◆ n_hits_
int ldmx::StraightTrack::n_hits_ |
|
protected |
◆ ndf_
int ldmx::StraightTrack::ndf_ |
|
protected |
◆ pdg_id_
int ldmx::StraightTrack::pdg_id_ {0} |
|
protected |
◆ phi_
double ldmx::StraightTrack::phi_ |
|
protected |
◆ second_sensor_
std::array<double, 3> ldmx::StraightTrack::second_sensor_ |
|
protected |
◆ slope_x_
double ldmx::StraightTrack::slope_x_ |
|
protected |
◆ slope_y_
double ldmx::StraightTrack::slope_y_ |
|
protected |
◆ target_pos_
std::array<double, 3> ldmx::StraightTrack::target_pos_ |
|
protected |
◆ theta_
double ldmx::StraightTrack::theta_ |
|
protected |
◆ track_id_
int ldmx::StraightTrack::track_id_ {-1} |
|
protected |
◆ trk_cov_
std::vector<double> ldmx::StraightTrack::trk_cov_ |
|
protected |
◆ truth_prob_
double ldmx::StraightTrack::truth_prob_ {0.} |
|
protected |
The documentation for this class was generated from the following file: