CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MultiTrackKinematicConstraintT< NTRK, DIM > Class Template Referenceabstract

#include <MultiTrackKinematicConstraintT.h>

Inheritance diagram for MultiTrackKinematicConstraintT< NTRK, DIM >:
MultiTrackKinematicConstraintBaseT

Public Types

enum  { nTrk =NTRK, nDim =DIM }
 
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

parametersDerivativeType const & parametersDerivative () const
 
positionDerivativeType const & positionDerivative () const
 
valueType const & value () const
 
virtual ~MultiTrackKinematicConstraintT ()
 
- Public Member Functions inherited from MultiTrackKinematicConstraintBaseT
virtual
MultiTrackKinematicConstraintBaseT
clone () const =0
 
virtual void init (const std::vector< KinematicState > &states, const GlobalPoint &point, const GlobalVector &mf)=0
 
virtual int numberOfEquations () const =0
 
virtual ~MultiTrackKinematicConstraintBaseT ()
 

Protected Member Functions

parametersDerivativeTypejac_d () const
 
double & jac_d (size_t i, size_t j) const
 
positionDerivativeTypejac_e () const
 
double & jac_e (size_t i, size_t j) const
 
valueTypevl () const
 
double & vl (size_t i) const
 

Private Member Functions

virtual void fillParametersDerivative () const =0
 
virtual void fillPositionDerivative () const =0
 
virtual void fillValue () const =0
 

Private Attributes

parametersDerivativeType m_jac_d
 
positionDerivativeType m_jac_e
 
valueType m_vl
 

Detailed Description

template<int NTRK, int DIM>
class MultiTrackKinematicConstraintT< NTRK, DIM >

Definition at line 44 of file MultiTrackKinematicConstraintT.h.

Member Typedef Documentation

template<int NTRK, int DIM>
typedef ROOT::Math::SMatrix<double, DIM,7*NTRK> MultiTrackKinematicConstraintT< NTRK, DIM >::parametersDerivativeType

Definition at line 53 of file MultiTrackKinematicConstraintT.h.

template<int NTRK, int DIM>
typedef ROOT::Math::SMatrix<double, DIM,3> MultiTrackKinematicConstraintT< NTRK, DIM >::positionDerivativeType

Definition at line 56 of file MultiTrackKinematicConstraintT.h.

template<int NTRK, int DIM>
typedef MultiTrackKinematicConstraintT<NTRK, DIM> MultiTrackKinematicConstraintT< NTRK, DIM >::self

Definition at line 49 of file MultiTrackKinematicConstraintT.h.

template<int NTRK, int DIM>
typedef ROOT::Math::SVector<double, DIM> MultiTrackKinematicConstraintT< NTRK, DIM >::valueType

Definition at line 51 of file MultiTrackKinematicConstraintT.h.

Member Enumeration Documentation

template<int NTRK, int DIM>
anonymous enum

Constructor & Destructor Documentation

template<int NTRK, int DIM>
virtual MultiTrackKinematicConstraintT< NTRK, DIM >::~MultiTrackKinematicConstraintT ( )
inlinevirtual

Definition at line 59 of file MultiTrackKinematicConstraintT.h.

59 {}

Member Function Documentation

template<int NTRK, int DIM>
virtual void MultiTrackKinematicConstraintT< NTRK, DIM >::fillParametersDerivative ( ) const
privatepure virtual
template<int NTRK, int DIM>
virtual void MultiTrackKinematicConstraintT< NTRK, DIM >::fillPositionDerivative ( ) const
privatepure virtual
template<int NTRK, int DIM>
virtual void MultiTrackKinematicConstraintT< NTRK, DIM >::fillValue ( ) const
privatepure virtual

Methods making vector of values and derivative matrices with respect to vertex position and particle parameters. Input paramters are put into one vector: (Vertex position, particle_parameters_1,..., particle_parameters_n)

Implemented in CombinedKinematicConstraintT< TupleType, NTRK >, ColinearityKinematicConstraintT< Dim >, and VertexKinematicConstraintT.

Referenced by MultiTrackKinematicConstraintT< NTRK, combinedConstraintHelpers::totDim< TupleType >::nDim >::value().

template<int NTRK, int DIM>
parametersDerivativeType& MultiTrackKinematicConstraintT< NTRK, DIM >::jac_d ( ) const
inlineprotected

Definition at line 105 of file MultiTrackKinematicConstraintT.h.

105 { return m_jac_d;}
template<int NTRK, int DIM>
double& MultiTrackKinematicConstraintT< NTRK, DIM >::jac_d ( size_t  i,
size_t  j 
) const
inlineprotected

Definition at line 111 of file MultiTrackKinematicConstraintT.h.

111 { return m_jac_d(i,j);}
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
template<int NTRK, int DIM>
positionDerivativeType& MultiTrackKinematicConstraintT< NTRK, DIM >::jac_e ( ) const
inlineprotected

Definition at line 106 of file MultiTrackKinematicConstraintT.h.

106 { return m_jac_e;}
template<int NTRK, int DIM>
double& MultiTrackKinematicConstraintT< NTRK, DIM >::jac_e ( size_t  i,
size_t  j 
) const
inlineprotected

Definition at line 112 of file MultiTrackKinematicConstraintT.h.

112 { return m_jac_e(i,j);}
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
template<int NTRK, int DIM>
parametersDerivativeType const& MultiTrackKinematicConstraintT< NTRK, DIM >::parametersDerivative ( ) const
inline

Definition at line 75 of file MultiTrackKinematicConstraintT.h.

75  {
77  return m_jac_d;
78  };
virtual void fillParametersDerivative() const =0
template<int NTRK, int DIM>
positionDerivativeType const& MultiTrackKinematicConstraintT< NTRK, DIM >::positionDerivative ( ) const
inline

Definition at line 81 of file MultiTrackKinematicConstraintT.h.

81  {
83  return m_jac_e;
84  }
virtual void fillPositionDerivative() const =0
template<int NTRK, int DIM>
valueType const& MultiTrackKinematicConstraintT< NTRK, DIM >::value ( void  ) const
inline

Methods returning vector of values and derivative matrices with respect to vertex position and particle parameters. Input paramters are put into one vector: (Vertex position, particle_parameters_1,..., particle_parameters_n)

Definition at line 70 of file MultiTrackKinematicConstraintT.h.

70  {
71  fillValue();
72  return m_vl;
73  }
virtual void fillValue() const =0
template<int NTRK, int DIM>
valueType& MultiTrackKinematicConstraintT< NTRK, DIM >::vl ( ) const
inlineprotected

Definition at line 104 of file MultiTrackKinematicConstraintT.h.

template<int NTRK, int DIM>
double& MultiTrackKinematicConstraintT< NTRK, DIM >::vl ( size_t  i) const
inlineprotected

Definition at line 110 of file MultiTrackKinematicConstraintT.h.

110 { return m_vl(i);}
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

template<int NTRK, int DIM>
parametersDerivativeType MultiTrackKinematicConstraintT< NTRK, DIM >::m_jac_d
mutableprivate
template<int NTRK, int DIM>
positionDerivativeType MultiTrackKinematicConstraintT< NTRK, DIM >::m_jac_e
mutableprivate
template<int NTRK, int DIM>
valueType MultiTrackKinematicConstraintT< NTRK, DIM >::m_vl
mutableprivate