PandaRoot
RhoDecayTreeFitter Class Reference

#include <RhoDecayTreeFitter.h>

Inheritance diagram for RhoDecayTreeFitter:
DecayTreeFitter::Fitter RhoFitterBase

Public Member Functions

 RhoDecayTreeFitter (RhoCandidate *bc, int verbosity=0)
 constructor from the particle (decay head) More...
 
 RhoDecayTreeFitter (RhoCandidate *bc, const RhoVector3Err &pv, int verbosity=0)
 constructor from the particle (decay head) and primary vertex More...
 
 RhoDecayTreeFitter (RhoCandidate *bc, const RhoLorentzVectorErr &lv, int verbosity=0)
 constructor from the particle (decay head) and pbeam More...
 
 RhoDecayTreeFitter (RhoCandidate *bc, const RhoLorentzVectorErr &lv, const RhoVector3Err &pv, int verbosity=0)
 constructor from the particle (decay head), pbeam and primary vertex More...
 
 ~RhoDecayTreeFitter ()
 destructor More...
 
- Public Member Functions inherited from DecayTreeFitter::Fitter
 Fitter (RhoCandidate *bc, RecoTrackStateProvider *extrapolator, int verbosity=0)
 constructor from the particle (decay head) More...
 
 Fitter (RhoCandidate *bc, const RhoVector3Err &pv, RecoTrackStateProvider *extrapolator=nullptr, int verbosity=0)
 constructor from the particle (decay head) and primary vertex More...
 
 Fitter (RhoCandidate *bc, const RhoLorentzVectorErr &lv, RecoTrackStateProvider *extrapolator, int verbosity=0)
 constructor from the particle (decay head) and pbeam More...
 
 Fitter (RhoCandidate *bc, const RhoLorentzVectorErr &lv, const RhoVector3Err &pv, RecoTrackStateProvider *extrapolator=nullptr, int verbosity=0)
 constructor from the particle (decay head), pbeam and primary vertex More...
 
virtual ~Fitter ()
 destructor More...
 
void setMassConstraint (RhoCandidate *cand, bool add=true)
 Add or remove a mass constraint. More...
 
void setMassConstraint (RhoCandidate *cand, double mass)
 Add a constraint to a mass different from the property table mass. More...
 
Bool_t Fit (int maxNumberOfIterations=10, double deltaChisquareConverged=0.01)
 Add or remove a mass constraintfor a certain ParticleID. More...
 
Bool_t FitAll (int maxit=10, double dchiq=0.01)
 
std::string print () const
 Print the result of the fit. More...
 
std::ostream & fillStream (std::ostream &s) const
 Print the result of the fit. More...
 
RhoCandidateparticle () const
 The top level particle that is fitted. More...
 
RhoCandidatefitParams (RhoCandidate *p=0) const
 
double chiSquare () const
 Total chisquare. More...
 
int nDof () const
 Total number of DOFs. More...
 
FitStatus status () const
 Status of fit. More...
 
int nIter () const
 Number of iterations used by vertex fit. More...
 
ChiSquare chiSquare (RhoCandidate *p) const
 get the chisquare of everything 'downstream' of a particle More...
 
RhoDoubleErr decayLengthSum (RhoCandidate *, RhoCandidate *) const
 
bool updateCand (RhoCandidate *cand) const
 update a particlular candidate in the tree More...
 
bool updateTree (RhoCandidate *cand) const
 update a particlular candidate in the tree More...
 
int errCode ()
 error code More...
 
void setVerbose (int i)
 set the verbosity level (for debugging only) More...
 
void SetToleranceZ (double z)
 
DecayChainGetDecayChainDirty ()
 
RecoTrackStateProviderextrapolator ()
 get the extrapolator More...
 
void setStateProvider (RecoTrackStateProvider *extrapolator)
 set the track extrapolator More...
 
- Public Member Functions inherited from RhoFitterBase
 RhoFitterBase ()
 
 RhoFitterBase (RhoCandidate *decayTree)
 
 RhoFitterBase (const RhoFitterBase &)
 
 ~RhoFitterBase ()
 
