#include <MVAPID.h>
Definition at line 9 of file MVAPID.h.
void sbn::MVAPID::AddScore |
( |
int |
pdg, |
|
|
float |
score |
|
) |
| |
Definition at line 8 of file MVAPID.cc.
11 throw cet::exception(
"MVAPID") <<
"Failed to add entry: " <<
pdg <<
" to MVA PID score map as it already exists" << std::endl;
BEGIN_PROLOG or score(default)}sbnd_crttrackmatchingalg_crID
std::map< int, float > mvaScoreMap
std::pair< int, float > sbn::MVAPID::BestIter |
( |
| ) |
const |
Definition at line 14 of file MVAPID.cc.
16 auto iter = std::max_element(
mvaScoreMap.begin(),
mvaScoreMap.end(), [](
auto const& lhs,
auto const& rhs) {
return lhs.second < rhs.second; });
19 mf::LogError(
"MVAPID") <<
"Failed to find max element in map" << std::endl;
20 return {-1, std::numeric_limits<float>::lowest()};
std::map< int, float > mvaScoreMap
int sbn::MVAPID::BestPDG |
( |
| ) |
const |
|
inline |
Definition at line 18 of file MVAPID.h.
std::pair< int, float > BestIter() const
float sbn::MVAPID::BestScore |
( |
| ) |
const |
|
inline |
Definition at line 19 of file MVAPID.h.
std::pair< int, float > BestIter() const
std::map<int, float> sbn::MVAPID::mvaScoreMap |
The documentation for this class was generated from the following files: