PandaRoot
DecayTreeFitter::InteractionPoint Class Reference

#include <InteractionPoint.h>

Inheritance diagram for DecayTreeFitter::InteractionPoint:
DecayTreeFitter::InternalParticle DecayTreeFitter::ParticleBase

Public Member Functions

 InteractionPoint (RhoCandidate *daughter, const Configuration &config)
 
 InteractionPoint (const RhoVector3Err &ipvertex, RhoCandidate *daughter, const Configuration &config)
 
 InteractionPoint (const RhoLorentzVectorErr &ipmom, RhoCandidate *daughter, const Configuration &config)
 
 InteractionPoint (const RhoLorentzVectorErr &ipmom, const RhoVector3Err &ipvertex, RhoCandidate *daughter, const Configuration &config)
 
virtual int dim () const
 
virtual ErrCode initPar1 (FitParams *)
 
virtual ErrCode initCov (FitParams *) const
 
virtual int type () const
 
virtual double chiSquare (const FitParams *par) const
 
ErrCode projectIPConstraint (const FitParams *fitpar, Projection &) const
 
ErrCode projectBeamConstraint (const FitParams *fitpar, Projection &) const
 
virtual ErrCode projectConstraint (Constraint::Type, const FitParams *, Projection &) const
 
virtual void addToConstraintList (constraintlist &alist, int depth) const
 
- Public Member Functions inherited from DecayTreeFitter::InternalParticle
 InternalParticle (RhoCandidate *bc, const ParticleBase *mother, const Configuration &config)
 
virtual ErrCode initPar2 (FitParams *)
 
virtual int posIndex () const
 
virtual int lenIndex () const
 
virtual int momIndex () const
 
virtual bool hasEnergy () const
 
virtual bool hasPosition () const
 
virtual std::string parname (int index) const
 
ErrCode projectKineConstraint (const FitParams *, Projection &) const
 
ErrCode projectLifeTimeConstraint (const FitParams *, Projection &) const
 
ErrCode projectConversionConstraint (const FitParams *, Projection &p) const
 
ErrCode projectMassConstraintTwoBody (const FitParams *fitparams, Projection &p) const
 
- Public Member Functions inherited from DecayTreeFitter::ParticleBase
 ParticleBase (RhoCandidate *bc, const ParticleBase *mother)
 
 ParticleBase (const std::string &name)
 
virtual ~ParticleBase ()
 
virtual void updateIndex (int &offset)
 
virtual void print (const FitParams *) const
 
const ParticleBaselocate (RhoCandidate *bc) const
 
RhoCandidateparticle () const
 
virtual int index () const
 
const ParticleBasemother () const
 
const std::string & name () const
 
virtual ErrCode projectGeoConstraint (const FitParams *, Projection &) const
 
virtual ErrCode projectMassConstraint (const FitParams *, Projection &) const
 
int eneIndex () const
 
virtual double chiSquareD (const FitParams *) const
 
double pdtMass () const
 
double pdtWidth () const
 
double pdtCLifeTime () const
 
double pdtTau () const
 
int charge () const
 
const daucontainerdaughters () const
 
const_iterator begin () const
 
const_iterator end () const
 
ParticleBaseaddDaughter (RhoCandidate *, const Configuration &config)
 
void removeDaughter (const ParticleBase *pb)
 
virtual void retrieveIndexMap (indexmap &anindexmap) const
 
void setMother (const ParticleBase *m)
 
virtual int nFinalChargedCandidates () const
 
void setParticle (RhoCandidate *bc)
 
void collectVertexDaughters (daucontainer &particles, int posindex)
 
bool setMassConstraint (bool add)
 
void setMassConstraint (double mass)
 
ChiSquare chiSquare (const FitParams *fitparams) const
 

Additional Inherited Members

- Public Types inherited from DecayTreeFitter::ParticleBase
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::Constraintconstraintlist
 
- Static Public Member Functions inherited from DecayTreeFitter::ParticleBase
static ParticleBasecreateParticle (RhoCandidate *bc, const ParticleBase *mother, const Configuration &config)
 
- Protected Member Functions inherited from DecayTreeFitter::InternalParticle
ErrCode initMom (FitParams *fitparams) const
 
- Protected Member Functions inherited from DecayTreeFitter::ParticleBase
ErrCode initTau (FitParams *par) const
 
void makeName (RhoCandidate *bc)
 
daucontainerdaughters ()
 
bool hasMassConstraint () const
 
void setIndex (int i)
 
void setName (const std::string &n)
 
- Static Protected Member Functions inherited from DecayTreeFitter::ParticleBase
static double pdtCLifeTime (RhoCandidate *bc)
 
static bool isAResonance (const TParticlePDG *bc)
 
static double bFieldOverC ()
 

Detailed Description

Definition at line 25 of file InteractionPoint.h.

Constructor & Destructor Documentation

◆ InteractionPoint() [1/4]

DecayTreeFitter::InteractionPoint::InteractionPoint ( RhoCandidate daughter,
const Configuration config 
)

◆ InteractionPoint() [2/4]

DecayTreeFitter::InteractionPoint::InteractionPoint ( const RhoVector3Err ipvertex,
RhoCandidate daughter,
const Configuration config 
)

◆ InteractionPoint() [3/4]

DecayTreeFitter::InteractionPoint::InteractionPoint ( const RhoLorentzVectorErr ipmom,
RhoCandidate daughter,
const Configuration config 
)

◆ InteractionPoint() [4/4]

DecayTreeFitter::InteractionPoint::InteractionPoint ( const RhoLorentzVectorErr ipmom,
const RhoVector3Err ipvertex,
RhoCandidate daughter,
const Configuration config 
)

Member Function Documentation

◆ addToConstraintList()

virtual void DecayTreeFitter::InteractionPoint::addToConstraintList ( constraintlist alist,
int  depth 
) const
virtual

Reimplemented from DecayTreeFitter::InternalParticle.

◆ chiSquare()

virtual double DecayTreeFitter::InteractionPoint::chiSquare ( const FitParams par) const
virtual

◆ dim()

virtual int DecayTreeFitter::InteractionPoint::dim ( ) const
inlinevirtual

Reimplemented from DecayTreeFitter::InternalParticle.

Definition at line 32 of file InteractionPoint.h.

32 { return 7; } // (fix to the "first" internal particle )

◆ initCov()

virtual ErrCode DecayTreeFitter::InteractionPoint::initCov ( FitParams ) const
virtual

Reimplemented from DecayTreeFitter::ParticleBase.

◆ initPar1()

virtual ErrCode DecayTreeFitter::InteractionPoint::initPar1 ( FitParams )
virtual

Reimplemented from DecayTreeFitter::InternalParticle.

◆ projectBeamConstraint()

ErrCode DecayTreeFitter::InteractionPoint::projectBeamConstraint ( const FitParams fitpar,
Projection  
) const

◆ projectConstraint()

virtual ErrCode DecayTreeFitter::InteractionPoint::projectConstraint ( Constraint::Type  ,
const FitParams ,
Projection  
) const
virtual

Reimplemented from DecayTreeFitter::InternalParticle.

◆ projectIPConstraint()

ErrCode DecayTreeFitter::InteractionPoint::projectIPConstraint ( const FitParams fitpar,
Projection  
) const

◆ type()

virtual int DecayTreeFitter::InteractionPoint::type ( ) const
inlinevirtual

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