Represents the estimated mass of a particle using tracker dE/dx information.
More...
#include <TrackDeDxMassEstimate.h>
|
| TrackDeDxMassEstimate () |
| Class constructor.
|
|
virtual | ~TrackDeDxMassEstimate ()=default |
| Class destructor.
|
|
void | Clear () |
| Clear the data in the object.
|
|
void | Print () const |
| Print out the object.
|
|
void | setMomentum (float momentum) |
| Set the momentum of the particle/track.
|
|
void | setIh (float theIh) |
| Set the Ih of the particle/track.
|
|
void | setMass (float mass) |
| Set the estimated mass of the particle/track.
|
|
void | setTrackIndex (int track_index) |
| Set the index of the track.
|
|
void | setTrackType (int track_type) |
| Set the type of the track.
|
|
float | getMomentum () const |
| Get the momentum of the particle/track.
|
|
float | getIh () const |
| Get the Ih of the particle/track.
|
|
float | getMass () const |
| Get the estimated mass of the particle/track.
|
|
int | getTrackIndex () const |
| Get the index of the track.
|
|
int | getTrackType () const |
| Get the type of the track.
|
|
Represents the estimated mass of a particle using tracker dE/dx information.
- Note
- This class represents the estimated mass information from a tracker including mass, track index, and the track type
Definition at line 29 of file TrackDeDxMassEstimate.h.
◆ TrackDeDxMassEstimate()
ldmx::TrackDeDxMassEstimate::TrackDeDxMassEstimate |
( |
| ) |
|
◆ Clear()
void ldmx::TrackDeDxMassEstimate::Clear |
( |
| ) |
|
Clear the data in the object.
Definition at line 8 of file TrackDeDxMassEstimate.cxx.
8 {
9 theIh_ = -1.0;
10 momentum_ = 9999.0;
11 mass_ = 0.;
12 track_index_ = -1;
13 track_type_ = -1;
14}
◆ getIh()
float ldmx::TrackDeDxMassEstimate::getIh |
( |
| ) |
const |
|
inline |
Get the Ih of the particle/track.
- Returns
- The Ih of the particle/track.
Definition at line 94 of file TrackDeDxMassEstimate.h.
◆ getMass()
float ldmx::TrackDeDxMassEstimate::getMass |
( |
| ) |
const |
|
inline |
Get the estimated mass of the particle/track.
- Returns
- The estimated mass of the particle/track.
Definition at line 100 of file TrackDeDxMassEstimate.h.
◆ getMomentum()
float ldmx::TrackDeDxMassEstimate::getMomentum |
( |
| ) |
const |
|
inline |
Get the momentum of the particle/track.
- Returns
- The momentum of the particle/track.
Definition at line 88 of file TrackDeDxMassEstimate.h.
◆ getTrackIndex()
int ldmx::TrackDeDxMassEstimate::getTrackIndex |
( |
| ) |
const |
|
inline |
Get the index of the track.
- Returns
- The index of the track.
Definition at line 106 of file TrackDeDxMassEstimate.h.
106{ return track_index_; }
◆ getTrackType()
int ldmx::TrackDeDxMassEstimate::getTrackType |
( |
| ) |
const |
|
inline |
Get the type of the track.
- Returns
- The type of the track.
Definition at line 112 of file TrackDeDxMassEstimate.h.
112{ return track_type_; }
◆ Print()
void ldmx::TrackDeDxMassEstimate::Print |
( |
| ) |
const |
Print out the object.
Definition at line 16 of file TrackDeDxMassEstimate.cxx.
16 {
17 std::cout << "TrackDeDxMassEstimate { "
18 << "Momentum: " << momentum_ << ", "
19 << "Ih: " << theIh_ << ", "
20 << "Mass: " << mass_ << ", "
21 << "Track Index: " << track_index_ << ", "
22 << "Track Type: " << track_type_ << " }" << std::endl;
23}
◆ setIh()
void ldmx::TrackDeDxMassEstimate::setIh |
( |
float | theIh | ) |
|
|
inline |
◆ setMass()
void ldmx::TrackDeDxMassEstimate::setMass |
( |
float | mass | ) |
|
|
inline |
◆ setMomentum()
void ldmx::TrackDeDxMassEstimate::setMomentum |
( |
float | momentum | ) |
|
|
inline |
◆ setTrackIndex()
void ldmx::TrackDeDxMassEstimate::setTrackIndex |
( |
int | track_index | ) |
|
|
inline |
◆ setTrackType()
void ldmx::TrackDeDxMassEstimate::setTrackType |
( |
int | track_type | ) |
|
|
inline |
◆ mass_
float ldmx::TrackDeDxMassEstimate::mass_ {0.} |
|
private |
◆ momentum_
float ldmx::TrackDeDxMassEstimate::momentum_ {0.} |
|
private |
◆ theIh_
float ldmx::TrackDeDxMassEstimate::theIh_ {0.} |
|
private |
◆ track_index_
int ldmx::TrackDeDxMassEstimate::track_index_ {-1} |
|
private |
◆ track_type_
int ldmx::TrackDeDxMassEstimate::track_type_ {-1} |
|
private |
The documentation for this class was generated from the following files: