3 #ifndef RECO3D_SOLVER_H 4 #define RECO3D_SOLVER_H 49 void AddCharge(
double dq);
76 double Metric(
const std::vector<SpaceCharge*>& scs,
double alpha);
77 double Metric(
const std::vector<CollectionWireHit*>& cwires,
double alpha);
82 double xmin,
double xmax,
86 void Iterate(
const std::vector<CollectionWireHit*>& cwires,
87 const std::vector<SpaceCharge*>& orphanSCs,
double Metric(const std::vector< SpaceCharge * > &scs, double alpha)
std::vector< Neighbour > fNeighbours
void Iterate(CollectionWireHit *cwire, double alpha)
double fNeiPotential
Neighbour-induced potential.
double SolvePair(CollectionWireHit *cwire, SpaceCharge *sci, SpaceCharge *scj, double xmin, double xmax, double alpha)
std::vector< SpaceCharge * > fCrossings
InductionWireHit * fWire2
CollectionWireHit * fCWire
Vector cross(Vector const &a, Vector const &b)
Return cross product of two vectors.