10 #ifndef DECAYTREEFITTER_FITTER_H
11 #define DECAYTREEFITTER_FITTER_H 1
103 Bool_t Fit (
int maxNumberOfIterations = 10 ,
double deltaChisquareConverged = 0.01 )
105 fit(maxNumberOfIterations,deltaChisquareConverged);
112 std::string
print()
const ;
200 void fit (
int maxNumberOfIterations = 10 ,
double deltaChisquareConverged = 0.01 ) ;
bool updateTree(RhoCandidate *cand) const
update a particlular candidate in the tree
RecoTrackStateProvider * m_extrapolator
track extrapolator (if needed)
const FitParams * fitparams() const
RhoCandidate * fittedCand(RhoCandidate *cand, RhoCandidate *headoftree) const
DecayChain * GetDecayChainDirty()
RhoCandidate * particle() const
The top level particle that is fitted.
void SetToleranceZ(double z)
void fit(int maxNumberOfIterations=10, double deltaChisquareConverged=0.01)
Fit the decay tree.
Fitter & operator=(const Fitter &)
assignement operator is disabled
int nIter() const
Number of iterations used by vertex fit.
const DecayChain * decaychain() const
std::string name(RhoCandidate *cand) const
Name of a particle in the decay tree.
double add(RhoCandidate *cand)
FitStatus status() const
Status of fit.
DecayChain * m_decaychain
Bool_t FitAll(int maxit=10, double dchiq=0.01)
double globalChiSquare() const
void setMassConstraint(RhoCandidate *cand, bool add=true)
Add or remove a mass constraint.
void setStateProvider(RecoTrackStateProvider *extrapolator)
set the track extrapolator
bool updateCand(RhoCandidate *cand) const
update a particlular candidate in the tree
std::ostream & fillStream(std::ostream &s) const
Print the result of the fit.
void setVerbose(int i)
set the verbosity level (for debugging only)
void fitOneStep()
Fit just one step.
int nDof() const
Total number of DOFs.
Fitter()
default constructor is disabled
DecayChain * decaychain()
RhoDoubleErr decayLengthSum(RhoCandidate *, RhoCandidate *) const
double chiSquare() const
Total chisquare.
virtual ~Fitter()
destructor
RecoTrackStateProvider * extrapolator()
get the extrapolator
RhoCandidate * fitParams(RhoCandidate *p=0) const
Bool_t Fit(int maxNumberOfIterations=10, double deltaChisquareConverged=0.01)
Add or remove a mass constraintfor a certain ParticleID.
RhoCandidate * m_particle
std::string print() const
Print the result of the fit.
void SetToleranceZ(double z)