FairRoot/PandaRoot
|
#include <InteractionPoint.h>
Public Types | |
enum | ParticleType { kInteractionPoint, kRecoComposite, kRecoResonance, kInternalParticle, kRecoTrack, kResonance, kRecoPhoton, kMissingParticle } |
typedef std::vector < ParticleBase * > | ParticleContainer |
typedef std::vector < ParticleBase * > | daucontainer |
typedef daucontainer::const_iterator | const_iterator |
typedef std::vector< std::pair < const ParticleBase *, int > > | indexmap |
typedef std::vector < DecayTreeFitter::Constraint > | constraintlist |
Static Public Member Functions | |
static ParticleBase * | createParticle (RhoCandidate *bc, const ParticleBase *mother, const Configuration &config) |
Protected Member Functions | |
ErrCode | initMom (FitParams *fitparams) const |
daucontainer & | daughters () |
ErrCode | initTau (FitParams *par) const |
void | makeName (RhoCandidate *bc) |
bool | hasMassConstraint () const |
void | setIndex (int i) |
void | setName (const std::string &n) |
Static Protected Member Functions | |
static double | pdtCLifeTime (RhoCandidate *bc) |
static bool | isAResonance (const TParticlePDG *bc) |
static double | bFieldOverC () |
Private Attributes | |
TVector3 | m_ipPos |
TMatrixDSym | m_ipPosCov |
TMatrixDSym | m_ipPosCovInv |
TLorentzVector | m_ipMom |
TMatrixDSym | m_ipMomCov |
TMatrixDSym | m_ipMomCovInv |
bool | m_hasposcon |
bool | m_hasmomcon |
bool | m_hasposcov |
bool | m_hasmomcov |
Definition at line 27 of file InteractionPoint.h.
|
inherited |
Definition at line 97 of file ParticleBase.h.
|
inherited |
Definition at line 110 of file ParticleBase.h.
|
inherited |
Definition at line 96 of file ParticleBase.h.
|
inherited |
Definition at line 105 of file ParticleBase.h.
|
inherited |
Definition at line 33 of file ParticleBase.h.
|
inherited |
Enumerator | |
---|---|
kInteractionPoint | |
kRecoComposite | |
kRecoResonance | |
kInternalParticle | |
kRecoTrack | |
kResonance | |
kRecoPhoton | |
kMissingParticle |
Definition at line 28 of file ParticleBase.h.
DecayTreeFitter::InteractionPoint::InteractionPoint | ( | RhoCandidate * | daughter, |
const Configuration & | config | ||
) |
Definition at line 26 of file InteractionPoint.cxx.
References DecayTreeFitter::ParticleBase::daughters(), m_hasmomcov, m_hasposcov, and vtxverbose.
DecayTreeFitter::InteractionPoint::InteractionPoint | ( | const RhoVector3Err & | ipvertex, |
RhoCandidate * | daughter, | ||
const Configuration & | config | ||
) |
Definition at line 42 of file InteractionPoint.cxx.
References RhoVector3Err::CovMatrix(), DecayTreeFitter::ParticleBase::daughters(), jj, m_hasmomcov, m_hasposcov, m_ipPos, m_ipPosCov, m_ipPosCovInv, RhoCalculationTools::PrintMatrix(), and vtxverbose.
DecayTreeFitter::InteractionPoint::InteractionPoint | ( | const RhoLorentzVectorErr & | ipmom, |
RhoCandidate * | daughter, | ||
const Configuration & | config | ||
) |
Definition at line 74 of file InteractionPoint.cxx.
References RhoVector3Err::CovMatrix(), RhoLorentzVectorErr::CovMatrix(), DecayTreeFitter::ParticleBase::daughters(), jj, m_hasmomcov, m_hasposcon, m_hasposcov, m_ipMom, m_ipMomCov, m_ipMomCovInv, m_ipPos, m_ipPosCov, DecayTreeFitter::ParticleBase::particle(), RhoCandidate::PosWCov(), RhoCalculationTools::PrintMatrix(), and vtxverbose.
DecayTreeFitter::InteractionPoint::InteractionPoint | ( | const RhoLorentzVectorErr & | ipmom, |
const RhoVector3Err & | ipvertex, | ||
RhoCandidate * | daughter, | ||
const Configuration & | config | ||
) |
Definition at line 124 of file InteractionPoint.cxx.
References RhoVector3Err::CovMatrix(), RhoLorentzVectorErr::CovMatrix(), DecayTreeFitter::ParticleBase::daughters(), jj, m_hasmomcov, m_hasposcov, m_ipMom, m_ipMomCov, m_ipMomCovInv, m_ipPos, m_ipPosCov, m_ipPosCovInv, RhoCalculationTools::PrintMatrix(), and vtxverbose.
|
inherited |
Definition at line 94 of file ParticleBase.cxx.
References DecayTreeFitter::ParticleBase::createParticle().
Referenced by DecayTreeFitter::InternalParticle::InternalParticle().
|
virtual |
Reimplemented from DecayTreeFitter::InternalParticle.
Definition at line 323 of file InteractionPoint.cxx.
References DecayTreeFitter::InternalParticle::addToConstraintList(), DecayTreeFitter::Constraint::beamenergy, and DecayTreeFitter::Constraint::beamspot.
|
inlineinherited |
Definition at line 100 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_daughters.
|
staticprotectedinherited |
Definition at line 582 of file ParticleBase.cxx.
References C(), RhoCalculationTools::GetBz(), and pos.
|
inlineinherited |
|
virtual |
Definition at line 278 of file InteractionPoint.cxx.
References DecayTreeFitter::FitParams::dim().
|
virtualinherited |
Definition at line 551 of file ParticleBase.cxx.
|
inherited |
Definition at line 227 of file ParticleBase.cxx.
References name, and vtxverbose.
|
staticinherited |
Definition at line 113 of file ParticleBase.cxx.
References RhoCandidate::Charge(), fabs(), RhoCandidate::GetRecoCandidate(), DecayTreeFitter::ParticleBase::index(), RhoCandidate::IsLocked(), DecayTreeFitter::ParticleBase::name(), RhoCandidate::NDaughters(), RhoCandidate::PdgCode(), RhoCandidate::PdtEntry(), DecayTreeFitter::ParticleBase::type(), RhoCandidate::Uid(), and vtxverbose.
Referenced by DecayTreeFitter::ParticleBase::addDaughter().
|
inlineinherited |
Definition at line 99 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_daughters.
Referenced by InteractionPoint(), and DecayTreeFitter::InternalParticle::InternalParticle().
|
inlineprotectedinherited |
Definition at line 138 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_daughters.
|
inlinevirtual |
Reimplemented from DecayTreeFitter::InternalParticle.
Definition at line 35 of file InteractionPoint.h.
|
inlineinherited |
Definition at line 101 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_daughters.
Referenced by DecayTreeFitter::ParticleBase::locate().
|
inlineinherited |
Definition at line 80 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::hasEnergy(), and DecayTreeFitter::ParticleBase::momIndex().
|
inlinevirtualinherited |
Reimplemented from DecayTreeFitter::ParticleBase.
Definition at line 34 of file InternalParticle.h.
|
inlineprotectedinherited |
Definition at line 139 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_hasMassConstraint.
Referenced by DecayTreeFitter::MissingParticle::dim(), and DecayTreeFitter::MissingParticle::hasEnergy().
|
inlinevirtualinherited |
Reimplemented from DecayTreeFitter::ParticleBase.
Reimplemented in DecayTreeFitter::Resonance.
Definition at line 35 of file InternalParticle.h.
|
inlinevirtualinherited |
Definition at line 59 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_index.
Referenced by DecayTreeFitter::ParticleBase::createParticle(), DecayTreeFitter::DecayChain::index(), DecayTreeFitter::InternalParticle::lenIndex(), DecayTreeFitter::RecoComposite::lenIndex(), DecayTreeFitter::MissingParticle::momIndex(), DecayTreeFitter::RecoParticle::momIndex(), DecayTreeFitter::RecoResonance::momIndex(), DecayTreeFitter::InternalParticle::momIndex(), DecayTreeFitter::Resonance::momIndex(), DecayTreeFitter::RecoComposite::momIndex(), DecayTreeFitter::InternalParticle::posIndex(), and DecayTreeFitter::RecoComposite::posIndex().
Reimplemented from DecayTreeFitter::ParticleBase.
Definition at line 194 of file InteractionPoint.cxx.
References col, DecayTreeFitter::FitParams::cov(), DecayTreeFitter::ParticleBase::initCov(), row, and status.
|
protectedinherited |
Definition at line 275 of file InternalParticle.cxx.
References DecayTreeFitter::FitParams::par(), sqrt(), DecayTreeFitter::ErrCode::success, and vtxverbose.
Reimplemented from DecayTreeFitter::InternalParticle.
Definition at line 175 of file InteractionPoint.cxx.
References DecayTreeFitter::InternalParticle::initPar1(), DecayTreeFitter::FitParams::par(), row, status, and vtxverbose.
Implements DecayTreeFitter::ParticleBase.
Reimplemented in DecayTreeFitter::Resonance.
Definition at line 258 of file InternalParticle.cxx.
References DecayTreeFitter::FitParams::par(), and vtxverbose.
Definition at line 522 of file ParticleBase.cxx.
References mom, DecayTreeFitter::FitParams::par(), DecayTreeFitter::ParticleBase::posIndex(), and DecayTreeFitter::ErrCode::success.
|
staticprotectedinherited |
Definition at line 205 of file ParticleBase.cxx.
References C(), and vtxverbose.
|
inlinevirtualinherited |
Reimplemented from DecayTreeFitter::ParticleBase.
Reimplemented in DecayTreeFitter::Resonance.
Definition at line 32 of file InternalParticle.h.
References DecayTreeFitter::ParticleBase::index(), and DecayTreeFitter::ParticleBase::mother().
|
inherited |
Definition at line 353 of file ParticleBase.cxx.
References DecayTreeFitter::ParticleBase::end(), and DecayTreeFitter::ParticleBase::locate().
Referenced by DecayTreeFitter::Fitter::decayLengthSum(), DecayTreeFitter::DecayChain::locate(), DecayTreeFitter::ParticleBase::locate(), DecayTreeFitter::Fitter::name(), and DecayTreeFitter::Fitter::updateCand().
|
protectedinherited |
|
inlinevirtualinherited |
Reimplemented from DecayTreeFitter::ParticleBase.
Reimplemented in DecayTreeFitter::Resonance.
Definition at line 33 of file InternalParticle.h.
References DecayTreeFitter::ParticleBase::index(), and DecayTreeFitter::ParticleBase::mother().
|
inlineinherited |
Definition at line 60 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_mother.
Referenced by DecayTreeFitter::DecayChain::chiSquare(), DecayTreeFitter::Fitter::decayLengthSum(), DecayTreeFitter::InternalParticle::dim(), DecayTreeFitter::InternalParticle::lenIndex(), DecayTreeFitter::InternalParticle::momIndex(), DecayTreeFitter::RecoResonance::posIndex(), DecayTreeFitter::Resonance::posIndex(), DecayTreeFitter::Fitter::remove(), and DecayTreeFitter::Fitter::updateCand().
|
inlineinherited |
Definition at line 61 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_name.
Referenced by DecayTreeFitter::ParticleBase::createParticle(), and DecayTreeFitter::Fitter::name().
|
virtualinherited |
Reimplemented in DecayTreeFitter::RecoTrack.
Definition at line 560 of file ParticleBase.cxx.
Referenced by DecayTreeFitter::sortByType().
|
virtualinherited |
Reimplemented from DecayTreeFitter::ParticleBase.
Reimplemented in DecayTreeFitter::Resonance.
Definition at line 539 of file InternalParticle.cxx.
References DecayTreeFitter::ParticleBase::parname().
|
inlineinherited |
Definition at line 57 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_particle.
Referenced by DecayTreeFitter::compTrkTransverseMomentum(), InteractionPoint(), DecayTreeFitter::DecayChain::locate(), and DecayTreeFitter::sortByType().
|
inlineinherited |
Definition at line 88 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_pdtCLifeTime.
|
staticprotectedinherited |
|
inlineinherited |
Definition at line 86 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_pdtMass.
Referenced by DecayTreeFitter::InternalParticle::projectMassConstraintTwoBody(), and DecayTreeFitter::Fitter::updateCand().
|
inlineinherited |
Definition at line 89 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_pdtCLifeTime, and DecayTreeFitter::ParticleBase::m_pdtMass.
|
inlineinherited |
|
inlinevirtualinherited |
Reimplemented from DecayTreeFitter::ParticleBase.
Reimplemented in DecayTreeFitter::Resonance.
Definition at line 31 of file InternalParticle.h.
References DecayTreeFitter::ParticleBase::index().
|
virtualinherited |
Definition at line 309 of file ParticleBase.cxx.
References DecayTreeFitter::FitParams::cov(), i, name, DecayTreeFitter::FitParams::par(), pz, and sqrt().
ErrCode DecayTreeFitter::InteractionPoint::projectBeamConstraint | ( | const FitParams * | fitpar, |
Projection & | p | ||
) | const |
Definition at line 235 of file InteractionPoint.cxx.
References col, DecayTreeFitter::Projection::H(), DecayTreeFitter::FitParams::par(), RhoCalculationTools::PrintMatrix(), DecayTreeFitter::Projection::r(), row, DecayTreeFitter::ErrCode::success, DecayTreeFitter::Projection::V(), DecayTreeFitter::Projection::Vfast(), and vtxverbose.
|
virtual |
Reimplemented from DecayTreeFitter::InternalParticle.
Definition at line 259 of file InteractionPoint.cxx.
References DecayTreeFitter::Constraint::beamenergy, DecayTreeFitter::Constraint::beamspot, DecayTreeFitter::InternalParticle::projectConstraint(), and status.
|
inherited |
Definition at line 383 of file InternalParticle.cxx.
References DecayTreeFitter::Projection::H(), DecayTreeFitter::ParticleBase::momIndex(), DecayTreeFitter::FitParams::par(), DecayTreeFitter::Projection::r(), sqrt(), DecayTreeFitter::ErrCode::success, and vtxverbose.
|
virtualinherited |
Definition at line 387 of file ParticleBase.cxx.
References DecayTreeFitter::Projection::H(), mom, p2, DecayTreeFitter::FitParams::par(), RhoCalculationTools::PrintMatrix(), pz, DecayTreeFitter::Projection::r(), row, sqrt(), DecayTreeFitter::ErrCode::success, DecayTreeFitter::Projection::V(), and vtxverbose.
ErrCode DecayTreeFitter::InteractionPoint::projectIPConstraint | ( | const FitParams * | fitpar, |
Projection & | p | ||
) | const |
Definition at line 211 of file InteractionPoint.cxx.
References col, DecayTreeFitter::Projection::H(), DecayTreeFitter::FitParams::par(), RhoCalculationTools::PrintMatrix(), DecayTreeFitter::Projection::r(), row, DecayTreeFitter::ErrCode::success, DecayTreeFitter::Projection::V(), DecayTreeFitter::Projection::Vfast(), and vtxverbose.
|
inherited |
Definition at line 302 of file InternalParticle.cxx.
References cos(), energy, fabs(), DecayTreeFitter::Projection::H(), lambda(), DecayTreeFitter::FitParams::par(), DecayTreeFitter::Projection::r(), sin(), sqrt(), DecayTreeFitter::ErrCode::success, and vtxverbose.
|
inherited |
Definition at line 368 of file InternalParticle.cxx.
References DecayTreeFitter::ErrCode::success, and vtxverbose.
|
virtualinherited |
Definition at line 477 of file ParticleBase.cxx.
References DecayTreeFitter::Projection::H(), DecayTreeFitter::FitParams::par(), pz, DecayTreeFitter::Projection::r(), DecayTreeFitter::ErrCode::success, DecayTreeFitter::Projection::Vfast(), and vtxverbose.
|
inherited |
Definition at line 459 of file InternalParticle.cxx.
References DecayTreeFitter::Projection::H(), DecayTreeFitter::ParticleBase::hasEnergy(), m2(), DecayTreeFitter::ParticleBase::momIndex(), DecayTreeFitter::FitParams::par(), DecayTreeFitter::ParticleBase::pdtMass(), DecayTreeFitter::Projection::r(), sqrt(), DecayTreeFitter::ErrCode::success, DecayTreeFitter::Projection::Vfast(), and vtxverbose.
|
inherited |
Definition at line 100 of file ParticleBase.cxx.
Referenced by DecayTreeFitter::Fitter::remove().
|
virtualinherited |
Definition at line 377 of file ParticleBase.cxx.
|
inlineprotectedinherited |
Definition at line 141 of file ParticleBase.h.
References i, and DecayTreeFitter::ParticleBase::m_index.
|
inlineinherited |
Definition at line 118 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_hasMassConstraint.
Referenced by DecayTreeFitter::DecayChain::setMassConstraint().
|
inlineinherited |
Definition at line 123 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_hasMassConstraint, and DecayTreeFitter::ParticleBase::m_pdtMass.
|
inlineinherited |
Definition at line 108 of file ParticleBase.h.
References m, and DecayTreeFitter::ParticleBase::m_mother.
|
inlineprotectedinherited |
Definition at line 142 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_name, and n.
|
inlineinherited |
Definition at line 113 of file ParticleBase.h.
References DecayTreeFitter::ParticleBase::m_particle.
|
inlinevirtual |
Reimplemented from DecayTreeFitter::InternalParticle.
Definition at line 40 of file InteractionPoint.h.
References DecayTreeFitter::ParticleBase::kInteractionPoint.
|
virtualinherited |
Definition at line 83 of file ParticleBase.cxx.
References offset(), and vtxverbose.
Referenced by DecayTreeFitter::Fitter::add(), and DecayTreeFitter::DecayChain::DecayChain().
|
private |
Definition at line 59 of file InteractionPoint.h.
|
private |
Definition at line 61 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 58 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 60 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 55 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 56 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 57 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 52 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 53 of file InteractionPoint.h.
Referenced by InteractionPoint().
|
private |
Definition at line 54 of file InteractionPoint.h.
Referenced by InteractionPoint().