LDMX Software
Track.cxx
1#include "Tracking/Event/Track.h"
2
3#include <iostream>
4
5ClassImp(ldmx::Track);
6
7namespace ldmx {
8std::ostream& operator<<(std::ostream& o, const Track& c) {
9 return o << "Track { " << "TrackID: " << c.track_id_
10 << ", n_hits: " << c.n_hits_ << ", n_outliers: " << c.n_outliers_
11 << ", ndf: " << c.ndf_ << ", chi2: " << c.chi2_
12 << ", truthProb: " << c.truth_prob_ << ", pdgID: " << c.pdg_id_
13 << ", perigee_pars: [" << c.perigee_pars_[0] << ", "
14 << c.perigee_pars_[1] << ", " << c.perigee_pars_[2] << ", "
15 << c.perigee_pars_[3] << ", " << c.perigee_pars_[4] << "] }";
16}
17
18} // namespace ldmx
Implementation of a track object.
Definition Track.h:53