8#ifndef RECON_TRACKDEDXMASSESTIMATE_H_
9#define RECON_TRACKDEDXMASSESTIMATE_H_
49 friend std::ostream &
operator<<(std::ostream &o,
62 void setIh(
float the_ih) { the_ih_ = the_ih; }
68 void setMass(
float mass) { mass_ = mass; }
89 void setPdgId(
int pdg_id) { pdg_id_ = pdg_id; }
101 float getIh()
const {
return the_ih_; }
138 int track_index_{-1};
Represents the estimated mass of a particle using tracker dE/dx information.
void setTrackType(int track_type)
Set the type of the track.
float getIh() const
Get the Ih of the particle/track.
void clear()
Clear the data in the object.
int getPdgId() const
Get the PDG ID of the track.
void setPdgId(int pdg_id)
Set the PDG ID of the track.
int getTrackIndex() const
Get the index of the track.
virtual ~TrackDeDxMassEstimate()=default
Class destructor.
friend std::ostream & operator<<(std::ostream &o, const TrackDeDxMassEstimate &d)
Print out the object.
void setIh(float the_ih)
Set the Ih of the particle/track.
TrackDeDxMassEstimate()=default
Class constructor.
void setMomentum(float momentum)
Set the momentum of the particle/track.
int getTrackType() const
Get the type of the track.
float getMass() const
Get the estimated mass of the particle/track.
ClassDef(TrackDeDxMassEstimate, 4)
The ROOT class definition.
void setMass(float mass)
Set the estimated mass of the particle/track.
void setTrackIndex(int track_index)
Set the index of the track.
float getMomentum() const
Get the momentum of the particle/track.