StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StFixedVertexFinder Class Reference

StGenericVertexFinder implementation for fixing vertex. More...

#include <StFixedVertexFinder.h>

Inheritance diagram for StFixedVertexFinder:
StGenericVertexFinder

Public Member Functions

int fit (StEvent *)
 
void printInfo (ostream &=cout) const
 
void SetVertexPosition (double x, double y, double z)
 
void SetVertexError (double ex, double ey, double ez)
 
int IsFixed () const
 
- Public Member Functions inherited from StGenericVertexFinder
StPrimaryVertexgetVertex (int idx) const
 
void addVertex (const StPrimaryVertex &vtx)
 
int size () const
 
void UseVertexConstraint (const vertexSeed_st &beamline)
 
void NoVertexConstraint ()
 
int IsVertexConstraint () const
 
virtual void UsePCT (bool usePCT=true)
 
virtual void UseBTOF (bool useBTOF=true)
 
virtual void UseCTB (bool useCTB=true)
 
virtual void SetMode (Int_t mode=0)
 
virtual int GetMode () const
 
void SetDebugLevel (Int_t level)
 
virtual void Init ()
 
virtual void Finish ()
 
virtual void InitRun (int run_number, const St_db_Maker *db_maker)
 
virtual void Clear ()
 
const std::vector
< StPrimaryVertex > * 
result ()
 
void result (TClonesArray &stMuDstPrimaryVertices)
 
void FillStEvent (StEvent *)
 
virtual int fit (const StMuDst &muDst)
 

Additional Inherited Members

- Public Types inherited from StGenericVertexFinder
using StDcaList = std::vector< const StDcaGeometry * >
 
using VertexFit_t = star_vertex::VertexFit_t
 
using SeedFinder_t = star_vertex::SeedFinder_t
 Options to select vertex seed finder.
 
- Protected Member Functions inherited from StGenericVertexFinder
 StGenericVertexFinder ()
 Default initialization with unspecified seed finder and fitting mode.
 
 StGenericVertexFinder (SeedFinder_t seedFinder, VertexFit_t fitMode)
 
std::vector< double > FindSeeds_TSpectrum ()
 
double beamX (double z) const
 
double beamY (double z) const
 
StThreeVectorD CalcVertexSeed (const StDcaList &trackDcas)
 
virtual double CalcChi2DCAs (const StThreeVectorD &point)
 Caclulates total chi2 for the track DCAs stored in mDCAs and a point.
 
double CalcChi2Beamline (const StThreeVectorD &point)
 Caclulates chi2 for the beamline and a point. More...
 
double CalcChi2DCAsBeamline (const StThreeVectorD &point)
 Caclulates total chi2 for the beamline and track DCAs stored in mDCAs and a point.
 
- Static Protected Member Functions inherited from StGenericVertexFinder
static void fcnCalcChi2DCAs (int &npar, double *gin, double &f, double *par, Int_t iflag)
 
static void fcnCalcChi2DCAsBeamline1D (int &npar, double *gin, double &f, double *par, Int_t iflag)
 A static interface to CalcChi2DCAs(...) with x and y fixed by beamline equation.
 
static void fcnCalcChi2DCAsBeamline (int &npar, double *gin, double &f, double *par, int iflag)
 A static interface to CalcChi2DCAsBeamline(...)
 
- Protected Attributes inherited from StGenericVertexFinder
StPrimaryVertexOrder mVertexOrderMethod
 
bool mVertexConstrain
 
int mMode
 
VertexFit_t mVertexFitMode
 The type of vertex fit to use in derived concrete implementation.
 
SeedFinder_t mSeedFinderType
 The type of vertex seed finder to use in derived concrete implementation.
 
int mDebugLevel
 
bool mUseBtof
 
bool mUseCtb
 
vertexSeed_st mBeamline
 
StDcaList mDCAs
 
TMinuit * mMinuit
 
- Static Protected Attributes inherited from StGenericVertexFinder
static StGenericVertexFindersSelf = nullptr
 By default point to invalid object. More...
 

Detailed Description

StGenericVertexFinder implementation for fixing vertex.

Author
Lee Barnby (University of Birmingham) May 2006.
Id:
StFixedVertexFinder.h,v 1.7 2018/03/24 20:10:41 jwebb Exp

Modified J.Lauret for MC vertex

This vertex finder has two purposes

Within this "finder" (or faker really), the rank is set to -5 and the vertex finder Id is either respectively undefinedVertexFinder and mcEventVertexFFinder. Covariant matrix parameters are all set to zero for the lack of a better choice.

Definition at line 31 of file StFixedVertexFinder.h.


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