BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TEvtRecPrimaryVertex Class Reference

#include <TEvtRecPrimaryVertex.h>

+ Inheritance diagram for TEvtRecPrimaryVertex:

Public Member Functions

 TEvtRecPrimaryVertex ()
 
 ~TEvtRecPrimaryVertex ()
 
Bool_t isValid () const
 
Int_t nTracks () const
 
const std::vector< Int_t > & trackIdList () const
 
Double_t chi2 () const
 
Int_t ndof () const
 
Int_t fitMethod () const
 
Double_t vertex (Int_t i) const
 
Double_t errorVertex (Int_t i) const
 
void setIsValid (Bool_t isValid)
 
void setNTracks (Int_t nTracks)
 
void setTrackIdList (const std::vector< Int_t > &trackIdList)
 
void setChi2 (Double_t chi2)
 
void setNdof (Int_t ndof)
 
void setFitMethod (Int_t fitMethod)
 
void setVertex (Double_t vtx[3])
 
void setErrorVertex (Double_t Evtx[6])
 

Detailed Description

Definition at line 7 of file TEvtRecPrimaryVertex.h.

Constructor & Destructor Documentation

◆ TEvtRecPrimaryVertex()

TEvtRecPrimaryVertex::TEvtRecPrimaryVertex ( )

◆ ~TEvtRecPrimaryVertex()

TEvtRecPrimaryVertex::~TEvtRecPrimaryVertex ( )

Definition at line 21 of file TEvtRecPrimaryVertex.cxx.

21 {
22}

Member Function Documentation

◆ chi2()

Double_t TEvtRecPrimaryVertex::chi2 ( ) const
inline

◆ errorVertex()

Double_t TEvtRecPrimaryVertex::errorVertex ( Int_t i) const
inline

Definition at line 19 of file TEvtRecPrimaryVertex.h.

19{return m_Evtx[i];}

Referenced by TEvtRecObject::setEvtRecPrimaryVertex(), and EvtRecPrimaryVertexCnv::TObjectToDataObject().

◆ fitMethod()

Int_t TEvtRecPrimaryVertex::fitMethod ( ) const
inline

◆ isValid()

Bool_t TEvtRecPrimaryVertex::isValid ( ) const
inline

◆ ndof()

Int_t TEvtRecPrimaryVertex::ndof ( ) const
inline

◆ nTracks()

Int_t TEvtRecPrimaryVertex::nTracks ( ) const
inline

◆ setChi2()

void TEvtRecPrimaryVertex::setChi2 ( Double_t chi2)
inline

◆ setErrorVertex()

void TEvtRecPrimaryVertex::setErrorVertex ( Double_t Evtx[6])
inline

Definition at line 30 of file TEvtRecPrimaryVertex.h.

30 {
31 for (Int_t i = 0; i < 6; i++) m_Evtx[i] = Evtx[i];
32 }

Referenced by EvtRecPrimaryVertexCnv::DataObjectToTObject(), and TEvtRecObject::setEvtRecPrimaryVertex().

◆ setFitMethod()

void TEvtRecPrimaryVertex::setFitMethod ( Int_t fitMethod)
inline

◆ setIsValid()

void TEvtRecPrimaryVertex::setIsValid ( Bool_t isValid)
inline

◆ setNdof()

void TEvtRecPrimaryVertex::setNdof ( Int_t ndof)
inline

◆ setNTracks()

void TEvtRecPrimaryVertex::setNTracks ( Int_t nTracks)
inline

◆ setTrackIdList()

void TEvtRecPrimaryVertex::setTrackIdList ( const std::vector< Int_t > & trackIdList)
inline

Definition at line 23 of file TEvtRecPrimaryVertex.h.

23{m_trackIdList = trackIdList;}
const std::vector< Int_t > & trackIdList() const

Referenced by EvtRecPrimaryVertexCnv::DataObjectToTObject(), and TEvtRecObject::setEvtRecPrimaryVertex().

◆ setVertex()

void TEvtRecPrimaryVertex::setVertex ( Double_t vtx[3])
inline

Definition at line 27 of file TEvtRecPrimaryVertex.h.

27 {
28 for (Int_t i = 0; i < 3; i++) m_vtx[i] = vtx[i];
29 }

Referenced by EvtRecPrimaryVertexCnv::DataObjectToTObject(), and TEvtRecObject::setEvtRecPrimaryVertex().

◆ trackIdList()

const std::vector< Int_t > & TEvtRecPrimaryVertex::trackIdList ( ) const
inline

◆ vertex()

Double_t TEvtRecPrimaryVertex::vertex ( Int_t i) const
inline

Definition at line 18 of file TEvtRecPrimaryVertex.h.

18{return m_vtx[i];}

Referenced by TEvtRecObject::setEvtRecPrimaryVertex(), and EvtRecPrimaryVertexCnv::TObjectToDataObject().


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