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
8namespace caf
9{
10 // a bit horrible to forward-declare Proxy types...
11 // (we would #include Proxy/FwdDeclare.h, but
12 // gen_srproxy has not yet created it
13 // by the time Navigate.h is first seen)
14 template <class T> class Proxy;
15 class SRTrueParticle;
17
22 template <typename TruthBranchType, typename TrueParticleIDType>
23 const typename std::conditional<std::is_same_v<TruthBranchType, SRTruthBranch>,
25 FindParticle(const TruthBranchType & truth, const TrueParticleIDType &id);
26
29 template <typename TruthBranchType>
30 const typename std::conditional<std::is_same_v<TruthBranchType, SRTruthBranch>,
32 FindInteraction(const TruthBranchType & truth, long int id);
33}
34#endif //DUNEANAOBJ_NAVIGATE_H
Top level truth info.
Definition Navigate.h:14
True interaction of probe particle with detector. Usually neutrinos, but occasionally cosmics etc.
Definition SRTrueInteraction.h:40
Definition SRTrueParticle.h:22
Common Analysis Files.
Definition Navigate.cxx:8