SRTrack.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file SRTrack.h
3 /// \brief Reconstructed track object
4 /// \author J. Wolcott <jwolcott@fnal.gov>
5 /// \date Sept. 2021
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef DUNEANAOBJ_SRTRACK_H
8 #define DUNEANAOBJ_SRTRACK_H
9 
12 
13 namespace caf
14 {
15  class SRTrack
16  {
17  public:
18  SRVector3D start; ///< Track 3D start point
19  SRVector3D end; ///< Track 3D end point
20  SRVector3D dir; ///< Unit vector representing estimate of track direction *taken from start point*
21  SRVector3D enddir; ///< Unit vector representing estimate of track direction *taken from endpoint*
22 
23  float Evis = -999.; ///< Visible energy in voxels corresponding to this track
24 
25  SRParticleTruth truth; ///< Best-match GEANT truth particle for this track
26  };
27 
28 }
29 
30 #if !defined(__GCCXML__) && !defined(__castxml__)
31 std::ostream & operator<<(std::ostream & stream, const caf::SRTrack & tr);
32 #endif
33 
34 #endif //DUNEANAOBJ_SRTRACK_H
float Evis
Visible energy in voxels corresponding to this track.
Definition: SRTrack.h:23
SRVector3D dir
Unit vector representing estimate of track direction taken from start point
Definition: SRTrack.h:20
std::ostream & operator<<(std::ostream &stream, const caf::SRTrack &tr)
Definition: SRTrack.cxx:10
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:25
SRVector3D enddir
Unit vector representing estimate of track direction taken from endpoint
Definition: SRTrack.h:21
SRParticleTruth truth
Best-match GEANT truth particle for this track.
Definition: SRTrack.h:25
SRVector3D start
Track 3D start point.
Definition: SRTrack.h:18
SRVector3D end
Track 3D end point.
Definition: SRTrack.h:19
Truth information for a true particle.
Common Analysis Files.
Definition: SRGAr.h:13