vdt Namespace Reference

VertexDT finding algorithm. More...

## Classes

class  DTEnergy

class  Minimizer2D

class  Minimizer3D

class  Segment

class  VertexDT

## Functions

static void gsFCN (int &n, double *, double &f, double *p, int)

static void gsFCN (int &n, double *, double &f, double *p, int)

## Variables

static Minimizer2DgsMinimizer2D =0

static Minimizer3DgsMinimizer3D =0

## Detailed Description

VertexDT finding algorithm.

Vertexing using deformable templates

## Function Documentation

 static void vdt::gsFCN ( int & n, double * , double & f, double * p, int )
static

Definition at line 58 of file Minimizer2D.cxx.

Referenced by vdt::Minimizer2D::Anneal(), and vdt::Minimizer3D::Anneal().

59  {
60  int i, j;
61  for (i=0,j=0; j<n; ++i,j+=2) {
62  gsMinimizer2D->fExz.fX[i] = p[j+1];
63  gsMinimizer2D->fExz.fY[i] = p[j+0];
64  }
65  f = gsMinimizer2D->E();
66  }
static Minimizer2D * gsMinimizer2D
Definition: Minimizer2D.cxx:57
std::vector< double > fX
x locations of vertex candidates
Definition: DTEnergy.h:55
const char * p
Definition: xmltok.h:285
DTEnergy fExz
Energy calculator for the xz view.
Definition: Minimizer2D.h:74
const double j
Definition: BetheBloch.cxx:29
std::vector< double > fY
y locations of vertex candidates
Definition: DTEnergy.h:56
 static void vdt::gsFCN ( int & n, double * , double & f, double * p, int )
static

Definition at line 70 of file Minimizer3D.cxx.

71  {
72  int i, j;
73  for (i=0,j=0; j<n; ++i,j+=3) {
74  gsMinimizer3D->fExz.fX[i] = p[j+2];
75  gsMinimizer3D->fExz.fY[i] = p[j+0];
76  gsMinimizer3D->fEyz.fX[i] = p[j+2];
77  gsMinimizer3D->fEyz.fY[i] = p[j+1];
78  }
79  f = gsMinimizer3D->E();
80  }
DTEnergy fEyz
Energy calculator for the yz view.
Definition: Minimizer3D.h:83
std::vector< double > fX
x locations of vertex candidates
Definition: DTEnergy.h:55
const char * p
Definition: xmltok.h:285
static Minimizer3D * gsMinimizer3D
Definition: Minimizer3D.cxx:69
const double j
Definition: BetheBloch.cxx:29
DTEnergy fExz
Energy calculator for the xz view.
Definition: Minimizer3D.h:82
std::vector< double > fY
y locations of vertex candidates
Definition: DTEnergy.h:56

## Variable Documentation

 Minimizer2D* vdt::gsMinimizer2D =0
static

Definition at line 57 of file Minimizer2D.cxx.

 Minimizer3D* vdt::gsMinimizer3D =0
static

Definition at line 69 of file Minimizer3D.cxx.