DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Loading...
Searching...
No Matches
SRFD.h
1
2// \file SRFD.h
3// \brief FD reconstruction output.
4// \author J. Wolcott <jwolcott@fnal.gov>
5// \date Mar. 2023
7
8#ifndef DUNEANAOBJ_SRFD_H
9#define DUNEANAOBJ_SRFD_H
10
14
15namespace caf
16{
18 class SRFDInt
19 {
20 public:
21 // these are just placeholders.
22 // need to coordinate w/ FD reco folks to put something sensible in here
23 std::vector<SRTrack> tracks;
24 std::size_t ntracks = 0; // these counters used by SRProxy
25
26 std::vector<SRShower> showers;
27 std::size_t nshowers = 0;
28
29 std::vector<SRPFP> pfps;
30 std::size_t npfps = 0;
31 };
32
34 struct SRFDID
35 {
36 FD_RECO_STACK reco = kUnknownFDReco;
37 int ixn = -1;
38 int idx = -1;
39 };
40
41 class SRFD
42 {
43 public:
44
45 std::vector<SRFDInt> pandora;
46 std::size_t npandora = 0;
47
51 template <typename T>
52 const T & Reco(const SRFDID& id);
53 };
54
55} // caf
56
57#endif //DUNEANAOBJ_SRFD_H
Reconstructed pfp object metadata.
Reconstructed shower object.
Reconstructed track object.
A FD reconstructed neutrino interaction.
Definition SRFD.h:19
Definition SRFD.h:42
std::vector< SRFDInt > pandora
Reconstructed interactions.
Definition SRFD.h:45
const T & Reco(const SRFDID &id)
Definition SRFD.cxx:6
Common Analysis Files.
Definition Navigate.cxx:8
FD_RECO_STACK
Which reconstruction toolkit was used to reconstruct this FD event?
Definition SREnums.h:127
The information needed to uniquely identify a FD reco object.
Definition SRFD.h:35
FD_RECO_STACK reco
reco stack
Definition SRFD.h:36
int ixn
interaction ID
Definition SRFD.h:37
int idx
index in container
Definition SRFD.h:38