#include "MVAAlg.h"
Definition at line 52 of file MVAAlg.h.
mvapid::MVAAlg::SumDistance2::SumDistance2 |
( |
TGraph2D * |
g | ) |
|
|
inline |
double mvapid::MVAAlg::SumDistance2::operator() |
( |
const double * |
p | ) |
|
|
inline |
Definition at line 59 of file MVAAlg.h.
References util::end(), tca::evt, hits(), sum, track, lar::dump::vector(), x, y, and z.
62 ROOT::Math::XYZVector x0(p[0], p[2], p[4]);
63 ROOT::Math::XYZVector u(p[1], p[3], p[5]);
69 int npoints =
fGraph->GetN();
71 for (
int i = 0; i < npoints; ++i) {
72 ROOT::Math::XYZVector xp(x[i], y[i], z[i]);
73 sum += ((xp - x0).Cross(u)).Mag2();
TGraph2D* mvapid::MVAAlg::SumDistance2::fGraph |
The documentation for this struct was generated from the following file:
- larana/v09_15_05/source/larana/ParticleIdentification/MVAAlg.h