FairRoot/PandaRoot
|
#include <Rho4CFitter.h>
Public Member Functions | |
Rho4CFitter (RhoCandidate *b, TLorentzVector lv) | |
virtual | ~Rho4CFitter () |
Bool_t | Fit () |
Bool_t | FitConserveMasses () |
Bool_t | FitAll () |
void | PrintTree (RhoCandidate *c, int l=0) |
double | Chi2Contribution (const RhoCandidate &) const |
double | Chi2Contribution (const RhoCandidate *) |
double | GetChi2 () const |
int | GetNdf () const |
double | GetProb () const |
void | SetVerbose (Bool_t v=kTRUE) |
Protected Member Functions | |
RhoCandidate & | HeadOfTree () const |
virtual Bool_t | FitNode (RhoCandidate *b) |
RhoCandidate * | CopyCand (RhoCandidate *) |
uppermost particle composite in tree More... | |
RhoCandidate * | CopyTree (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 |
RhoCandidate * | fHeadOfTree |
std::vector< RhoCandidate * > | fDaughters |
double | fChiSquare |
int | fNDegreesOfFreedom |
Private Member Functions | |
Bool_t | Do4CFit () |
Bool_t | Do4CFitWithMassConservation () |
Private Attributes | |
TLorentzVector | fLv4C |
int | fNDau |
double | fConserveDaughterMasses |
Definition at line 20 of file Rho4CFitter.h.
Rho4CFitter::Rho4CFitter | ( | RhoCandidate * | b, |
TLorentzVector | lv | ||
) |
|
virtual |
Definition at line 35 of file Rho4CFitter.cxx.
|
inline |
Definition at line 29 of file Rho4CFitter.h.
|
inherited |
access to the fitted candidates
Definition at line 86 of file RhoFitterBase.cxx.
References Double_t, RhoFitterBase::fChi2Map, uid(), and RhoCandidate::Uid().
|
protectedinherited |
uppermost particle composite in tree
Definition at line 51 of file RhoFitterBase.cxx.
References RhoFactory::Instance(), RhoFactory::NewCandidate(), RhoCandidate::RemoveAssociations(), and RhoCandidate::SetFit().
Referenced by RhoFitterBase::CopyTree().
|
protectedinherited |
Definition at line 61 of file RhoFitterBase.cxx.
References RhoFitterBase::CopyCand(), RhoCandidate::Daughter(), i, RhoCandidate::IsComposite(), RhoCandidate::NDaughters(), and RhoCandidate::SetMotherLink().
Referenced by RhoFitterBase::RhoFitterBase().
|
private |
Definition at line 77 of file Rho4CFitter.cxx.
References d, RhoFitterBase::fChiSquare, RhoFitterBase::fDaughters, fLv4C, fNDau, RhoFitterBase::fNDegreesOfFreedom, i, and p1.
Referenced by Fit().
|
private |
Definition at line 179 of file Rho4CFitter.cxx.
References d, RhoFitterBase::fChiSquare, RhoFitterBase::fDaughters, fLv4C, RhoFitterBase::fNDegreesOfFreedom, i, m, and p1.
Referenced by FitConserveMasses().
|
protectedinherited |
Definition at line 149 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), RhoFitterBase::fDaughters, RhoCandidate::IsComposite(), RhoCandidate::IsLocked(), and RhoCandidate::NDaughters().
Referenced by Fit(), RhoKinFitter::Fit(), and FitConserveMasses().
Bool_t Rho4CFitter::Fit | ( | ) |
Definition at line 53 of file Rho4CFitter.cxx.
References Bool_t, Do4CFit(), RhoFitterBase::fDaughters, RhoFitterBase::fHeadOfTree, RhoFitterBase::FindAndAddFinalStateDaughters(), fNDau, and RhoFitterBase::SetFourMomentumByDaughters().
|
inline |
Definition at line 27 of file Rho4CFitter.h.
Bool_t Rho4CFitter::FitConserveMasses | ( | ) |
Definition at line 64 of file Rho4CFitter.cxx.
References Bool_t, Do4CFitWithMassConservation(), RhoFitterBase::fDaughters, RhoFitterBase::fHeadOfTree, RhoFitterBase::FindAndAddFinalStateDaughters(), fNDau, and RhoFitterBase::SetFourMomentumByDaughters().
Referenced by ana_check(), ana_check_psi(), ana_fast_psi2s(), ana_psi2s_fit(), anatut_psi2s(), PndJpsi2PiAna::Exec(), PndLLbarAnaTask::Exec(), PndMyAnalysisTask::Exec(), newana_check_eta(), QAmacro_fastsim_2(), run_ana_eta_c_stt(), run_ana_eta_c_stt_v2(), and run_ana_eta_c_tpc().
|
protectedvirtualinherited |
Reimplemented in RhoKinHyperonVtxFitter, RhoKinVtxFitter, and RhoKalmanVtxFitter.
Definition at line 130 of file RhoFitterBase.cxx.
Referenced by RhoFitterBase::Fit(), and RhoFitterBase::IterateAndFit().
|
inlineinherited |
Definition at line 48 of file RhoFitterBase.h.
References RhoFitterBase::fChiSquare.
Referenced by ana_check(), ana_check_psi(), ana_complete(), ana_day1(), ana_multi(), anaideal_complete(), anatut_psi2s(), PndTripleAnaTask::DsDs2317Analysis(), PndPmtTask::Exec(), PndProdAnaTask::Exec(), PndLLbarAnaTask::Exec(), PndAnaWithTrigger::Exec(), PndMyAnalysisTask::Exec(), PndScrutAnaTask::Exec(), PndSimpleCombinerTask::Exec(), PndTripleAnaTask::JpsiAnalysis(), newana_check_eta(), poormantracks(), PndRhoTupleQA::qaFitter(), run_ana_eta_c_stt(), run_ana_eta_c_stt_v2(), run_ana_eta_c_tpc(), PndTripleAnaTask::ThreePiAnalysis(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
|
inlineinherited |
Definition at line 49 of file RhoFitterBase.h.
References RhoFitterBase::fNDegreesOfFreedom.
Referenced by poormantracks(), and PndRhoTupleQA::qaFitter().
|
inlineinherited |
Definition at line 50 of file RhoFitterBase.h.
References RhoFitterBase::fChiSquare, and RhoFitterBase::fNDegreesOfFreedom.
Referenced by ana_complete(), ana_day1(), ana_multi(), anaideal_complete(), PndPmtTask::Exec(), PndLLbarAnaTask::Exec(), poormantracks(), PndRhoTupleQA::qaFitter(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
Definition at line 66 of file RhoFitterBase.h.
References RhoFitterBase::fChi2Map, and RhoCandidate::Uid().
Referenced by RhoKalmanVtxFitter::Calculate().
void Rho4CFitter::PrintTree | ( | RhoCandidate * | c, |
int | l = 0 |
||
) |
Definition at line 39 of file Rho4CFitter.cxx.
References RhoCandidate::Daughter(), i, RhoCandidate::M(), RhoCandidate::NDaughters(), printf(), and RhoCandidate::Uid().
|
protectedinherited |
Definition at line 136 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), RhoFitterBase::fDaughters, RhoCandidate::IsComposite(), and RhoCandidate::NDaughters().
Referenced by RhoKinHyperonFitter::Fit(), RhoKinVtxFitter::FitNode(), RhoKinHyperonVtxFitter::FitNode(), and RhoKinHyperonFitter::SetMatrices().
|
protectedinherited |
Definition at line 178 of file RhoFitterBase.cxx.
References RhoCandidate::SetDecayVtx().
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::SetOutput(), and RhoKinHyperonVtxFitter::SetOutput().
|
protectedinherited |
Definition at line 160 of file RhoFitterBase.cxx.
References RhoCandidate::Cov7(), RhoCandidate::Daughter(), RhoCandidate::IsComposite(), RhoCandidate::IsLocked(), RhoCandidate::NDaughters(), RhoCandidate::P4(), RhoCandidate::SetCov7(), and RhoCandidate::SetP4().
Referenced by RhoKalmanVtxFitter::Calculate(), Fit(), FitConserveMasses(), RhoKinVtxFitter::SetOutput(), and RhoKinFitter::SetOutput().
|
inlineinherited |
|
protectedinherited |
Definition at line 74 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), DecayTreeFitter::Fitter::chiSquare(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Do4CFit(), Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitNode(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetChi2(), RhoFitterBase::GetProb(), Rho4CFitter(), RhoKinFitter::Solve(), and RhoKinHyperonFitter::Solve().
|
private |
Definition at line 38 of file Rho4CFitter.h.
|
protectedinherited |
Definition at line 69 of file RhoFitterBase.h.
Referenced by RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Do4CFit(), Do4CFitWithMassConservation(), RhoFitterBase::FindAndAddFinalStateDaughters(), Fit(), RhoKinHyperonFitter::Fit(), RhoKinFitter::Fit(), FitConserveMasses(), RhoKinVtxFitter::GetCovariance(), RhoKinHyperonVtxFitter::GetCovariance(), RhoKinFitter::Read4MomKinMatrix(), RhoKinHyperonFitter::Read4MomKinMatrix(), RhoKinVtxFitter::ReadKinMatrix(), RhoKinHyperonVtxFitter::ReadKinMatrix(), RhoKinVtxFitter::ReadMassKinMatrix(), RhoKinFitter::ReadMassKinMatrix(), RhoKinHyperonVtxFitter::ReadMassKinMatrix(), RhoKinVtxFitter::ReadMatrix(), RhoKinFitter::ReadMatrix(), RhoKinHyperonVtxFitter::ReadMatrix(), RhoKinFitter::ReadMomKinMatrix(), RhoKinHyperonFitter::ReadMomKinMatrix(), RhoKinFitter::ReadTotEKinMatrix(), RhoKinHyperonFitter::ReadTotEKinMatrix(), RhoKinFitter::ReadTotMomKinMatrix(), RhoKinHyperonFitter::ReadTotMomKinMatrix(), RhoFitterBase::SetDaugthersFromComposite(), RhoKinVtxFitter::SetMatrices(), RhoKinFitter::SetMatrices(), RhoKinHyperonFitter::SetMatrices(), RhoKinHyperonVtxFitter::SetMatrices(), RhoKinVtxFitter::SetOutput(), RhoKinFitter::SetOutput(), RhoKinHyperonFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::TransportToPoca(), RhoKinVtxFitter::TransportToVertex(), and RhoKinHyperonVtxFitter::TransportToVertex().
|
protectedinherited |
Definition at line 62 of file RhoFitterBase.h.
Referenced by Fit(), RhoKinFitter::Fit(), RhoKinHyperonFitter::Fit(), RhoFitterBase::Fit(), RhoFitterBase::FitAll(), FitConserveMasses(), RhoFitterBase::HeadOfTree(), RhoKinHyperonFitter::ReadMatrix(), RhoFitterBase::RhoFitterBase(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKinHyperonFitter::SetMatrices(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 36 of file Rho4CFitter.h.
Referenced by Do4CFit(), and Do4CFitWithMassConservation().
|
private |
Definition at line 37 of file Rho4CFitter.h.
Referenced by Do4CFit(), Fit(), and FitConserveMasses().
|
protectedinherited |
Definition at line 75 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Do4CFit(), Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetNdf(), RhoFitterBase::GetProb(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
protectedinherited |
Definition at line 58 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), RhoKalmanVtxFitter::FitVertexFast(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKalmanVtxFitter::SetDebug(), RhoKinVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKalmanVtxFitter::SetSilent(), and RhoFitterBase::SetVerbose().