DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Loading...
Searching...
No Matches
Navigate.h
1#ifndef DUNEANAOBJ_NAVIGATE_H
2#define DUNEANAOBJ_NAVIGATE_H
3
4#include <type_traits>
5
7#include "duneanaobj/StandardRecord/SRRecoObjBase.h"
9
10namespace caf
11{
12 // a bit horrible to forward-declare Proxy types...
13 // (we would #include Proxy/FwdDeclare.h, but
14 // gen_srproxy has not yet created it
15 // by the time Navigate.h is first seen)
16 template <class T> class Proxy;
17 class SRTrueParticle;
19
24 template <typename TruthBranchType, typename TrueParticleIDType>
25 const typename std::conditional<std::is_same_v<TruthBranchType, SRTruthBranch>,
27 FindParticle(const TruthBranchType & truth, const TrueParticleIDType &id);
28
31 template <typename TruthBranchType>
32 const typename std::conditional<std::is_same_v<TruthBranchType, SRTruthBranch>,
34 FindInteraction(const TruthBranchType & truth, long int id);
35
36 const SRRecoParticle * FindRecoParticle(const StandardRecord & sr, const SRRecoParticleID& id);
37
38 const SRRecoObjBase *FindRecoObjBase(const StandardRecord &sr, const SRRecoBaseID &id);
39}
40#endif //DUNEANAOBJ_NAVIGATE_H
Top level truth info.
The StandardRecord is the primary top-level object in the Common Analysis File trees.
Definition: Navigate.h:16
Identifies a reconstructed object by the interaction it belongs to, which collection of reconstructed...
Definition: SREnums.h:152
Base class for reco objects (enables navigation between SRRecoParticle and the underlying object it w...
Definition: SRRecoObjBase.h:18
Identifies a reconstructed particle by the interaction it belongs to, which collection of reconstruct...
Definition: SREnums.h:130
Reconstructed particle candidate.
Definition: SRRecoParticle.h:20
True interaction of probe particle with detector. Usually neutrinos, but occasionally cosmics etc.
Definition: SRTrueInteraction.h:46
Definition: SRTrueParticle.h:22
The StandardRecord is the primary top-level object in the Common Analysis File trees.
Definition: StandardRecord.h:25
Common Analysis Files.
Definition: Navigate.cxx:8