LDMX Software
TrackDeDxMassEstimate.cxx
2
4
5namespace ldmx {
6
8 the_ih_ = -1.0;
9 momentum_ = 9999.0;
10 mass_ = 0.;
11 mass_squared_ = 0.;
12 track_index_ = -1;
13 track_type_ = -1;
14 pdg_id_ = 0;
15}
16
17std::ostream& operator<<(std::ostream& o, const TrackDeDxMassEstimate& c) {
18 return o << "TrackDeDxMassEstimate { " << "Momentum: " << c.momentum_ << ", "
19 << "Ih: " << c.the_ih_ << ", " << "Mass: " << c.mass_ << ", "
20 << "Mass squared: " << c.mass_squared_ << ", "
21 << "Track Index: " << c.track_index_ << ", "
22 << "Track Type: " << c.track_type_ << " }" << "PDG ID: " << c.pdg_id_
23 << " }";
24}
25
26} // namespace ldmx
Class that represents the estimated mass of a particle using tracker dE/dx information.
Represents the estimated mass of a particle using tracker dE/dx information.
void clear()
Clear the data in the object.