Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
duneanaobj
duneanaobj
StandardRecord
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
10
#include "
duneanaobj/StandardRecord/SRVector3D.h
"
11
#include "
duneanaobj/StandardRecord/SRParticleTruth.h
"
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
caf::SRTrack::Evis
float Evis
Visible energy in voxels corresponding to this track.
Definition:
SRTrack.h:23
caf::SRTrack::dir
SRVector3D dir
Unit vector representing estimate of track direction taken from start point
Definition:
SRTrack.h:20
operator<<
std::ostream & operator<<(std::ostream &stream, const caf::SRTrack &tr)
Definition:
SRTrack.cxx:10
caf::SRVector3D
A 3-vector with more efficient storage than TVector3.
Definition:
SRVector3D.h:25
caf::SRParticleTruth
Definition:
SRParticleTruth.h:16
SRVector3D.h
caf::SRTrack::enddir
SRVector3D enddir
Unit vector representing estimate of track direction taken from endpoint
Definition:
SRTrack.h:21
caf::SRTrack::truth
SRParticleTruth truth
Best-match GEANT truth particle for this track.
Definition:
SRTrack.h:25
caf::SRTrack::start
SRVector3D start
Track 3D start point.
Definition:
SRTrack.h:18
generate_datataset.stream
stream
Definition:
generate_datataset.py:30
caf::SRTrack::end
SRVector3D end
Track 3D end point.
Definition:
SRTrack.h:19
SRParticleTruth.h
Truth information for a true particle.
caf::SRTrack
Definition:
SRTrack.h:15
caf
Common Analysis Files.
Definition:
SRGAr.h:13
Generated by
1.8.11