|
|
Go to the documentation of this file.
37 jetParam_((
Param)jetParam),
38 lepParam_((
Param)lepParam),
39 metParam_((
Param)metParam),
72 TMatrixD m1(3, 3), m2(3, 3);
73 TMatrixD m1b(4, 4), m2b(4, 4);
74 TMatrixD m3(3, 3), m4(3, 3);
82 TLorentzVector bottomVec(
84 TLorentzVector lightVec(
86 TLorentzVector leplVec;
88 leplVec = TLorentzVector(
134 if (fitsol.
getDecay() ==
"electron") {
145 if (fitsol.
getDecay() ==
"electron") {
156 if (fitsol.
getDecay() ==
"electron") {
175 m4(1, 1) =
pow(9999., 2);
179 m4(1, 1) =
pow(9999., 2);
183 m4(1, 1) =
pow(9999., 2);
256 std::cout << std::endl << std::endl <<
"+++++++++++ KINFIT SETUP ++++++++++++" << std::endl;
260 std::cout <<
" constraints: " << std::endl;
263 std::cout <<
" - hadronic W-mass" << std::endl;
265 std::cout <<
" - leptonic W-mass" << std::endl;
267 std::cout <<
" - hadronic top mass" << std::endl;
269 std::cout <<
" - leptonic top mass" << std::endl;
271 std::cout <<
" - neutrino mass" << std::endl;
276 std::cout <<
"++++++++++++++++++++++++++++++++++++++++++++" << std::endl << std::endl << std::endl;
278 TMatrixD empty3(3, 3);
279 TMatrixD empty4(4, 4);
pat::MET getNeutrino() const
TKinFitter * fitter_
kinematic fitter
void setFitNeutrino(const pat::Particle &part)
int maxNrIter_
maximal allowed number of iterations to be used for the fit
std::string param(const Param ¶m) const
convert Param to human readable form
TAbsFitParticle * fitLight_
double pt() const final
transverse momentum
void addParticle1(TAbsFitParticle *particle)
double phi(double pt, double eta, Flavor flav)
double pt(double pt, double eta, Flavor flav)
double phi(double pt, double eta)
double fitProb() const
return fit probability
TAbsFitParticle * fitNeutrino_
double mW_
W mass value used for constraints.
double eta(double pt, double eta)
pat::Muon getMuon() const
std::string getDecay() const
double py() const final
y coordinate of momentum vector
void setFitLepton(const pat::Particle &part)
double maxDeltaS_
maximal allowed chi2 (not normalized to degrees of freedom)
void addParticles1(TAbsFitParticle *p1, TAbsFitParticle *p2=nullptr, TAbsFitParticle *p3=nullptr, TAbsFitParticle *p4=nullptr, TAbsFitParticle *p5=nullptr, TAbsFitParticle *p6=nullptr, TAbsFitParticle *p7=nullptr, TAbsFitParticle *p8=nullptr, TAbsFitParticle *p9=nullptr, TAbsFitParticle *p10=nullptr)
std::vector< int > constraints_
TAbsFitParticle * fitBottom_
double pt(double pt, double eta)
const TLorentzVector * getCurr4Vec()
pat::Electron getElectron() const
XYZPointD XYZPoint
point in space with cartesian internal representation
double eta() const final
momentum pseudorapidity
virtual void setCovMatrix(const TMatrixD *theCovMatrix)
void setChi2Prob(double prob)
StEvtSolution addKinFitInfo(StEvtSolution *asol)
double mTop_
top mass value used for constraints
double et() const final
transverse energy
void setFitBottom(const pat::Particle &part)
void addConstraint(TAbsFitConstraint *constraint)
double eta(double pt, double eta)
double maxF_
maximal allowed distance from constraints
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
pat::Jet getLight() const
void addMeasParticle(TAbsFitParticle *particle)
double eta(double pt, double eta, Flavor flav)
double energy() const final
energy
double phi(double pt, double eta)
Power< A, B >::type pow(const A &a, const B &b)
TAbsFitParticle * fitLepton_
Param
supported parameterizations
pat::Jet getBottom() const
virtual void setIni4Vec(const TLorentzVector *pini)=0
double px() const final
x coordinate of momentum vector
double pz() const final
z coordinate of momentum vector
Analysis-level particle class.
double pt(double pt, double eta)
void setFitLight(const pat::Particle &part)