12 TKinFitter fitter(
"CandMassFit",
"CandMassFit");
15 vector<TMatrixD>
errors(daus, TMatrix(3,3));
16 vector<TVector3> momenta(daus);
17 vector<TFitParticleMCCart *>
particles(daus,
nullptr);
19 "MassConstraint",
nullptr,
nullptr , mass_);
20 for (
size_t i = 0;
i < daus; ++
i ) {
23 TMatrixD & err = errors[
i];
24 TVector3 & mom = momenta[
i];
25 mom = TVector3( p4.px(), p4.py(), p4.pz() );
44 TLorentzVector sum( 0, 0, 0, 0 );
45 for(
size_t i = 0;
i < daus; ++
i ) {
void setMaxF(Double_t maxF)
virtual void setP4(const LorentzVector &p4)=0
set 4-momentum
void setMaxDeltaS(Double_t maxDeltaS)
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
reco::FitQuality set(reco::Candidate &) const
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
void addConstraint(TAbsFitConstraint *constraint)
void addMeasParticle(TAbsFitParticle *particle)
void setVerbosity(Int_t verbosity=1)
virtual double mass() const =0
mass
const TLorentzVector * getCurr4Vec()
void setMaxNbIter(Int_t maxNbIter)
void addParticle1(TAbsFitParticle *particle)
T get() const
get a component
virtual size_type numberOfDaughters() const =0
number of daughters
math::XYZTLorentzVector LorentzVector
Lorentz vector.