PandaRoot
DecayTreeFitter::DecayChain Class Reference

#include <DecayChain.h>

Public Member Functions

 DecayChain ()
 
 DecayChain (RhoCandidate *bc, const Configuration &config)
 
 DecayChain (RhoCandidate *bc, const RhoVector3Err &pv, const Configuration &config)
 
 DecayChain (RhoCandidate *bc, const RhoLorentzVectorErr &lv, const Configuration &config)
 
 DecayChain (RhoCandidate *bc, const RhoLorentzVectorErr &lv, const RhoVector3Err &pv, const Configuration &config)
 
virtual ~DecayChain ()
 
int dim () const
 
void initConstraintList ()
 
ErrCode init (FitParams *par)
 
ErrCode filter (FitParams *par, bool firstpass=true)
 
double chiSquare (const FitParams *par) const
 
ParticleBasemother ()
 
const ParticleBasecand ()
 
const ParticleBasemother () const
 
const ParticleBaselocate (RhoCandidate *bc) const
 
int index (RhoCandidate *bc) const
 
int posIndex (RhoCandidate *bc) const
 
int momIndex (RhoCandidate *bc) const
 
int lenIndex (RhoCandidate *bc) const
 
void setOwner (bool b)
 
void printConstraints (std::ostream &os=std::cout) const
 
void setMassConstraint (RhoCandidate *bc, bool add=true)
 
void setMassConstraint (RhoCandidate *bc, double mass)
 
ChiSquare chiSquare (RhoCandidate *bc, const FitParams *fitpars) const
 

Detailed Description

Definition at line 26 of file DecayChain.h.

Constructor & Destructor Documentation

◆ DecayChain() [1/5]

DecayTreeFitter::DecayChain::DecayChain ( )
inline

Definition at line 28 of file DecayChain.h.

References ~DecayChain().

28 : m_mother(nullptr) {}

◆ DecayChain() [2/5]

DecayTreeFitter::DecayChain::DecayChain ( RhoCandidate bc,
const Configuration config 
)

◆ DecayChain() [3/5]

DecayTreeFitter::DecayChain::DecayChain ( RhoCandidate bc,
const RhoVector3Err pv,
const Configuration config 
)

◆ DecayChain() [4/5]

DecayTreeFitter::DecayChain::DecayChain ( RhoCandidate bc,
const RhoLorentzVectorErr lv,
const Configuration config 
)

◆ DecayChain() [5/5]

DecayTreeFitter::DecayChain::DecayChain ( RhoCandidate bc,
const RhoLorentzVectorErr lv,
const RhoVector3Err pv,
const Configuration config 
)

◆ ~DecayChain()

virtual DecayTreeFitter::DecayChain::~DecayChain ( )
virtual

Referenced by DecayChain().

Member Function Documentation

◆ cand()

const ParticleBase* DecayTreeFitter::DecayChain::cand ( )
inline

Definition at line 45 of file DecayChain.h.

45 { return m_cand; }

◆ chiSquare() [1/2]

double DecayTreeFitter::DecayChain::chiSquare ( const FitParams par) const

Referenced by dim(), and setOwner().

◆ chiSquare() [2/2]

ChiSquare DecayTreeFitter::DecayChain::chiSquare ( RhoCandidate bc,
const FitParams fitpars 
) const

◆ dim()

int DecayTreeFitter::DecayChain::dim ( ) const
inline

Definition at line 37 of file DecayChain.h.

References chiSquare(), filter(), init(), and initConstraintList().

37 { return m_dim; }

◆ filter()

ErrCode DecayTreeFitter::DecayChain::filter ( FitParams par,
bool  firstpass = true 
)

Referenced by dim().

◆ index()

int DecayTreeFitter::DecayChain::index ( RhoCandidate bc) const

Referenced by mother().

◆ init()

ErrCode DecayTreeFitter::DecayChain::init ( FitParams par)

Referenced by dim().

◆ initConstraintList()

void DecayTreeFitter::DecayChain::initConstraintList ( )

Referenced by dim().

◆ lenIndex()

int DecayTreeFitter::DecayChain::lenIndex ( RhoCandidate bc) const

Referenced by mother().

◆ locate()

const ParticleBase* DecayTreeFitter::DecayChain::locate ( RhoCandidate bc) const

Referenced by mother().

◆ momIndex()

int DecayTreeFitter::DecayChain::momIndex ( RhoCandidate bc) const

Referenced by mother().

◆ mother() [1/2]

ParticleBase* DecayTreeFitter::DecayChain::mother ( )
inline

Definition at line 44 of file DecayChain.h.

44 { return m_mother; }

◆ mother() [2/2]

const ParticleBase* DecayTreeFitter::DecayChain::mother ( ) const
inline

Definition at line 46 of file DecayChain.h.

References index(), lenIndex(), locate(), momIndex(), and posIndex().

46 { return m_mother; }

◆ posIndex()

int DecayTreeFitter::DecayChain::posIndex ( RhoCandidate bc) const

Referenced by mother().

◆ printConstraints()

void DecayTreeFitter::DecayChain::printConstraints ( std::ostream &  os = std::cout) const

Referenced by setOwner().

◆ setMassConstraint() [1/2]

void DecayTreeFitter::DecayChain::setMassConstraint ( RhoCandidate bc,
bool  add = true 
)

Referenced by setOwner().

◆ setMassConstraint() [2/2]

void DecayTreeFitter::DecayChain::setMassConstraint ( RhoCandidate bc,
double  mass 
)

◆ setOwner()

void DecayTreeFitter::DecayChain::setOwner ( bool  b)
inline

Definition at line 54 of file DecayChain.h.

References chiSquare(), printConstraints(), and setMassConstraint().

54 { m_isOwner = b; }

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