2#include "VertexFit/KinematicConstraints.h"
4const int KinematicConstraints::Resonance = 1;
5const int KinematicConstraints::TotalEnergy = 2;
6const int KinematicConstraints::TotalMomentum = 4;
7const int KinematicConstraints::Position = 8;
8const int KinematicConstraints::ThreeMomentum = 16;
9const int KinematicConstraints::FourMomentum = 32;
10const int KinematicConstraints::EqualMass = 64;
24 m_p3 = Hep3Vector(0, 0, 0);
25 m_p4 = HepLorentzVector(0, 0, 0, 0);
28 m_Vre = HepSymMatrix(1,0);
29 m_Vme = HepSymMatrix(4,0);
30 m_Vne = HepSymMatrix(1,0);
31 m_Vpe = HepSymMatrix(2,0);
50 HepSymMatrix tmp(1,0);
60 HepSymMatrix tmp(1,0);
70 HepSymMatrix tmp(3,0);
88 for(
unsigned int i = 0; i < tlis1.size(); i++)
89 m_ltrk.push_back(tlis1[i]);
90 for(
unsigned int i = 0; i < tlis2.size(); i++)
91 m_ltrk.push_back(tlis2[i]);
97 m_nequal.push_back(tlis1.size());
98 m_nequal.push_back(tlis2.size());
void setP4(const HepLorentzVector p4)
void FourMomentumConstraints(const HepLorentzVector p4, std::vector< int > tlis, HepSymMatrix Vme)
void ResonanceConstraints(const double mres, std::vector< int > tlis, HepSymMatrix Vre)
void setMres(const double mres)
void ThreeMomentumConstraints(const Hep3Vector p3, std::vector< int > tlis)
void TotalEnergyConstraints(const double etot, std::vector< int > tlis)
void setVne(const HepSymMatrix Vne)
void setType(const int type)
void setVme(const HepSymMatrix Vme)
void setEtot(const double etot)
HepLorentzVector p4() const
void setVre(const HepSymMatrix Vre)
void setPtot(const double ptot)
void TotalMomentumConstraints(const double ptot, std::vector< int > tlis)
void setVmeasure(const HepSymMatrix Vmeasure)
void EqualMassConstraints(std::vector< int > tlis1, std::vector< int > tlis2, HepSymMatrix Vne)
void setP3(const Hep3Vector p3)