DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
SRNDLAr.h
1 // \file SRNDLAr.h
3 // \brief ND-LAr reconstruction output.
4 // \author J. Wolcott <jwolcott@fnal.gov>
5 // \date Sept. 2021
7 #ifndef DUNEANAOBJ_SRNDLAR_H
8 #define DUNEANAOBJ_SRNDLAR_H
9 
12 
13 namespace caf
14 {
16  class SRNDLArInt
17  {
18  public:
19  std::vector<SRTrack> tracks;
20  std::size_t ntracks = 0;
21 
22  std::vector<SRShower> showers;
23  std::size_t nshowers = 0;
24  };
25 
27  class SRNDLArID
28  {
29  public:
30  NDLAR_RECO_STACK reco = kUnknownNDLArReco;
31  int ixn = -1;
32  int idx = -1;
33  };
34 
36  class SRNDLAr
37  {
38  public:
39  std::vector<SRNDLArInt> dlp;
40  std::size_t ndlp = 0;
41  std::vector<SRNDLArInt> pandora;
42  std::size_t npandora = 0;
43 
47  template <typename T>
48  const T & Reco(const SRNDLArID& id);
49  };
50 
51 }
52 #endif //DUNEANAOBJ_SRNDLAR_H
Reconstructed shower object.
Reconstructed track object.
The information needed to uniquely identify an ND-LAr reco object.
Definition: SRNDLAr.h:28
int idx
index in container
Definition: SRNDLAr.h:32
NDLAR_RECO_STACK reco
reco stack
Definition: SRNDLAr.h:30
int ixn
interaction ID
Definition: SRNDLAr.h:31
A reconstructed interaction in ND-LAr.
Definition: SRNDLAr.h:17
ND-LAr reconstruction output.
Definition: SRNDLAr.h:37
std::vector< SRNDLArInt > pandora
Reconstructed interactions from Pandora.
Definition: SRNDLAr.h:41
std::vector< SRNDLArInt > dlp
Reconstructed interactions from Deep Learn Physics machine-learning reco.
Definition: SRNDLAr.h:39
const T & Reco(const SRNDLArID &id)
Definition: SRNDLAr.cxx:6
Common Analysis Files.
Definition: SRBeamBranch.h:13
NDLAR_RECO_STACK
Which reconstruction toolkit was used to reconstruct this ND event?
Definition: SREnums.h:113