![]() |
PandaRoot
|
#include <typeinfo>#include <sstream>#include <string>#include <vector>#include <map>#include <cmath>#include <cassert>Go to the source code of this file.
Classes | |
| struct | StepError |
| Structure to hold the per step error values. More... | |
| struct | PndMvaDistObj |
Functions | |
| bool | CompLess (PndMvaDistObj const *a, PndMvaDistObj const *b) |
| Less than, comparison funtion. More... | |
| template<typename T > | |
| T const & | minFunct (T const &a, T const &b) |
| template<typename T > | |
| bool | compareL (T const *l, T const *r) |
| Less than, comparison funtion. More... | |
| template<typename Set1 , typename Set2 > | |
| bool | is_disjoint (Set1 const &set1, Set2 const &set2) |
| float | ComputeDist (std::vector< float > const &EvtData, std::vector< float > const &Example) |
| int | str2int (std::string const &str) |
| unsigned int | str2Uint (std::string const &str) |
| std::string | int2str (int n) |
|
inline |
Less than, comparison funtion.
Definition at line 135 of file PndMvaUtil.h.
|
inline |
Less than, comparison funtion.
Definition at line 114 of file PndMvaUtil.h.
| float ComputeDist | ( | std::vector< float > const & | EvtData, |
| std::vector< float > const & | Example | ||
| ) |
Computes the Euclidean distance between two given vectors of event features.
Referenced by is_disjoint().
| std::string int2str | ( | int | n | ) |
Referenced by is_disjoint().
| bool is_disjoint | ( | Set1 const & | set1, |
| Set2 const & | set2 | ||
| ) |
If 2 sets are disjoint.
Input two sorted (ASC) sequences.
NOTE: In some cases one might consider using std::set_intersection from <algorithm>
Definition at line 151 of file PndMvaUtil.h.
References ComputeDist(), int2str(), str2int(), and str2Uint().
|
inline |
Binary Minimum function.
Definition at line 127 of file PndMvaUtil.h.
| int str2int | ( | std::string const & | str | ) |
Referenced by is_disjoint().
| unsigned int str2Uint | ( | std::string const & | str | ) |
Referenced by is_disjoint().