5#ifndef TRIGINDETEVENT_TRIGVERTEX_H
6#define TRIGINDETEVENT_TRIGVERTEX_H
10#include "CLHEP/Geometry/Point3D.h"
15#include "GaudiKernel/MsgStream.h"
44 for(
int i=0;i<6;i++)
m_cov[i]=0.0;
55 for(
int i=0;i<6;i++)
m_cov[i]=0.0;
66 for(
int i=0;i<6;i++)
m_cov[i]=0.0;
77 for(
int i=0;i<5;i++)
m_cov[i]=0.0;
89 for(
int i=0;i<6;i++)
m_cov[i]=cv[i];
108 for(
int i=0;i<6;i++)
m_cov[i]=cv[i];
116 for (TrackInVertexList::iterator i =
m_tracks->begin();
137 double x()
const {
return m_x; }
138 double y()
const {
return m_y; }
139 double z()
const {
return m_z; }
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool operator==(const TrigVertex &a, const TrigVertex &b)
void diff(const TrigVertex &a, const TrigVertex &b, std::map< std::string, double > &variableChange)
comparison with feedback Function compares two objects and returns "semi verbose" output in the form ...
std::list< const TrigInDetTrack * > TrackInVertexList
MsgStream & operator<<(MsgStream &m, const TrigVertex &v)
bool operator!=(const TrigVertex &a, const TrigVertex &b)
encapsulates LVL2 track parameters and covariance matrix The vector of track parameters consists of
encapsulates LVL2 vertex parameters (in the global reference frame), covariance matrix,...
double mass() const
vertex mass estimated after the vertex fit
void setDecayLength(double v)
TrigVertex(double zPosition, AlgoId id)
double m_energyFraction
energy ratio E(secondary vertex)/E(jet)
double chi2() const
of the vertex fit
void setDecayLengthSignificance(double v)
double massVariance() const
variance of the vertex mass estimate
double decayLength() const
decay length to the primary vertex used to find this secondary vertex
const HepGeom::Point3D< double > & position() const
position in HepGeom::Point3D<double> form
double decayLengthSignificance() const
decay length divided by its error
TrackInVertexList * tracks()
std::list of track pointers associated with the vertex
double energyFraction() const
energy ratio E(secondary vertex)/E(jet)
TrigVertex(double x, double y, double z, double cv[6], double chi2, int ndf, TrackInVertexList *tracks, double mass, double energyFraction, int n2trkvtx, double decayLength, double decayLengthSignificance, AlgoId algo_id)
const TrackInVertexList * tracks() const
std::list of track pointers associated with the vertex
@ HISTOPRMVTXSITRACKIDTAU
const TrigInDetTrackFitPar * m_P
TrigVertex(double zPosition, double cv, AlgoId id)
int m_nTwoTracksSecVtx
number of 2-track vertices
const TrigInDetTrackFitPar * getMotherTrack() const
parameters of a mother particle reconstructed after the vertex fit
double m_decayLengthSignificance
double x() const
x-position
void setMotherTrack(const TrigInDetTrackFitPar *P)
int ndof() const
Number of degree-of-freedom of the vertex fit.
double z() const
z-position
int nTwoTracksSecVtx() const
number of 2-track vertices
TrigVertex(double x, double y, double z, double cv[6], double chi2, int ndf, TrackInVertexList *tracks)
void setEnergyFraction(double e)
friend class TrigVertexCnv_p2
const double * cov() const
covariance of the vertex position, packed as follows
friend class TrigVertexCnv_p1
double y() const
y-position
TrackInVertexList * m_tracks
void algorithmId(const AlgoId id)
sets author ID - algorithm that's created this vertex
AlgoId algorithmId() const
returns author ID - algorithm that's created this vertex
TrigVertex(double zPosition)
void setNTwoTrackSecVtx(int n)
HepGeom::Point3D< double > m_position
void setMassVariance(double m)