#include <MVAAlg.h>
Definition at line 47 of file MVAAlg.h.
mvapid::MVAAlg::SumDistance2::SumDistance2 |
( |
TGraph2D * |
g | ) |
|
|
inline |
Definition at line 51 of file MVAAlg.h.
static constexpr double g
double mvapid::MVAAlg::SumDistance2::operator() |
( |
const double * |
p | ) |
|
|
inline |
Definition at line 55 of file MVAAlg.h.
58 ROOT::Math::XYZVector x0(
p[0],
p[2],
p[4]);
59 ROOT::Math::XYZVector u(
p[1],
p[3],
p[5]);
65 int npoints =
fGraph->GetN();
67 for (
int i = 0; i < npoints; ++i) {
68 ROOT::Math::XYZVector xp(x[i], y[i], z[i]);
69 sum += ((xp - x0).Cross(u)).Mag2();
TGraph2D* mvapid::MVAAlg::SumDistance2::fGraph |
The documentation for this struct was generated from the following file:
- larana/larana/ParticleIdentification/MVAAlg.h