DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
SRMINERvA.h
1 // \file SRNDLAr.h
3 // \brief ND-LAr reconstruction output.
4 // \author J. Wolcott <jwolcott@fnal.gov>
5 // \date Mar. 2023
7 
8 #ifndef DUNEANAOBJ_SRMINERVA_H
9 #define DUNEANAOBJ_SRMINERVA_H
10 
11 #include <vector>
14 
15 namespace caf
16 {
19  {
20  public:
21  std::vector<caf::SRTrack> tracks;
22  std::size_t ntracks = 0;
23 
24  // I think this is where MINERvA "blobs" should go?
25  std::vector<caf::SRShower> showers;
26  std::size_t nshowers = 0;
27  };
28 
30  struct SRMINERvAID
31  {
32  int ixn = -1;
33  int idx = -1;
34  };
35 
36  // just a placeholder for the moment
37  class SRMINERvA
38  {
39  public:
40  std::vector<SRMINERvAInt> ixn;
41  std::size_t nixn = 0;
42 
45  template <typename T>
46  const T & Reco(const SRMINERvAID& id);
47  };
48 
49 } // caf
50 
51 #endif //DUNEANAOBJ_SRMINERVA_H
Reconstructed shower object.
Reconstructed track object.
A MINERvA reconstructed interaction.
Definition: SRMINERvA.h:19
Definition: SRMINERvA.h:38
const T & Reco(const SRMINERvAID &id)
Definition: SRMINERvA.cxx:6
std::vector< SRMINERvAInt > ixn
Reconstructed interactions.
Definition: SRMINERvA.h:40
Common Analysis Files.
Definition: SRBeamBranch.h:13
The information needed to uniquely identify a MINERvA reco object.
Definition: SRMINERvA.h:31
int idx
index in container
Definition: SRMINERvA.h:33
int ixn
interaction ID
Definition: SRMINERvA.h:32