Namespaces | |
flat | |
Classes | |
struct | CRTMatch |
struct | CRTHit |
struct | FlashTriggerPrimitive |
struct | FlashMatch |
struct | RecoSlice |
struct | RecoInteraction |
struct | RecoEvent |
struct | RecoParticle |
struct | MCSFitResult |
struct | RecoTrack |
struct | TrueParticle |
struct | TrackTruthMatch |
struct | TruthMatch |
class | MuonS2NStudy |
class | MuPVertexStudy |
class | NuMuEfficiencyStudy |
Typedefs | |
using | TrackFunction = std::function< uscript::Value(const numu::RecoTrack *, const numu::TrueParticle *, const unsigned *)> |
using | TrackSelector = std::function< bool(const numu::RecoTrack &, const numu::TrueParticle &, const unsigned &)> |
Enumerations | |
enum | MCType { fUnknown =0, fOverlay =1, fIntimeCosmic =2, fCosmic =3 } |
enum | InteractionMode { mCC = 0, mCCNonPrimary = 1, mNC = 2, mNCNonPrimary = 3, mCosmic = 4, mIntimeCosmic = 5, mOther = 6, mAll = 7 } |
enum | TrackMode { tmOther = -1, tmCosmic = 1, tmNeutrino = 2 } |
enum | Wall { wNone =0, wTop =1, wBottom =2, wLeft =3, wRight =4, wFront =5, wBack =6 } |
Functions | |
float | dist2Match (const event::Interaction &truth, const std::vector< numu::RecoInteraction > &candidates) |
float | trackMatchCompletion (unsigned truth_index, const numu::RecoEvent &event) |
std::vector< std::string > | MultiplyNames (const std::vector< std::vector< std::string >> &strings, char join='_') |
std::vector< TrackSelector > | MultiplyTrackSelectors (const std::vector< std::vector< std::string >> &track_function_strings) |
int | SelectLongestTrack (const std::map< size_t, RecoTrack > &tracks, const RecoSlice &slice) |
int | SelectLongestIDdMuon (const std::map< size_t, RecoTrack > &tracks, const RecoSlice &slice) |
float | MeanTruncateddQdx (const anab::Calorimetry &calo) |
float | TrackMomentum (const numu::RecoTrack &track) |
float | RangeMomentum (const numu::RecoTrack &track) |
float | MCSMomentum (const numu::RecoTrack &track) |
TruthMatch | InteractionTruthMatch (const std::vector< event::Interaction > &truth, const std::map< size_t, numu::RecoTrack > &reco_tracks, const numu::RecoInteraction &reco) |
void | CorrectMultiMatches (RecoEvent &event, std::vector< RecoInteraction > &recos) |
InteractionMode | GetMode (const event::Interaction &truth) |
std::vector < FlashTriggerPrimitive > | TriggerPrimitives (const std::vector< raw::OpDetWaveform > &waveforms, double tick_period, std::pair< double, double > &window, int thresh, bool is_sbnd) |
bool | HasTrigger (const std::vector< FlashTriggerPrimitive > &primitives, int threshold, unsigned n_above_threshold) |
std::vector< int > | TriggerThresholds (const std::vector< numu::FlashTriggerPrimitive > &primitives, unsigned size) |
using numu::TrackFunction = typedef std::function<uscript::Value (const numu::RecoTrack *, const numu::TrueParticle *, const unsigned *)> |
Definition at line 12 of file DynamicSelector.h.
using numu::TrackSelector = typedef std::function<bool (const numu::RecoTrack &, const numu::TrueParticle &, const unsigned &)> |
Definition at line 13 of file DynamicSelector.h.
Enum to hold each different typoe of reconstructed event
Enumerator | |
---|---|
mCC | |
mCCNonPrimary | |
mNC | |
mNCNonPrimary | |
mCosmic | |
mIntimeCosmic | |
mOther | |
mAll |
enum numu::MCType |
Enumerator | |
---|---|
fUnknown | |
fOverlay | |
fIntimeCosmic | |
fCosmic |
enum numu::TrackMode |
enum numu::Wall |
Enumerator | |
---|---|
wNone | |
wTop | |
wBottom | |
wLeft | |
wRight | |
wFront | |
wBack |
Definition at line 10 of file TrueParticle.h.
void numu::CorrectMultiMatches | ( | numu::RecoEvent & | event, |
std::vector< RecoInteraction > & | recos | ||
) |
Corrects a list of reco interaction objects when some are matched to the same truth neutrino interaction by making some of them non-primary
event | The reconstructed event |
recos | The list of reconstructed vertices. The "match" field of each RecoInteraction may be edited by this function |
Definition at line 110 of file TruthMatch.cc.
float numu::dist2Match | ( | const event::Interaction & | truth, |
const std::vector< numu::RecoInteraction > & | candidates | ||
) |
Distance between one interation vertex and a list of candidate matching vertices
truth | The true neutrino interaction to match |
candidates | The list of candidate vertices matching to this one |
Definition at line 3 of file Derived.cc.
numu::InteractionMode numu::GetMode | ( | const event::Interaction & | truth | ) |
Definition at line 5 of file TruthMatch.cc.
bool numu::HasTrigger | ( | const std::vector< FlashTriggerPrimitive > & | primitives, |
int | threshold, | ||
unsigned | n_above_threshold | ||
) |
Definition at line 65 of file PMTTrigger.cc.
numu::TruthMatch numu::InteractionTruthMatch | ( | const std::vector< event::Interaction > & | truth, |
const std::map< size_t, numu::RecoTrack > & | reco_tracks, | ||
const numu::RecoInteraction & | reco | ||
) |
Returns the truth match interaction in a RecoInteraction
truth | The list of true interactions in the event |
reco_tracks | The set of reconstructed tracks in the event |
reco | The reconstructed interaction in the event. The existing content of the reco.match instance does not affect the algorithm |
Definition at line 10 of file TruthMatch.cc.
float numu::MCSMomentum | ( | const numu::RecoTrack & | track | ) |
Definition at line 20 of file TrackAlgo.cc.
float numu::MeanTruncateddQdx | ( | const anab::Calorimetry & | calo | ) |
Definition at line 25 of file TrackAlgo.cc.
std::vector< std::string > numu::MultiplyNames | ( | const std::vector< std::vector< std::string >> & | strings, |
char | join = '_' |
||
) |
Definition at line 25 of file DynamicSelector.cc.
std::vector< numu::TrackSelector > numu::MultiplyTrackSelectors | ( | const std::vector< std::vector< std::string >> & | track_function_strings | ) |
Definition at line 39 of file DynamicSelector.cc.
float numu::RangeMomentum | ( | const numu::RecoTrack & | track | ) |
Definition at line 15 of file TrackAlgo.cc.
int numu::SelectLongestIDdMuon | ( | const std::map< size_t, RecoTrack > & | tracks, |
const RecoSlice & | slice | ||
) |
Algorithm to select the primary track – get the longest one that has a better particle ID for muon than proton
tracks | All reconstructed tracks in the event |
slice | The RecoSlice to select the primary track for |
Definition at line 22 of file PrimaryTrack.cc.
int numu::SelectLongestTrack | ( | const std::map< size_t, RecoTrack > & | tracks, |
const RecoSlice & | slice | ||
) |
Algorithm to select the primary track – get the longest one
tracks | All reconstructed tracks in the event |
slice | The RecoSlice to select the primary track for |
Definition at line 3 of file PrimaryTrack.cc.
float numu::trackMatchCompletion | ( | unsigned | truth_index, |
const numu::RecoEvent & | event | ||
) |
Get the completon of a reconstructed track matching to a true track
truth_index | The index of the true particle to match |
event | The reconstructed event |
Definition at line 13 of file Derived.cc.
float numu::TrackMomentum | ( | const numu::RecoTrack & | track | ) |
Definition at line 5 of file TrackAlgo.cc.
std::vector< numu::FlashTriggerPrimitive > numu::TriggerPrimitives | ( | const std::vector< raw::OpDetWaveform > & | waveforms, |
double | tick_period, | ||
std::pair< double, double > & | window, | ||
int | thresh, | ||
bool | is_sbnd | ||
) |
Definition at line 7 of file PMTTrigger.cc.
std::vector< int > numu::TriggerThresholds | ( | const std::vector< numu::FlashTriggerPrimitive > & | primitives, |
unsigned | size | ||
) |
Definition at line 37 of file PMTTrigger.cc.