LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Solver.h"
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <set>
#include <iostream>
Go to the source code of this file.
Functions | |
template<class T > | |
T | sqr (T x) |
double | Metric (double q, double p) |
QuadExpr | Metric (double q, QuadExpr p) |
double | Metric (const std::vector< SpaceCharge * > &scs, double alpha) |
double | Metric (const std::vector< CollectionWireHit * > &cwires, double alpha) |
QuadExpr | Metric (const SpaceCharge *sci, const SpaceCharge *scj, double alpha) |
double | SolvePair (CollectionWireHit *cwire, SpaceCharge *sci, SpaceCharge *scj, double alpha) |
void | Iterate (CollectionWireHit *cwire, double alpha) |
void | Iterate (const std::vector< CollectionWireHit * > &cwires, double alpha) |
void Iterate | ( | CollectionWireHit * | cwire, |
double | alpha | ||
) |
Definition at line 235 of file Solver.cxx.
References SpaceCharge::AddCharge(), CollectionWireHit::fCrossings, SpaceCharge::fWire1, SpaceCharge::fWire2, SolvePair(), and x.
Referenced by Iterate(), and reco3d::SpacePointSolver::produce().
void Iterate | ( | const std::vector< CollectionWireHit * > & | cwires, |
double | alpha | ||
) |
double Metric | ( | double | q, |
double | p | ||
) |
Definition at line 70 of file Solver.cxx.
References sqr().
Referenced by Metric(), reco3d::SpacePointSolver::produce(), and SolvePair().
Definition at line 76 of file Solver.cxx.
References sqr().
double Metric | ( | const std::vector< SpaceCharge * > & | scs, |
double | alpha | ||
) |
Definition at line 82 of file Solver.cxx.
References Metric(), and sqr().
double Metric | ( | const std::vector< CollectionWireHit * > & | cwires, |
double | alpha | ||
) |
QuadExpr Metric | ( | const SpaceCharge * | sci, |
const SpaceCharge * | scj, | ||
double | alpha | ||
) |
Definition at line 116 of file Solver.cxx.
References InductionWireHit::fCharge, Neighbour::fCoupling, SpaceCharge::fNeighbours, SpaceCharge::fNeiPotential, InductionWireHit::fPred, SpaceCharge::fPred, Neighbour::fSC, SpaceCharge::fWire1, SpaceCharge::fWire2, Metric(), n, sqr(), x, and QuadExpr::X().
double SolvePair | ( | CollectionWireHit * | cwire, |
SpaceCharge * | sci, | ||
SpaceCharge * | scj, | ||
double | alpha | ||
) |
Definition at line 191 of file Solver.cxx.
References QuadExpr::Eval(), SpaceCharge::fPred, QuadExpr::Linear(), max, Metric(), min, QuadExpr::Quadratic(), and x.
Referenced by Iterate().
T sqr | ( | T | x | ) |