Represents the estimated mass of a particle using tracker dE/dx information.
More...
#include <TrackDeDxMassEstimate.h>
|
|
| TrackDeDxMassEstimate ()=default |
| | Class constructor.
|
| |
|
virtual | ~TrackDeDxMassEstimate ()=default |
| | Class destructor.
|
| |
| void | clear () |
| | Clear the data in the object.
|
| |
| void | setMomentum (float momentum) |
| | Set the momentum of the particle/track.
|
| |
| void | setIh (float the_ih) |
| | 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.
|
| |
| void | setPdgId (int pdg_id) |
| | Set the PDG ID 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.
|
| |
| int | getPdgId () const |
| | Get the PDG ID 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.
◆ clear()
| void ldmx::TrackDeDxMassEstimate::clear |
( |
| ) |
|
Clear the data in the object.
Definition at line 7 of file TrackDeDxMassEstimate.cxx.
7 {
8 the_ih_ = -1.0;
9 momentum_ = 9999.0;
10 mass_ = 0.;
11 track_index_ = -1;
12 track_type_ = -1;
13 pdg_id_ = 0;
14}
◆ getIh()
| float ldmx::TrackDeDxMassEstimate::getIh |
( |
| ) |
const |
|
inline |
◆ 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 107 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 95 of file TrackDeDxMassEstimate.h.
◆ getPdgId()
| int ldmx::TrackDeDxMassEstimate::getPdgId |
( |
| ) |
const |
|
inline |
◆ getTrackIndex()
| int ldmx::TrackDeDxMassEstimate::getTrackIndex |
( |
| ) |
const |
|
inline |
Get the index of the track.
- Returns
- The index of the track.
Definition at line 113 of file TrackDeDxMassEstimate.h.
113{ 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 119 of file TrackDeDxMassEstimate.h.
119{ return track_type_; }
◆ setIh()
| void ldmx::TrackDeDxMassEstimate::setIh |
( |
float | the_ih | ) |
|
|
inline |
◆ setMass()
| void ldmx::TrackDeDxMassEstimate::setMass |
( |
float | mass | ) |
|
|
inline |
◆ setMomentum()
| void ldmx::TrackDeDxMassEstimate::setMomentum |
( |
float | momentum | ) |
|
|
inline |
◆ setPdgId()
| void ldmx::TrackDeDxMassEstimate::setPdgId |
( |
int | pdg_id | ) |
|
|
inline |
◆ setTrackIndex()
| void ldmx::TrackDeDxMassEstimate::setTrackIndex |
( |
int | track_index | ) |
|
|
inline |
◆ setTrackType()
| void ldmx::TrackDeDxMassEstimate::setTrackType |
( |
int | track_type | ) |
|
|
inline |
◆ operator<<
Print out the object.
Definition at line 16 of file TrackDeDxMassEstimate.cxx.
16 {
17 return o << "TrackDeDxMassEstimate { " << "Momentum: " << c.momentum_ << ", "
18 << "Ih: " << c.the_ih_ << ", " << "Mass: " << c.mass_ << ", "
19 << "Track Index: " << c.track_index_ << ", "
20 << "Track Type: " << c.track_type_ << " }" << "PDG ID: " << c.pdg_id_
21 << " }";
22}
◆ mass_
| float ldmx::TrackDeDxMassEstimate::mass_ {0.} |
|
private |
◆ momentum_
| float ldmx::TrackDeDxMassEstimate::momentum_ {0.} |
|
private |
◆ pdg_id_
| int ldmx::TrackDeDxMassEstimate::pdg_id_ {0} |
|
private |
◆ the_ih_
| float ldmx::TrackDeDxMassEstimate::the_ih_ {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: