BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
PrimaryVertex.cxx File Reference
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Geometry/Point3D.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "GaudiKernel/IDataManagerSvc.h"
#include "EventModel/EventModel.h"
#include "EventModel/Event.h"
#include "EventModel/EventHeader.h"
#include "EvtRecEvent/EvtRecEvent.h"
#include "EvtRecEvent/EvtRecTrack.h"
#include "EvtRecEvent/EvtRecPrimaryVertex.h"
#include "VertexFit/KinematicFit.h"
#include "VertexFit/VertexFit.h"
#include "VertexFit/HTrackParameter.h"
#include "VertexFit/KalmanVertexFit.h"
#include "VertexFit/BField.h"
#include "VertexFit/FastVertexFit.h"
#include "ParticleID/ParticleID.h"
#include "PrimaryVertexAlg/PrimaryVertex.h"
#include <assert.h>
#include "TMath.h"
#include "TH2D.h"
#include "TH1D.h"
#include "TF1.h"
#include <map>
#include <iostream>
#include <fstream>

Go to the source code of this file.

Typedefs

typedef HepGeom::Point3D< double > HepPoint3D
 
typedef std::vector< int > Vint
 
typedef std::vector< HepLorentzVector > Vp4
 

Functions

void InitVertexParameter (VertexParameter &vxpar)
 

Variables

const double xmass [5] = {0.000511, 0.105658, 0.139570, 0.493677, 0.938272}
 
const double ecms = 3.097
 
const double mpi0 = 0.134976
 
const double momega = 0.78265
 

Typedef Documentation

◆ HepPoint3D

typedef HepGeom::Point3D<double> HepPoint3D

Definition at line 4 of file PrimaryVertex.cxx.

◆ Vint

typedef std::vector<int> Vint

Definition at line 41 of file PrimaryVertex.cxx.

◆ Vp4

typedef std::vector<HepLorentzVector> Vp4

Definition at line 42 of file PrimaryVertex.cxx.

Function Documentation

◆ InitVertexParameter()

void InitVertexParameter ( VertexParameter & vxpar)

Definition at line 210 of file PrimaryVertex.cxx.

210 {
211 HepPoint3D vx(0., 0., 0.);
212 HepSymMatrix Evx(3, 0);
213 double bx = 1E+6;
214 double by = 1E+6;
215 double bz = 1E+6;
216 Evx[0][0] = bx*bx;
217 Evx[1][1] = by*by;
218 Evx[2][2] = bz*bz;
219 vxpar.setVx(vx);
220 vxpar.setEvx(Evx);
221}
void setEvx(const HepSymMatrix &eVx)
void setVx(const HepPoint3D &vx)

Referenced by PrimaryVertex::execute().

Variable Documentation

◆ ecms

const double ecms = 3.097

Definition at line 37 of file PrimaryVertex.cxx.

◆ momega

const double momega = 0.78265

Definition at line 39 of file PrimaryVertex.cxx.

◆ mpi0

const double mpi0 = 0.134976

Definition at line 38 of file PrimaryVertex.cxx.

◆ xmass

const double xmass[5] = {0.000511, 0.105658, 0.139570, 0.493677, 0.938272}

Definition at line 36 of file PrimaryVertex.cxx.

36{0.000511, 0.105658, 0.139570, 0.493677, 0.938272}; //GeV