DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
SRFD.h
1 // \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 
13 
14 namespace caf
15 {
17  class SRFDInt
18  {
19  public:
20  // these are just placeholders.
21  // need to coordinate w/ FD reco folks to put something sensible in here
22  std::vector<SRTrack> tracks;
23  std::size_t ntracks = 0; // these counters used by SRProxy
24 
25  std::vector<SRShower> showers;
26  std::size_t nshowers = 0;
27  };
28 
30  struct SRFDID
31  {
32  FD_RECO_STACK reco = kUnknownFDReco;
33  int ixn = -1;
34  int idx = -1;
35  };
36 
37  class SRFD
38  {
39  public:
40 
41  std::vector<SRFDInt> pandora;
42  std::size_t npandora = 0;
43 
47  template <typename T>
48  const T & Reco(const SRFDID& id);
49  };
50 
51 } // caf
52 
53 #endif //DUNEANAOBJ_SRFD_H
Reconstructed shower object.
Reconstructed track object.
A FD reconstructed neutrino interaction.
Definition: SRFD.h:18
Definition: SRFD.h:38
std::vector< SRFDInt > pandora
Reconstructed interactions.
Definition: SRFD.h:41
const T & Reco(const SRFDID &id)
Definition: SRFD.cxx:6
Common Analysis Files.
Definition: SRBeamBranch.h:13
FD_RECO_STACK
Which reconstruction toolkit was used to reconstruct this FD event?
Definition: SREnums.h:106
The information needed to uniquely identify a FD reco object.
Definition: SRFD.h:31
FD_RECO_STACK reco
reco stack
Definition: SRFD.h:32
int ixn
interaction ID
Definition: SRFD.h:33
int idx
index in container
Definition: SRFD.h:34