5#ifndef TRIGINDETEVENT_TRIGL2VERTEX_H
6#define TRIGINDETEVENT_TRIGL2VERTEX_H
12#include "GaudiKernel/MsgStream.h"
14#define MAX_SIZE_VERT_COVM 30
44 virtual MsgStream&
report( MsgStream& )
const = 0;
73 virtual MsgStream&
report( MsgStream& )
const;
113 virtual MsgStream&
report( MsgStream& )
const;
176 std::list<TrigVertexFitInputTrack*>*
getTracks();
181 MsgStream&
report( MsgStream& )
const;
MsgStream & operator<<(MsgStream &msg, const TrigVertexFittingNode &node)
#define MAX_SIZE_VERT_COVM
encapsulates LVL2 track parameters and covariance matrix The vector of track parameters consists of
represents a LVL2 ID track
bool isVertexFitted()
vertex status
MsgStream & report(MsgStream &) const
void addNdof(int)
increments accumulated number-of-degree-of-freedom of the fit
void setMotherTrack(TrigInDetTrackFitPar *)
sets mother particle parameters after kinematical fitting
TrigL2Vertex(const TrigL2Vertex &)=delete
void setMassVariance(double)
sets variance of the calculated mass of the vertex
std::list< TrigVertexFitConstraint * > * m_pvConstraints
std::list< TrigVertexFitInputTrack * > * getTracks()
lists of tracks in the vertex
void setMass(double)
sets calculated mass of the vertex
bool isReadyForFit()
vertex status
const TrigInDetTrackFitPar * getMotherTrack()
returns mother particle parameters if m_isMassEstimated() is true
void addChi2(double)
increments accumulated of the fit
double mass()
returns calculated mass of the vertex
bool isMassEstimated()
vertex status
void setStatus(int)
sets vertex status flag
const TrigVertexFitInputTrack * contains(const TrigInDetTrack *)
checks whether L2 track is in the vertex
double chi2()
returns accumulated of the fit
double m_Rk[MAX_SIZE_VERT_COVM]
bool prepareForFit()
resets all internal structures + initialization of the covariance
std::list< TrigVertexFitConstraint * > * getConstraints()
lists of all constraints imposed on the vertex
double * getParametersVector()
returns vector of vertex fit parameters: vertex position + refitted track momenta at-perigee (sic !...
void reset()
resets all internal structures
int ndof()
returns accumulated number-of-degree-of-freedom of the fit
TrigInDetTrackFitPar * m_P
double massVariance()
returns variance of the calculated mass of the vertex
std::list< TrigVertexFitInputTrack * > * m_pvTracks
TrigL2Vertex & operator=(const TrigL2Vertex &)=delete
int getStatus()
returns vertex status flag
double m_Gk[MAX_SIZE_VERT_COVM][MAX_SIZE_VERT_COVM]
virtual void updateVertex(class TrigL2Vertex *)
implementation of abstract method from the base class
TrigVertexFitConstraint(double, const TrigVertexFitInputTrack *, const TrigVertexFitInputTrack *)
two-track mass constraint
~TrigVertexFitConstraint()
virtual double getChi2Distance(class TrigL2Vertex *)
implementation of abstract method from the base class
virtual MsgStream & report(MsgStream &) const
double calculateInvariantMass(TrigL2Vertex *pV)
std::list< const TrigVertexFitInputTrack * > m_trackList
double getValue()
returns a mass of the constraint
This is the implementation of classes used by TrigL2VertexFitter:
virtual double getChi2Distance(class TrigL2Vertex *)=0
abstract method
virtual MsgStream & report(MsgStream &) const =0
virtual ~TrigVertexFittingNode()
double m_D[2][MAX_SIZE_VERT_COVM]
virtual void updateVertex(class TrigL2Vertex *)=0
abstract method