8#ifndef RECON_TRACKDEDXMASSESTIMATE_H_
9#define RECON_TRACKDEDXMASSESTIMATE_H_
49 friend std::ostream &
operator<<(std::ostream &o,
62 void setNhits(
float nhits) { n_hits_ = nhits; }
68 void setIh(
float the_ih) { the_ih_ = the_ih; }
74 void setMass(
float mass) { mass_ = mass; }
95 void setPdgId(
int pdg_id) { pdg_id_ = pdg_id; }
107 float getIh()
const {
return the_ih_; }
147 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.
void setNhits(float nhits)
Set the number of hits used in the dEdx calculation.
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.
ClassDef(TrackDeDxMassEstimate, 5)
The ROOT class definition.