5#ifndef TRIGINDETEVENT_TRIGVERTEX_H
6#define TRIGINDETEVENT_TRIGVERTEX_H
10#include "CLHEP/Geometry/Point3D.h"
16#include "GaudiKernel/MsgStream.h"
45 for(
int i=0;i<6;i++)
m_cov[i]=0.0;
56 for(
int i=0;i<6;i++)
m_cov[i]=0.0;
67 for(
int i=0;i<6;i++)
m_cov[i]=0.0;
78 for(
int i=0;i<5;i++)
m_cov[i]=0.0;
90 for(
int i=0;i<6;i++)
m_cov[i]=cv[i];
109 for(
int i=0;i<6;i++)
m_cov[i]=cv[i];
116 for (TrackInVertexList::iterator i =
m_tracks->begin();
135 double x()
const {
return m_x; }
136 double y()
const {
return m_y; }
137 double z()
const {
return m_z; }
180 std::unique_ptr<const TrigInDetTrackFitPar>
m_P;
#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
TrigVertex(double x, double y, double z, double cv[6], double chi2, int ndf, std::unique_ptr< TrackInVertexList > tracks)
std::unique_ptr< const TrigInDetTrackFitPar > m_P
TrackInVertexList * tracks()
std::list of track pointers associated with the vertex
double energyFraction() const
energy ratio E(secondary vertex)/E(jet)
const TrackInVertexList * tracks() const
std::list of track pointers associated with the vertex
@ HISTOPRMVTXSITRACKIDTAU
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
void setMotherTrack(std::unique_ptr< const TrigInDetTrackFitPar > P)
double x() const
x-position
std::unique_ptr< TrackInVertexList > m_tracks
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
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
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)
TrigVertex(double x, double y, double z, double cv[6], double chi2, int ndf, std::unique_ptr< TrackInVertexList > tracks, double mass, double energyFraction, int n2trkvtx, double decayLength, double decayLengthSignificance, AlgoId algo_id)