DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Loading...
Searching...
No Matches
duneanaobj
StandardRecord
SRTrack.h
Go to the documentation of this file.
1
7
#ifndef DUNEANAOBJ_SRTRACK_H
8
#define DUNEANAOBJ_SRTRACK_H
9
10
#include "duneanaobj/StandardRecord/SREnums.h"
11
#include "
duneanaobj/StandardRecord/SRVector3D.h
"
12
#include "
duneanaobj/StandardRecord/SRTrueParticle.h
"
13
14
namespace
caf
15
{
16
class
SRTrack
17
{
18
public
:
19
// less typing further below
20
static
constexpr
float
NaN = std::numeric_limits<float>::signaling_NaN();
21
22
SRVector3D
start
;
23
SRVector3D
end
;
24
SRVector3D
dir
;
25
SRVector3D
enddir
;
26
27
double
time
= NaN;
28
29
float
Evis
= NaN;
30
31
// Track characteristics
32
float
qual
= NaN;
33
34
float
len_gcm2
= NaN;
35
float
len_cm
= NaN;
36
37
float
E
= NaN;
38
39
std::vector<TrueParticleID>
truth
;
40
std::vector<float>
truthOverlap
;
41
};
42
43
}
44
45
#if !defined(__GCCXML__) && !defined(__castxml__)
46
std::ostream & operator<<(std::ostream & stream,
const
caf::SRTrack
& tr);
47
#endif
48
49
#endif
//DUNEANAOBJ_SRTRACK_H
SRTrueParticle.h
True particle coming out of a probe particle's interaction w/ detector.
SRVector3D.h
3-vector class with more efficient storage than TVector3. Ported from NOvA StandardRecord.
caf::SRTrack
Definition
SRTrack.h:17
caf::SRTrack::dir
SRVector3D dir
Unit vector representing estimate of track direction taken from start point
Definition
SRTrack.h:24
caf::SRTrack::enddir
SRVector3D enddir
Unit vector representing estimate of track direction taken from endpoint
Definition
SRTrack.h:25
caf::SRTrack::qual
float qual
Reco-specific quality metric (in TMS, equivalent to "hits in track"/"total hits in event".
Definition
SRTrack.h:32
caf::SRTrack::time
double time
Time of track formation [ns].
Definition
SRTrack.h:27
caf::SRTrack::Evis
float Evis
Visible energy in voxels corresponding to this track.
Definition
SRTrack.h:29
caf::SRTrack::end
SRVector3D end
Track 3D end point [cm].
Definition
SRTrack.h:23
caf::SRTrack::truthOverlap
std::vector< float > truthOverlap
Fractional overlap between this track and true particle.
Definition
SRTrack.h:40
caf::SRTrack::start
SRVector3D start
Track 3D start point [cm].
Definition
SRTrack.h:22
caf::SRTrack::E
float E
Track energy estimate in MeV.
Definition
SRTrack.h:37
caf::SRTrack::len_gcm2
float len_gcm2
Track length in g/cm2.
Definition
SRTrack.h:34
caf::SRTrack::truth
std::vector< TrueParticleID > truth
Associated SRTrueParticle(s), if relevant (use SRTruthBranch::Particle() with these IDs to grab them)
Definition
SRTrack.h:39
caf::SRTrack::len_cm
float len_cm
Track length in centimeter (actual physical distance)
Definition
SRTrack.h:35
caf::SRVector3D
A 3-vector with more efficient storage than TVector3.
Definition
SRVector3D.h:26
caf
Common Analysis Files.
Definition
Navigate.cxx:8
Generated by
1.9.8