LDMX Software
TrigScintTrack.cxx
1#include "TrigScint/Event/TrigScintTrack.h"
2
3/*~~~~~~~~~~~~~~~~*/
4/* C++ StdLib */
5/*~~~~~~~~~~~~~~~~*/
6#include <iostream>
7
9
10namespace ldmx {
12 centroid_ = 0;
13 residual_ = 0;
14}
15
16std::ostream& operator<<(std::ostream& o, const TrigScintTrack& c) {
17 return o << "TrigScintTrack { " << " channel centroid: " << c.getCentroid()
18 << ", residual: " << c.getResidual() << " }";
19}
20} // namespace ldmx
Represents a track of trigger scintillator clusters.
float centroid_
The detector centroid.
void clear()
Reset the TrigScintTrack object.
float getCentroid() const
Get the detector ID centroid of the track.
float residual_
The detector residual.
float getResidual() const
Get the detector ID residual of the track.