7 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it){
8 tmpValue = (*it)->value(states, point);
9 size += tmpValue.num_row();
13 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it){
14 tmpValue = (*it)->value(states, point);
15 values.sub(position, tmpValue);
16 position += tmpValue.num_row();
26 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it){
27 tmpMatrix = (*it)->parametersDerivative(states, point);
28 row += tmpMatrix.num_row();
32 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it){
33 tmpMatrix = (*it)->parametersDerivative(states, point);
34 matrix.sub(posRow, 1, tmpMatrix);
35 posRow += tmpMatrix.num_row();
45 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it){
46 tmpMatrix = (*it)->positionDerivative(states, point);
47 row += tmpMatrix.num_row();
51 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it){
52 tmpMatrix = (*it)->positionDerivative(states, point);
53 matrix.sub(posRow, 1, tmpMatrix);
54 posRow += tmpMatrix.num_row();
63 for (std::vector<MultiTrackKinematicConstraint* >::const_iterator it=
constraints.begin(); it!=
constraints.end(); ++it) noEq += (*it)->numberOfEquations();
virtual AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const
CLHEP::HepMatrix AlgebraicMatrix
std::vector< MultiTrackKinematicConstraint * > constraints
CLHEP::HepVector AlgebraicVector
virtual int numberOfEquations() const
static int position[264][3]
virtual AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const
virtual AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point