Evaluation of fit.
811 for (
T hit = __begin; hit != __end; ++hit) {
817 const double D = hit->getDistance(position);
818 const double Vi = velocity.getInverseVelocity(D, hit->getZ(), position.
getZ());
819 const double toa_s =
value.
emission[hit->getEKey()].t1 + D * Vi;
821 const double u = (toa_s - hit->getValue()) / hit->getSigma();
822 const double W = sqrt(hit->getWeight());
824 successor += (W*W) * estimator->getRho(u);
826 H_t
H(1.0,
string.getGradient(parameters, hit->getPosition(), hit->getFloor()) * Vi);
828 H *= W * estimator->getPsi(u) / hit->getSigma();
839 V(i.t1, i.t1) +=
H.t1 *
H.t1;
843 if (hit->getFloor() != 0) {
845 switch (this->option) {
848 V(i.t1, i.vs) +=
H.t1 *
H.vs;
V(i.tx, i.vs) +=
H.tx *
H.vs;
V(i.ty, i.vs) +=
H.ty *
H.vs;
V(i.tx2, i.vs) +=
H.tx2 *
H.vs;
V(i.ty2, i.vs) +=
H.ty2 *
H.vs;
850 V(i.vs, i.t1) +=
H.vs *
H.t1;
851 V(i.vs, i.tx) +=
H.vs *
H.tx;
852 V(i.vs, i.ty) +=
H.vs *
H.ty;
853 V(i.vs, i.tx2) +=
H.vs *
H.tx2;
854 V(i.vs, i.ty2) +=
H.vs *
H.ty2;
856 V(i.vs, i.vs) +=
H.vs *
H.vs;
861 V(i.t1, i.tx2) +=
H.t1 *
H.tx2;
V(i.tx, i.tx2) +=
H.tx *
H.tx2;
V(i.ty, i.tx2) +=
H.ty *
H.tx2;
863 V(i.tx2, i.t1) +=
H.tx2 *
H.t1;
864 V(i.tx2, i.tx) +=
H.tx2 *
H.tx;
865 V(i.tx2, i.ty) +=
H.tx2 *
H.ty;
867 V(i.t1, i.ty2) +=
H.t1 *
H.ty2;
V(i.tx, i.ty2) +=
H.tx *
H.ty2;
V(i.ty, i.ty2) +=
H.ty *
H.ty2;
869 V(i.ty2, i.t1) +=
H.ty2 *
H.t1;
870 V(i.ty2, i.tx) +=
H.ty2 *
H.tx;
871 V(i.ty2, i.ty) +=
H.ty2 *
H.ty;
873 V(i.tx2, i.tx2) +=
H.tx2 *
H.tx2;
V(i.tx2, i.ty2) +=
H.tx2 *
H.ty2;
874 V(i.ty2, i.tx2) +=
H.ty2 *
H.tx2;
V(i.ty2, i.ty2) +=
H.ty2 *
H.ty2;
876 Y[i.tx2] += W *
H.tx2;
877 Y[i.ty2] += W *
H.ty2;
880 V(i.t1, i.tx) +=
H.t1 *
H.tx;
V(i.t1, i.ty) +=
H.t1 *
H.ty;
881 V(i.tx, i.t1) +=
H.tx *
H.t1;
V(i.ty, i.t1) +=
H.ty *
H.t1;
883 V(i.tx, i.tx) +=
H.tx *
H.tx;
V(i.tx, i.ty) +=
H.tx *
H.ty;
884 V(i.ty, i.tx) +=
H.ty *
H.tx;
V(i.ty, i.ty) +=
H.ty *
H.ty;
fit times of emission of emitters and tilt angles of strings with second order correction and stretch...
static const double H
Planck constant [eV s].
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
JMatrixND & reset()
Set matrix to the null matrix.
fit times of emission of emitters and tilt angles of strings
do set_variable OUTPUT_DIRECTORY $WORKDIR T
JACOUSTICS::JModel::emission_type emission
const JPosition3D & getPosition() const
Get position.
fit times of emission of emitters and tilt angles of strings with second order correction ...
size_t getIndex(int id, double JString::*p) const
Get index of fit parameter for given string.
JACOUSTICS::JModel::string_type string
Data structure for position in three dimensions.
do echo Generating $dir eval D
double getZ() const
Get z position.