1#ifndef Vertex_Constraints_H
2#define Vertex_Constraints_H
16#include "CLHEP/Matrix/Matrix.h"
17#include "CLHEP/Matrix/SymMatrix.h"
18#include "CLHEP/Matrix/Vector.h"
19using CLHEP::HepMatrix;
20using CLHEP::HepSymMatrix;
21using CLHEP::HepVector;
22#include "CLHEP/Geometry/Point3D.h"
23#ifndef ENABLE_BACKWARDS_COMPATIBILITY
27#include "VertexFit/VertexParameter.h"
28#include "VertexFit/WTrackParameter.h"
40 void setCovax(
const int i,
const HepMatrix cov) {m_covax[i] = cov;}
41 void setLambda(
const int i,
const HepVector L) {m_lambda[i] = L;}
42 void setLambda0(
const int i,
const HepVector L0){m_lambda0[i] = L0;}
43 void setVD(
const int i,
const HepSymMatrix vd) {m_VD[i] = vd;}
44 void setEVDE(
const int i,
const HepSymMatrix evde) {m_EVDE[i] = evde;}
47 std::vector<HepMatrix>
Ec()
const {
return m_Ec;}
48 std::vector<HepMatrix>
Dc()
const {
return m_Dc;}
49 std::vector<HepVector>
dc()
const {
return m_dc;}
50 std::vector<HepSymMatrix>
VD()
const{
return m_VD;}
51 std::vector<HepSymMatrix>
EVDE()
const {
return m_EVDE;}
52 std::vector<HepMatrix>
covax()
const {
return m_covax;}
53 std::vector<HepVector>
lambda0()
const {
return m_lambda0;}
54 std::vector<HepVector>
lambda()
const {
return m_lambda;}
55 std::vector<int>
Ltrk()
const {
return m_ltrk;}
56 int type()
const {
return m_type;}
62 std::vector<HepMatrix> m_Ec;
63 std::vector<HepMatrix> m_Dc;
64 std::vector<HepVector> m_dc;
65 std::vector<HepSymMatrix> m_VD;
66 std::vector<HepSymMatrix> m_EVDE;
67 std::vector<HepMatrix> m_covax;
68 std::vector<HepVector> m_lambda0;
69 std::vector<HepVector> m_lambda;
70 std::vector<int> m_ltrk;
72 static const double Alpha;
73 static const int CommonVertex;
74 static const int FixedVertex;
85 m_lambda0 = vc.m_lambda0;
86 m_lambda = vc.m_lambda;
99 m_lambda0 = vc.m_lambda0;
100 m_lambda = vc.m_lambda;
HepGeom::Point3D< double > HepPoint3D
void setLambda0(const int i, const HepVector L0)
std::vector< int > Ltrk() const
void setEVDE(const int i, const HepSymMatrix evde)
VertexConstraints & operator=(const VertexConstraints &)
std::vector< HepMatrix > Dc() const
void FixedVertexConstraints(std::vector< int > tlis)
std::vector< HepSymMatrix > EVDE() const
void setLambda(const int i, const HepVector L)
void CommonVertexConstraints(std::vector< int > tlis)
void setCovax(const int i, const HepMatrix cov)
void setVD(const int i, const HepSymMatrix vd)
std::vector< HepSymMatrix > VD() const
void UpdateConstraints(VertexParameter vpar, std::vector< WTrackParameter > wlis)
std::vector< HepMatrix > covax() const
std::vector< HepMatrix > Ec() const
std::vector< HepVector > lambda0() const
std::vector< HepVector > dc() const
std::vector< HepVector > lambda() const
void setType(const int type)