#include <CombinedKinematicConstraintT.h>
Public Types | |
enum | { DIM = super::nDim } |
typedef MultiTrackKinematicConstraintBaseT | base |
typedef TupleType | Constraints |
typedef super::parametersDerivativeType | parametersDerivativeType |
typedef super::positionDerivativeType | positionDerivativeType |
typedef MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim > | super |
typedef super::valueType | valueType |
Public Types inherited from MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim > | |
enum | |
typedef ROOT::Math::SMatrix< double, DIM, 7 *NTRK > | parametersDerivativeType |
typedef ROOT::Math::SMatrix< double, DIM, 3 > | positionDerivativeType |
typedef MultiTrackKinematicConstraintT< NTRK, DIM > | self |
typedef ROOT::Math::SVector< double, DIM > | valueType |
Public Member Functions | |
virtual CombinedKinematicConstraintT * | clone () const |
CombinedKinematicConstraintT (Constraints const &iconstraints) | |
virtual void | init (const std::vector< KinematicState > &states, const GlobalPoint &point, const GlobalVector &mf) |
virtual int | numberOfEquations () const |
Public Member Functions inherited from MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim > | |
parametersDerivativeType const & | parametersDerivative () const |
positionDerivativeType const & | positionDerivative () const |
valueType const & | value () const |
~MultiTrackKinematicConstraintT () override | |
Public Member Functions inherited from MultiTrackKinematicConstraintBaseT | |
virtual | ~MultiTrackKinematicConstraintBaseT () |
Private Member Functions | |
void | fillParametersDerivative () const |
void | fillPositionDerivative () const |
void | fillValue () const |
Private Attributes | |
Constraints | constraints |
Additional Inherited Members | |
Protected Member Functions inherited from MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim > | |
parametersDerivativeType & | jac_d () const |
double & | jac_d (size_t i, size_t j) const |
positionDerivativeType & | jac_e () const |
double & | jac_e (size_t i, size_t j) const |
valueType & | vl () const |
double & | vl (size_t i) const |
This class combines several user defined constraints (by expanding the vector d and the matrices D and E). Usage: Add each constraint to a std::tuple<MultiTrackKinematicConstraint..... >. This tuple has to be used in the constructor:
The produced object can be used by KinematicConstrainedVertexFitter.fit()
Lars Perchalla, Philip Sauerland, Dec 2009
Definition at line 136 of file CombinedKinematicConstraintT.h.
typedef MultiTrackKinematicConstraintBaseT CombinedKinematicConstraintT< TupleType, NTRK >::base |
Definition at line 140 of file CombinedKinematicConstraintT.h.
typedef TupleType CombinedKinematicConstraintT< TupleType, NTRK >::Constraints |
Definition at line 146 of file CombinedKinematicConstraintT.h.
typedef super::parametersDerivativeType CombinedKinematicConstraintT< TupleType, NTRK >::parametersDerivativeType |
Definition at line 143 of file CombinedKinematicConstraintT.h.
typedef super::positionDerivativeType CombinedKinematicConstraintT< TupleType, NTRK >::positionDerivativeType |
Definition at line 144 of file CombinedKinematicConstraintT.h.
typedef MultiTrackKinematicConstraintT<NTRK,combinedConstraintHelpers::totDim<TupleType>::nDim> CombinedKinematicConstraintT< TupleType, NTRK >::super |
Definition at line 141 of file CombinedKinematicConstraintT.h.
typedef super::valueType CombinedKinematicConstraintT< TupleType, NTRK >::valueType |
Definition at line 142 of file CombinedKinematicConstraintT.h.
anonymous enum |
|
inline |
Definition at line 153 of file CombinedKinematicConstraintT.h.
Referenced by CombinedKinematicConstraintT< TupleType, NTRK >::clone().
|
inlinevirtual |
Implements MultiTrackKinematicConstraintBaseT.
Definition at line 208 of file CombinedKinematicConstraintT.h.
References CombinedKinematicConstraintT< TupleType, NTRK >::CombinedKinematicConstraintT().
|
inlineprivatevirtual |
Returns a matrix of derivatives of the combined constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >.
Definition at line 180 of file CombinedKinematicConstraintT.h.
References CombinedKinematicConstraintT< TupleType, NTRK >::constraints, iterate_tuple(), and MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >::jac_d().
|
inlineprivatevirtual |
Returns a matrix of derivatives of constraint equations w.r.t. vertex position
Implements MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >.
Definition at line 190 of file CombinedKinematicConstraintT.h.
References CombinedKinematicConstraintT< TupleType, NTRK >::constraints, iterate_tuple(), and MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >::jac_e().
|
inlineprivatevirtual |
fills a vector of values of the combined constraint equations at the point where the input particles are defined.
Implements MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >.
Definition at line 170 of file CombinedKinematicConstraintT.h.
References CombinedKinematicConstraintT< TupleType, NTRK >::constraints, iterate_tuple(), and MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >::vl().
|
inlinevirtual |
Implements MultiTrackKinematicConstraintBaseT.
Definition at line 157 of file CombinedKinematicConstraintT.h.
References CombinedKinematicConstraintT< TupleType, NTRK >::constraints, MultiTrackKinematicConstraintBaseT::init(), iterate_tuple(), and point.
|
inlinevirtual |
Number of equations per track used for the combined fit
Implements MultiTrackKinematicConstraintBaseT.
Definition at line 199 of file CombinedKinematicConstraintT.h.
References CombinedKinematicConstraintT< TupleType, NTRK >::constraints, iterate_tuple(), and MultiTrackKinematicConstraintBaseT::numberOfEquations().
|
private |
Definition at line 214 of file CombinedKinematicConstraintT.h.
Referenced by CombinedKinematicConstraintT< TupleType, NTRK >::fillParametersDerivative(), CombinedKinematicConstraintT< TupleType, NTRK >::fillPositionDerivative(), CombinedKinematicConstraintT< TupleType, NTRK >::fillValue(), CombinedKinematicConstraintT< TupleType, NTRK >::init(), and CombinedKinematicConstraintT< TupleType, NTRK >::numberOfEquations().