#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-16/LEM/func/FindMatchesAlg.h"
Public Member Functions | |
FindMatchesAlg (const std::string &libDir, bool preload, bool useHeads) | |
~FindMatchesAlg () | |
std::vector< Match > | FindMatches (const MatchableEvent &trial, unsigned int numMatches, int enrich) const |
const Library * | GetLibrary () const |
Protected Member Functions | |
std::vector< Match > | FindMatchesNoHeads (const MatchableEvent &trial, unsigned int numMatches, int enrich) const |
std::vector< Match > | FindMatchesHeads (const MatchableEvent &trial, unsigned int numMatches, int enrich) const |
int | BestHeadFor (const FlippedPotentials &trialVs, const MatchableEvent &trial, bool &bestFlipEven, bool &bestFlipOdd, double &bestEnergy) const |
std::vector< Match > | PackageMatches (const std::multiset< Match > &matches, const MatchableEvent &trial) const |
Protected Attributes | |
Library * | fLib |
Heads * | fHeads |
Definition at line 17 of file FindMatchesAlg.h.
lem::FindMatchesAlg::FindMatchesAlg | ( | const std::string & | libDir, |
bool | preload, | ||
bool | useHeads | ||
) |
Definition at line 40 of file FindMatchesAlg.cxx.
References ana::assert(), lem::Heads::FromMMap(), and lem::Library::FromMMap().
lem::FindMatchesAlg::~FindMatchesAlg | ( | ) |
|
protected |
Definition at line 130 of file FindMatchesAlg.cxx.
References ana::assert(), lem::CalcEnergy(), E, FindMatchesHeads(), and lem::FlippedPotentials::V.
Referenced by GetLibrary().
std::vector< Match > lem::FindMatchesAlg::FindMatches | ( | const MatchableEvent & | trial, |
unsigned int | numMatches, | ||
int | enrich | ||
) | const |
Definition at line 83 of file FindMatchesAlg.cxx.
References FindMatchesNoHeads().
Referenced by PackageMatches(), and lem::FindLEMMatches::produce().
|
protected |
Definition at line 162 of file FindMatchesAlg.cxx.
References lem::CalcEnergy(), E, lem::SortedMatchList::emplace(), lem::EventSummary::enrich, lem::FillPotential(), MECModelEnuComparisons::i, calib::j, genie::utils::mec::J(), lem::FlippedPotentials::V, and lem::MatchableEvent::weight.
Referenced by BestHeadFor(), and GetLibrary().
|
protected |
Definition at line 95 of file FindMatchesAlg.cxx.
References lem::CalcEnergy(), E, lem::SortedMatchList::emplace(), lem::EventSummary::enrich, lem::FillPotential(), MECModelEnuComparisons::i, lem::FlippedPotentials::V, and lem::MatchableEvent::weight.
Referenced by FindMatches(), and GetLibrary().
|
inline |
Definition at line 27 of file FindMatchesAlg.h.
References BestHeadFor(), FindMatchesHeads(), FindMatchesNoHeads(), fLib, overlay_prestage_def::matches, and PackageMatches().
Referenced by lem::FindLEMMatches::beginRun(), and lem::FindLEMMatches::produce().
|
protected |
Definition at line 65 of file FindMatchesAlg.cxx.
References FindMatches(), lem::FracChargeMatched(), m, runNovaSAM::ret, and lem::MatchableEvent::selfEnergy.
Referenced by GetLibrary(), and ~FindMatchesAlg().
|
protected |
Definition at line 47 of file FindMatchesAlg.h.
|
protected |
Definition at line 46 of file FindMatchesAlg.h.
Referenced by GetLibrary().