PandaRoot
RhoFitterBase Class Reference

#include <RhoFitterBase.h>

Inheritance diagram for RhoFitterBase:
DecayTreeFitter::Fitter Rho4CFitter RhoKalmanVtxFitter RhoKinFitter RhoKinHyperonFitter RhoKinHyperonVtxFitter RhoKinVtxFitter RhoDecayTreeFitter

Public Member Functions

 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)
 

Protected Member Functions

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

Bool_t fVerbose
 
RhoCandidatefHeadOfTree
 
std::vector< RhoCandidate * > fDaughters
 
double fChiSquare
 
int fNDegreesOfFreedom
 

Detailed Description

Definition at line 21 of file RhoFitterBase.h.

Constructor & Destructor Documentation

◆ RhoFitterBase() [1/3]

RhoFitterBase::RhoFitterBase ( )
inline

constructor

Definition at line 27 of file RhoFitterBase.h.

References Chi2Contribution(), Fit(), FitAll(), and ~RhoFitterBase().

27 {};

◆ RhoFitterBase() [2/3]

RhoFitterBase::RhoFitterBase ( RhoCandidate decayTree)

◆ RhoFitterBase() [3/3]

RhoFitterBase::RhoFitterBase ( const RhoFitterBase )

◆ ~RhoFitterBase()

RhoFitterBase::~RhoFitterBase ( )

Referenced by RhoFitterBase().

Member Function Documentation

◆ Chi2Contribution()

double RhoFitterBase::Chi2Contribution ( const RhoCandidate )

access to the fitted candidates

Referenced by RhoFitterBase().

◆ CopyCand()

RhoCandidate* RhoFitterBase::CopyCand ( RhoCandidate )
protected

uppermost particle composite in tree

◆ CopyTree()

RhoCandidate* RhoFitterBase::CopyTree ( RhoCandidate )
protected

◆ FindAndAddFinalStateDaughters()

void RhoFitterBase::FindAndAddFinalStateDaughters ( RhoCandidate cand)
protected

◆ Fit()

Bool_t RhoFitterBase::Fit ( )

This function has to be overridden by the real algoritms implementations

Referenced by DecayTreeFitter::Fitter::FitAll(), and RhoFitterBase().

◆ FitAll()

Bool_t RhoFitterBase::FitAll ( )

Referenced by RhoFitterBase().

◆ FitNode()

virtual Bool_t RhoFitterBase::FitNode ( RhoCandidate b)
protectedvirtual

◆ GetChi2()

double RhoFitterBase::GetChi2 ( ) const
inline

Definition at line 47 of file RhoFitterBase.h.

References fChiSquare.

47 { return fChiSquare; };
double fChiSquare
Definition: RhoFitterBase.h:72

◆ GetNdf()

int RhoFitterBase::GetNdf ( ) const
inline

Definition at line 48 of file RhoFitterBase.h.

References fNDegreesOfFreedom.

48 { return fNDegreesOfFreedom; };
int fNDegreesOfFreedom
Definition: RhoFitterBase.h:73

◆ GetProb()

double RhoFitterBase::GetProb ( ) const
inline

Definition at line 49 of file RhoFitterBase.h.

References fChiSquare, and fNDegreesOfFreedom.

49 { return TMath::Prob(fChiSquare, fNDegreesOfFreedom); };
double fChiSquare
Definition: RhoFitterBase.h:72
int fNDegreesOfFreedom
Definition: RhoFitterBase.h:73

◆ HeadOfTree()

RhoCandidate& RhoFitterBase::HeadOfTree ( ) const
inlineprotected

Definition at line 55 of file RhoFitterBase.h.

References fHeadOfTree.

55 { return *fHeadOfTree; }
RhoCandidate * fHeadOfTree
Definition: RhoFitterBase.h:60

◆ InsertChi2()

void RhoFitterBase::InsertChi2 ( const RhoCandidate bc,
const double  chi2 
)
inlineprotected

Definition at line 64 of file RhoFitterBase.h.

References RhoCandidate::Uid().

64 { fChi2Map[bc->Uid()] = chi2; }
Int_t Uid() const
Definition: RhoCandidate.h:416

◆ SetDaugthersFromComposite()

void RhoFitterBase::SetDaugthersFromComposite ( RhoCandidate cand)
protected

◆ SetDecayVertex()

void RhoFitterBase::SetDecayVertex ( RhoCandidate composite,
const TVector3 &  vtx,
const TMatrixD CovVV 
)
protected

◆ SetFourMomentumByDaughters()

void RhoFitterBase::SetFourMomentumByDaughters ( RhoCandidate composite)
protected

◆ SetVerbose()

void RhoFitterBase::SetVerbose ( Bool_t  v = kTRUE)
inline

Definition at line 51 of file RhoFitterBase.h.

References fVerbose, and v.

51 { fVerbose = v; }
__m128 v
Definition: P4_F32vec4.h:3

Member Data Documentation

◆ fChiSquare

double RhoFitterBase::fChiSquare
protected

Definition at line 72 of file RhoFitterBase.h.

Referenced by DecayTreeFitter::Fitter::chiSquare(), GetChi2(), and GetProb().

◆ fDaughters

std::vector<RhoCandidate *> RhoFitterBase::fDaughters
protected

Definition at line 67 of file RhoFitterBase.h.

◆ fHeadOfTree

RhoCandidate* RhoFitterBase::fHeadOfTree
protected

Definition at line 60 of file RhoFitterBase.h.

Referenced by HeadOfTree().

◆ fNDegreesOfFreedom

int RhoFitterBase::fNDegreesOfFreedom
protected

Definition at line 73 of file RhoFitterBase.h.

Referenced by GetNdf(), and GetProb().

◆ fVerbose

Bool_t RhoFitterBase::fVerbose
protected

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