#include <KinematicConstraints.h>
Public Member Functions | |
std::vector< HepVector > | dc () |
std::vector< HepMatrix > | Dc () |
std::vector< HepVector > | dc () |
std::vector< HepMatrix > | Dc () |
std::vector< HepMatrix > | Ec () |
std::vector< HepMatrix > | Ec () |
void | EqualMassConstraints (std::vector< int > tlis1, std::vector< int > tlis2, HepSymMatrix Vne) |
void | EqualMassConstraints (std::vector< int > tlis1, std::vector< int > tlis2, HepSymMatrix Vne) |
double | etot () const |
double | etot () const |
void | FourMomentumConstraints (const HepLorentzVector p4, std::vector< int > tlis, HepSymMatrix Vme) |
void | FourMomentumConstraints (const HepLorentzVector p4, std::vector< int > tlis, HepSymMatrix Vme) |
KinematicConstraints (const KinematicConstraints &) | |
KinematicConstraints () | |
KinematicConstraints (const KinematicConstraints &) | |
KinematicConstraints () | |
std::vector< HepVector > | lambda () |
std::vector< HepVector > | lambda () |
double | lambdapre () const |
double | lambdapre () const |
std::vector< int > | Ltrk () |
std::vector< int > | Ltrk () |
double | mres () const |
double | mres () const |
int | nc () |
int | nc () |
std::vector< int > | numEqual () |
std::vector< int > | numEqual () |
KinematicConstraints & | operator= (const KinematicConstraints &) |
KinematicConstraints & | operator= (const KinematicConstraints &) |
Hep3Vector | p3 () const |
Hep3Vector | p3 () const |
HepLorentzVector | p4 () const |
HepLorentzVector | p4 () const |
double | phipre () const |
double | phipre () const |
HepPoint3D | point () const |
HepPoint3D | point () const |
double | ptot () const |
double | ptot () const |
void | ResonanceConstraints (const double mres, std::vector< int > tlis, HepSymMatrix Vre) |
void | ResonanceConstraints (const double mres, std::vector< int > tlis, HepSymMatrix Vre) |
void | setEtot (const double etot) |
void | setEtot (const double etot) |
void | setLambda (HepVector lambda) |
void | setLambda (HepVector lambda) |
void | setLambdapre (const double lambdapre) |
void | setLambdapre (const double lambdapre) |
void | setMres (const double mres) |
void | setMres (const double mres) |
void | setNumEqual (std::vector< int > nequal) |
void | setNumEqual (std::vector< int > nequal) |
void | setP3 (const Hep3Vector p3) |
void | setP3 (const Hep3Vector p3) |
void | setP4 (const double etot) |
void | setP4 (const HepLorentzVector p4) |
void | setP4 (const double etot) |
void | setP4 (const HepLorentzVector p4) |
void | setPhipre (const double phipre) |
void | setPhipre (const double phipre) |
void | setPoint (const HepPoint3D x) |
void | setPoint (const HepPoint3D x) |
void | setPtot (const double ptot) |
void | setPtot (const double ptot) |
void | setType (const int type) |
void | setType (const int type) |
void | setVD (HepSymMatrix vd) |
void | setVD (HepSymMatrix vd) |
void | setVme (const HepSymMatrix Vme) |
void | setVme (const HepSymMatrix Vme) |
void | setVmeasure (const HepSymMatrix Vmeasure) |
void | setVmeasure (const HepSymMatrix Vmeasure) |
void | setVne (const HepSymMatrix Vne) |
void | setVne (const HepSymMatrix Vne) |
void | setVpe (const HepSymMatrix Vpe) |
void | setVpe (const HepSymMatrix Vpe) |
void | setVre (const HepSymMatrix Vre) |
void | setVre (const HepSymMatrix Vre) |
void | ThreeMomentumConstraints (const Hep3Vector p3, std::vector< int > tlis) |
void | ThreeMomentumConstraints (const Hep3Vector p3, std::vector< int > tlis) |
void | TotalEnergyConstraints (const double etot, std::vector< int > tlis) |
void | TotalEnergyConstraints (const double etot, std::vector< int > tlis) |
void | TotalMomentumConstraints (const double ptot, std::vector< int > tlis) |
void | TotalMomentumConstraints (const double ptot, std::vector< int > tlis) |
int | Type () const |
int | Type () const |
int | typeEqMass () const |
int | typeEqMass () const |
int | typeEtot () const |
int | typeEtot () const |
int | typeP3 () const |
int | typeP3 () const |
int | typeP4 () const |
int | typeP4 () const |
int | typePoint () const |
int | typePoint () const |
int | typePtot () const |
int | typePtot () const |
int | typeRes () const |
int | typeRes () const |
std::vector< HepSymMatrix > | VD () |
std::vector< HepSymMatrix > | VD () |
std::vector< HepSymMatrix > | Vm () |
std::vector< HepSymMatrix > | Vm () |
HepSymMatrix | Vme () const |
HepSymMatrix | Vme () const |
HepSymMatrix | Vmeasure () const |
HepSymMatrix | Vmeasure () const |
HepSymMatrix | Vne () const |
HepSymMatrix | Vne () const |
HepSymMatrix | Vpe () const |
HepSymMatrix | Vpe () const |
HepSymMatrix | Vre () const |
HepSymMatrix | Vre () const |
~KinematicConstraints () | |
~KinematicConstraints () | |
Private Attributes | |
std::vector< HepVector > | m_dc |
std::vector< HepMatrix > | m_Dc |
std::vector< HepVector > | m_dc |
std::vector< HepMatrix > | m_Dc |
std::vector< HepMatrix > | m_Ec |
std::vector< HepMatrix > | m_Ec |
double | m_etot |
std::vector< HepVector > | m_lambda |
std::vector< HepVector > | m_lambda |
double | m_lambdapre |
std::vector< int > | m_ltrk |
std::vector< int > | m_ltrk |
double | m_mres |
int | m_nc |
std::vector< int > | m_nequal |
std::vector< int > | m_nequal |
Hep3Vector | m_p3 |
HepLorentzVector | m_p4 |
double | m_phipre |
HepPoint3D | m_point |
double | m_ptot |
int | m_type |
std::vector< HepSymMatrix > | m_VD |
std::vector< HepSymMatrix > | m_VD |
std::vector< HepSymMatrix > | m_Vm |
std::vector< HepSymMatrix > | m_Vm |
HepSymMatrix | m_Vme |
HepSymMatrix | m_Vmeasure |
HepSymMatrix | m_Vne |
HepSymMatrix | m_Vpe |
HepSymMatrix | m_Vre |
Static Private Attributes | |
const int | EqualMass = 64 |
const int | FourMomentum = 32 |
const int | Position = 8 |
const int | Resonance = 1 |
const int | ThreeMomentum = 16 |
const int | TotalEnergy = 2 |
const int | TotalMomentum = 4 |
|
00011 { 00012 m_Ec.clear(); 00013 m_Dc.clear(); 00014 m_dc.clear(); 00015 m_Vm.clear(); 00016 m_lambda.clear(); 00017 m_ltrk.clear(); 00018 m_nequal.clear(); 00019 m_nc=0; 00020 m_mres = -1; 00021 m_etot = -1; 00022 m_ptot = -1; 00023 m_p3 = Hep3Vector(0, 0, 0); 00024 m_p4 = HepLorentzVector(0, 0, 0, 0); 00025 m_phipre = 0; 00026 m_lambdapre = 0; 00027 m_Vre = HepSymMatrix(1,0); 00028 m_Vme = HepSymMatrix(4,0); 00029 m_Vne = HepSymMatrix(1,0); 00030 m_Vpe = HepSymMatrix(2,0); 00031 }
|
|
00022 {;}
|
|
00123 { 00124 m_type = kc.m_type; 00125 m_Ec = kc.m_Ec; 00126 m_Dc = kc.m_Dc; 00127 m_dc = kc.m_dc; 00128 m_Vm = kc.m_Vm; 00129 m_lambda = kc.m_lambda; 00130 m_VD = kc.m_VD; 00131 m_ltrk = kc.m_ltrk; 00132 m_nc = kc.m_nc; 00133 m_mres = kc.m_mres; 00134 m_etot = kc.m_etot; 00135 m_ptot = kc.m_ptot; 00136 m_p3 = kc.m_p3; 00137 m_p4 = kc.m_p4; 00138 m_phipre = kc.m_phipre; 00139 m_lambdapre = kc.m_lambdapre; 00140 m_nequal = kc.m_nequal; 00141 m_Vre = kc.m_Vre; 00142 m_Vme = kc.m_Vme; 00143 m_Vne = kc.m_Vne; 00144 m_Vpe = kc.m_Vpe; 00145 m_Vmeasure = kc.m_Vmeasure; 00146 00147 }
|
|
|
|
00022 {;}
|
|
|
|
00039 {return m_dc;}
|
|
00038 {return m_Dc;}
|
|
00039 {return m_dc;}
|
|
00038 {return m_Dc;}
|
|
00037 {return m_Ec;}
|
|
00037 {return m_Ec;}
|
|
|
|
00085 { 00086 m_ltrk.clear(); 00087 for(unsigned int i = 0; i < tlis1.size(); i++) 00088 m_ltrk.push_back(tlis1[i]); 00089 for(unsigned int i = 0; i < tlis2.size(); i++) 00090 m_ltrk.push_back(tlis2[i]); 00091 m_nc = 1; 00092 setType(typeEqMass()); 00093 setVne(Vne); 00094 m_Vm.push_back(Vne); 00095 m_nequal.clear(); 00096 m_nequal.push_back(tlis1.size()); 00097 m_nequal.push_back(tlis2.size()); 00098 setVmeasure(Vne); 00099 00100 }
|
|
00060 {return m_etot;}
|
|
00060 {return m_etot;}
|
|
|
|
00074 { 00075 m_ltrk = tlis; 00076 m_nc = 4; 00077 setType(typeP4()); 00078 setP4(p4); 00079 setVme(Vme); 00080 m_Vm.push_back(Vme); 00081 setVmeasure(Vme); 00082 }
|
|
00040 {return m_lambda;}
|
|
00040 {return m_lambda;}
|
|
00066 {return m_lambdapre;}
|
|
00066 {return m_lambdapre;}
|
|
00043 {return m_ltrk;}
|
|
00043 {return m_ltrk;}
|
|
00059 {return m_mres;}
|
|
00059 {return m_mres;}
|
|
00044 {return m_nc;}
|
|
00044 {return m_nc;}
|
|
00072 {return m_nequal;}
|
|
00072 {return m_nequal;}
|
|
|
|
00149 { 00150 m_type = kc.m_type; 00151 m_Ec = kc.m_Ec; 00152 m_Dc = kc.m_Dc; 00153 m_dc = kc.m_dc; 00154 m_Vm = kc.m_Vm; 00155 m_lambda = kc.m_lambda; 00156 m_VD = kc.m_VD; 00157 m_ltrk = kc.m_ltrk; 00158 m_nc = kc.m_nc; 00159 m_mres = kc.m_mres; 00160 m_etot = kc.m_etot; 00161 m_ptot = kc.m_ptot; 00162 m_p3 = kc.m_p3; 00163 m_p4 = kc.m_p4; 00164 m_phipre = kc.m_phipre; 00165 m_lambdapre = kc.m_lambdapre; 00166 m_nequal = kc.m_nequal; 00167 m_Vre = kc.m_Vre; 00168 m_Vme = kc.m_Vme; 00169 m_Vne = kc.m_Vne; 00170 m_Vpe = kc.m_Vpe; 00171 m_Vmeasure = kc.m_Vmeasure; 00172 return (*this); 00173 }
|
|
00063 {return m_p3;}
|
|
00063 {return m_p3;}
|
|
00064 {return m_p4;}
|
|
00064 {return m_p4;}
|
|
00065 {return m_phipre;}
|
|
00065 {return m_phipre;}
|
|
00062 {return m_point;}
|
|
00062 {return m_point;}
|
|
00061 {return m_ptot;}
|
|
00061 {return m_ptot;}
|
|
|
|
00034 { 00035 m_ltrk = tlis; 00036 m_nc = 1; 00037 setType(typeRes()); 00038 setMres(mres); 00039 setVre(Vre); 00040 setVmeasure(Vre); 00041 }
|
|
00075 {m_etot = etot;}
|
|
00075 {m_etot = etot;}
|
|
00046 {m_lambda[0]=lambda;}
|
|
00046 {m_lambda[0]=lambda;}
|
|
00082 {m_lambdapre = lambdapre;}
|
|
00082 {m_lambdapre = lambdapre;}
|
|
00074 {m_mres = mres;}
|
|
00074 {m_mres = mres;}
|
|
00088 {m_nequal = nequal;}
|
|
00088 {m_nequal = nequal;}
|
|
00077 {m_p3 = p3;}
|
|
00077 {m_p3 = p3;}
|
|
00079 {m_p4 = HepLorentzVector(0., 0., 0., etot);}
|
|
00078 {m_p4 = p4;}
|
|
00079 {m_p4 = HepLorentzVector(0., 0., 0., etot);}
|
|
00078 {m_p4 = p4;}
|
|
00081 {m_phipre = phipre;}
|
|
00081 {m_phipre = phipre;}
|
|
00080 {m_point = x;}
|
|
00080 {m_point = x;}
|
|
00076 {m_ptot = ptot;}
|
|
00076 {m_ptot = ptot;}
|
|
00045 {m_type = type;}
|
|
00045 {m_type = type;}
|
|
00047 {m_VD[0] = vd;}
|
|
00047 {m_VD[0] = vd;}
|
|
00084 {m_Vme = Vme;}
|
|
00084 {m_Vme = Vme;}
|
|
00087 {m_Vmeasure = Vmeasure;}
|
|
00087 {m_Vmeasure = Vmeasure;}
|
|
00085 {m_Vne = Vne;}
|
|
00085 {m_Vne = Vne;}
|
|
00086 {m_Vpe = Vpe;}
|
|
00086 {m_Vpe = Vpe;}
|
|
00083 {m_Vre = Vre;}
|
|
00083 {m_Vre = Vre;}
|
|
|
|
00064 { 00065 m_ltrk = tlis; 00066 m_nc = 3; 00067 setType(typeP3()); 00068 setP3(p3); 00069 HepSymMatrix tmp(3,0); 00070 setVmeasure(tmp); 00071 }
|
|
|
|
00044 { 00045 m_ltrk = tlis; 00046 m_nc = 1; 00047 setType(typeEtot()); 00048 setEtot(etot); 00049 HepSymMatrix tmp(1,0); 00050 setVmeasure(tmp); 00051 }
|
|
|
|
00054 { 00055 m_ltrk = tlis; 00056 m_nc = 1; 00057 setType(typePtot()); 00058 setPtot(ptot); 00059 HepSymMatrix tmp(1,0); 00060 setVmeasure(tmp); 00061 }
|
|
00024 {return m_type;}
|
|
00024 {return m_type;}
|
|
00056 {return EqualMass;}
|
|
00056 {return EqualMass;}
|
|
00052 {return TotalEnergy;}
|
|
00052 {return TotalEnergy;}
|
|
00054 {return ThreeMomentum;}
|
|
00054 {return ThreeMomentum;}
|
|
00055 {return FourMomentum;}
|
|
00055 {return FourMomentum;}
|
|
00057 {return Position;}
|
|
00057 {return Position;}
|
|
00053 {return TotalMomentum;}
|
|
00053 {return TotalMomentum;}
|
|
00051 {return Resonance;}
|
|
00051 {return Resonance;}
|
|
00042 {return m_VD;}
|
|
00042 {return m_VD;}
|
|
00041 {return m_Vm;}
|
|
00041 {return m_Vm;}
|
|
00068 {return m_Vme;}
|
|
00068 {return m_Vme;}
|
|
00071 {return m_Vmeasure;}
|
|
00071 {return m_Vmeasure;}
|
|
00069 {return m_Vne;}
|
|
00069 {return m_Vne;}
|
|
00070 {return m_Vpe;}
|
|
00070 {return m_Vpe;}
|
|
00067 {return m_Vre;}
|
|
00067 {return m_Vre;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|