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