Bool_t Fit ()
 
Bool_t FitAll ()
 
double Chi2Contribution (const RhoCandidate *)
 
double GetChi2 () const
 
int GetNdf () const
 
double GetProb () const
 
void SetVerbose (Bool_t v=kTRUE)
 

Additional Inherited Members

- Public Types inherited from DecayTreeFitter::Fitter
enum  FitStatus {
  UnFitted = -1, Success = 0, Failed, BadInput,
  NonConverged
}
 
- Protected Member Functions inherited from DecayTreeFitter::Fitter
std::string name (RhoCandidate *cand) const
 Name of a particle in the decay tree. More...
 
RhoDoubleErr decayLengthSum (const ParticleBase &, const ParticleBase &) const
 
DecayChaindecaychain ()
 
FitParamsfitparams ()
 
const DecayChaindecaychain () const
 
const FitParamsfitparams () const
 
double globalChiSquare () const
 
double add (RhoCandidate *cand)
 
double remove (RhoCandidate *cand)
 
void updateIndex ()
 
void fit (int maxNumberOfIterations=10, double deltaChisquareConverged=0.01)
 Fit the decay tree. More...
 
void fitOneStep ()
 Fit just one step. More...
 
RhoCandidatefittedCand (RhoCandidate *cand, RhoCandidate *headoftree) const
 
void updateCand (const ParticleBase &pb, RhoCandidate *cand) const
 
- Protected Member Functions inherited from RhoFitterBase
RhoCandidateHeadOfTree () const
 
virtual Bool_t FitNode (RhoCandidate *b)
 
RhoCandidateCopyCand (RhoCandidate *)
 uppermost particle composite in tree More...
 
RhoCandidateCopyTree (RhoCandidate *)
 
void InsertChi2 (const RhoCandidate *bc, const double chi2)
 
void SetDaugthersFromComposite (RhoCandidate *cand)
 
void FindAndAddFinalStateDaughters (RhoCandidate *cand)
 
void SetFourMomentumByDaughters (RhoCandidate *composite)
 
void SetDecayVertex (RhoCandidate *composite, const TVector3 &vtx, const TMatrixD &CovVV)
 
- Protected Attributes inherited from DecayTreeFitter::Fitter
RecoTrackStateProviderm_extrapolator
 track extrapolator (if needed) More...
 
- Protected Attributes inherited from RhoFitterBase
Bool_t fVerbose
 
RhoCandidatefHeadOfTree
 
std::vector< RhoCandidate * > fDaughters
 
double fChiSquare
 
int fNDegreesOfFreedom
 

Detailed Description

Definition at line 24 of file RhoDecayTreeFitter.h.

Constructor & Destructor Documentation

◆ RhoDecayTreeFitter() [1/4]

RhoDecayTreeFitter::RhoDecayTreeFitter ( RhoCandidate bc,
int  verbosity = 0 
)

constructor from the particle (decay head)

◆ RhoDecayTreeFitter() [2/4]

RhoDecayTreeFitter::RhoDecayTreeFitter ( RhoCandidate bc,
const RhoVector3Err pv,
int  verbosity = 0 
)

constructor from the particle (decay head) and primary vertex

◆ RhoDecayTreeFitter() [3/4]

RhoDecayTreeFitter::RhoDecayTreeFitter ( RhoCandidate bc,
const RhoLorentzVectorErr lv,
int  verbosity = 0 
)

constructor from the particle (decay head) and pbeam

◆ RhoDecayTreeFitter() [4/4]

RhoDecayTreeFitter::RhoDecayTreeFitter ( RhoCandidate bc,
const RhoLorentzVectorErr lv,
const RhoVector3Err pv,
int  verbosity = 0 
)

constructor from the particle (decay head), pbeam and primary vertex

◆ ~RhoDecayTreeFitter()

RhoDecayTreeFitter::~RhoDecayTreeFitter ( )

destructor


The documentation for this class was generated from the following file: