DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Loading...
Searching...
No Matches
SRTMS.h
1
3
4#ifndef DUNEANAOBJ_SRTMS_H
5#define DUNEANAOBJ_SRTMS_H
6
8
9namespace caf
10{
13 {
14 public:
15 std::vector<caf::SRTrack> tracks;
16 std::size_t ntracks = 0;
17 };
18
20 class SRTMSID
21 {
22 public:
23 int ixn = -1;
24 int idx = -1;
25 };
26
27 class SRTMS
28 {
29 public:
30 std::vector<SRTMSInt> ixn;
31 std::size_t nixn = 0;
32
35 const SRTrack & Track(const SRTMSID& id)
36 {
37 return ixn[id.ixn].tracks[id.idx];
38 }
39
40 };
41
42}
43#endif //DUNEANAOBJ_SRTMS_H
Reconstructed track object.
The information needed to uniquely identify a TMS reco object.
Definition SRTMS.h:21
int ixn
interaction ID
Definition SRTMS.h:23
int idx
index in container
Definition SRTMS.h:24
A TMS reconstructed neutrino interaction.
Definition SRTMS.h:13
Definition SRTMS.h:28
const SRTrack & Track(const SRTMSID &id)
Definition SRTMS.h:35
std::vector< SRTMSInt > ixn
Reconstructed interactions.
Definition SRTMS.h:30
Definition SRTrack.h:17
Common Analysis Files.
Definition Navigate.cxx:8