7 #ifndef LEM_FINDMATCHES_H 8 #define LEM_FINDMATCHES_H 35 bool flipEven,
bool flipOdd);
38 bool flipEven,
bool flipOdd);
46 const std::multiset<float>& already,
47 unsigned int numMatches = kMaxNumMatches,
49 const Heads* heads = 0,
51 bool flipHeadEven =
false,
52 bool flipHeadOdd =
false,
53 bool useDownsample =
true);
Map of electrostatic potential at each cell.
Simple representation of event for LEM use.
float CalcEnergy(const Potential &Va, const MatchableEvent &a, const MatchableEvent &b)
Attach some information used in matching to an EventSummary.
const unsigned int kMaxNumMatches
Map of electrostatic potential at each cell.
std::vector< Match > FindMatches(const MatchableEvent &trial, unsigned int libSize, const MatchableEvent *lib, const MatchableEvent *libDownsample, int factor, const std::multiset< float > &alreadyInput, unsigned int numMatches, int enrich, const Heads *heads, int headIdx, bool flipHeadEven, bool flipHeadOdd, bool useDownsample)
double FracChargeMatched(const EventSummary &a, const EventSummary &b, bool flipEven, bool flipOdd)
Mapping from a subset of the library to their best matches.
Information about a LEM match.
void FillPotential(const EventSummary &trial, Potential &V, bool flipEven, bool flipOdd)
Collection of Potential objects with odd and/or even view flipped.