3 #ifndef RECO3D_SOLVER_H 4 #define RECO3D_SOLVER_H 48 void AddCharge(
double dq);
74 double Metric(
const std::vector<SpaceCharge*>& scs,
double alpha);
75 double Metric(
const std::vector<CollectionWireHit*>& cwires,
double alpha);
81 void Iterate(
const std::vector<CollectionWireHit*>& cwires,
82 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 SolvePair(SpaceCharge *sci, SpaceCharge *scj, double xmin, double xmax, double alpha)
double fNeiPotential
Neighbour-induced potential.
std::vector< SpaceCharge * > fCrossings
InductionWireHit * fWire2
CollectionWireHit * fCWire
Vector cross(Vector const &a, Vector const &b)
Return cross product of two vectors.