CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecPrimaryVertex Class Reference

#include <EvtRecPrimaryVertex.h>

+ Inheritance diagram for EvtRecPrimaryVertex:

Public Member Functions

virtual const CLID & clID () const
 
 EvtRecPrimaryVertex ()
 
 ~EvtRecPrimaryVertex ()
 
 EvtRecPrimaryVertex (const EvtRecPrimaryVertex &)
 
EvtRecPrimaryVertexoperator= (const EvtRecPrimaryVertex &)
 
bool isValid () const
 
int nTracks () const
 
const std::vector< int > & trackIdList () const
 
double chi2 () const
 
int ndof () const
 
int fitMethod () const
 
const HepVector & vertex () const
 
const HepSymMatrix & errorVertex () const
 
void setIsValid (bool isValid)
 
void setNTracks (int nTracks)
 
void setTrackIdList (const std::vector< int > &trackIdList)
 
void setChi2 (double chi2)
 
void setNdof (int ndof)
 
void setFitMethod (int fitMethod)
 
void setVertex (const HepVector &vtx)
 
void setErrorVertex (const HepSymMatrix &Evtx)
 
virtual const CLID & clID () const
 
 EvtRecPrimaryVertex ()
 
 ~EvtRecPrimaryVertex ()
 
 EvtRecPrimaryVertex (const EvtRecPrimaryVertex &)
 
EvtRecPrimaryVertexoperator= (const EvtRecPrimaryVertex &)
 
bool isValid () const
 
int nTracks () const
 
const std::vector< int > & trackIdList () const
 
double chi2 () const
 
int ndof () const
 
int fitMethod () const
 
const HepVector & vertex () const
 
const HepSymMatrix & errorVertex () const
 
void setIsValid (bool isValid)
 
void setNTracks (int nTracks)
 
void setTrackIdList (const std::vector< int > &trackIdList)
 
void setChi2 (double chi2)
 
void setNdof (int ndof)
 
void setFitMethod (int fitMethod)
 
void setVertex (const HepVector &vtx)
 
void setErrorVertex (const HepSymMatrix &Evtx)
 

Static Public Member Functions

static const CLID & classID ()
 
static const CLID & classID ()
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtRecPrimaryVertex() [1/4]

EvtRecPrimaryVertex::EvtRecPrimaryVertex ( )

Definition at line 3 of file EvtRecPrimaryVertex.cxx.

3 :
4 m_vtx(3, 0), m_Evtx(3, 0) {
5 m_isValid = false;
6 m_nTracks = -1;
7 m_chi2 = -1;
8 m_ndof = -3;
9 m_fitMethod = -1;
10}

◆ ~EvtRecPrimaryVertex() [1/2]

EvtRecPrimaryVertex::~EvtRecPrimaryVertex ( )
inline

◆ EvtRecPrimaryVertex() [2/4]

EvtRecPrimaryVertex::EvtRecPrimaryVertex ( const EvtRecPrimaryVertex vtx)

Definition at line 13 of file EvtRecPrimaryVertex.cxx.

13 :
14 DataObject(vtx),
15 m_trackIdList(vtx.m_trackIdList),
16 m_vtx(vtx.m_vtx),
17 m_Evtx(vtx.m_Evtx) {
18 m_isValid = vtx.m_isValid;
19 m_nTracks = vtx.m_nTracks;
20 m_chi2 = vtx.m_chi2;
21 m_ndof = vtx.m_ndof;
22 m_fitMethod = vtx.m_fitMethod;
23}

◆ EvtRecPrimaryVertex() [3/4]

EvtRecPrimaryVertex::EvtRecPrimaryVertex ( )

◆ ~EvtRecPrimaryVertex() [2/2]

EvtRecPrimaryVertex::~EvtRecPrimaryVertex ( )
inline

◆ EvtRecPrimaryVertex() [4/4]

EvtRecPrimaryVertex::EvtRecPrimaryVertex ( const EvtRecPrimaryVertex )

Member Function Documentation

◆ chi2() [1/2]

double EvtRecPrimaryVertex::chi2 ( ) const
inline

◆ chi2() [2/2]

double EvtRecPrimaryVertex::chi2 ( ) const
inline

Definition at line 36 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

36{return m_chi2;}

◆ classID() [1/2]

static const CLID & EvtRecPrimaryVertex::classID ( )
inlinestatic

Definition at line 25 of file Event/EvtRecEvent/EvtRecEvent-00-02-03/EvtRecEvent/EvtRecPrimaryVertex.h.

const CLID & CLID_EvtRecPrimaryVertex
Definition: EventModel.cxx:446

Referenced by clID().

◆ classID() [2/2]

static const CLID & EvtRecPrimaryVertex::classID ( )
inlinestatic

◆ clID() [1/2]

virtual const CLID & EvtRecPrimaryVertex::clID ( ) const
inlinevirtual

◆ clID() [2/2]

virtual const CLID & EvtRecPrimaryVertex::clID ( ) const
inlinevirtual

◆ errorVertex() [1/2]

const HepSymMatrix & EvtRecPrimaryVertex::errorVertex ( ) const
inline

◆ errorVertex() [2/2]

const HepSymMatrix & EvtRecPrimaryVertex::errorVertex ( ) const
inline

Definition at line 40 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

40{return m_Evtx;}

◆ fitMethod() [1/2]

int EvtRecPrimaryVertex::fitMethod ( ) const
inline

◆ fitMethod() [2/2]

int EvtRecPrimaryVertex::fitMethod ( ) const
inline

Definition at line 38 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

38{return m_fitMethod;}

◆ isValid() [1/2]

bool EvtRecPrimaryVertex::isValid ( ) const
inline

◆ isValid() [2/2]

bool EvtRecPrimaryVertex::isValid ( ) const
inline

Definition at line 33 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

33{return m_isValid;}

◆ ndof() [1/2]

int EvtRecPrimaryVertex::ndof ( ) const
inline

◆ ndof() [2/2]

int EvtRecPrimaryVertex::ndof ( ) const
inline

Definition at line 37 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

37{return m_ndof;}

◆ nTracks() [1/2]

int EvtRecPrimaryVertex::nTracks ( ) const
inline

◆ nTracks() [2/2]

int EvtRecPrimaryVertex::nTracks ( ) const
inline

Definition at line 34 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

34{return m_nTracks;}

◆ operator=() [1/2]

EvtRecPrimaryVertex & EvtRecPrimaryVertex::operator= ( const EvtRecPrimaryVertex vtx)

Definition at line 26 of file EvtRecPrimaryVertex.cxx.

26 {
27 m_isValid = vtx.m_isValid;
28 m_nTracks = vtx.m_nTracks;
29 m_trackIdList = vtx.m_trackIdList; // FIXME
30 m_chi2 = vtx.m_chi2;
31 m_ndof = vtx.m_ndof;
32 m_fitMethod = vtx.m_fitMethod;
33 m_vtx = vtx.m_vtx;
34 m_Evtx = vtx.m_Evtx;
35 return *this;
36}

◆ operator=() [2/2]

EvtRecPrimaryVertex & EvtRecPrimaryVertex::operator= ( const EvtRecPrimaryVertex )

◆ setChi2() [1/2]

◆ setChi2() [2/2]

void EvtRecPrimaryVertex::setChi2 ( double  chi2)
inline

◆ setErrorVertex() [1/2]

void EvtRecPrimaryVertex::setErrorVertex ( const HepSymMatrix &  Evtx)
inline

◆ setErrorVertex() [2/2]

void EvtRecPrimaryVertex::setErrorVertex ( const HepSymMatrix &  Evtx)
inline

Definition at line 49 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

49{m_Evtx = Evtx;}

◆ setFitMethod() [1/2]

void EvtRecPrimaryVertex::setFitMethod ( int  fitMethod)
inline

◆ setFitMethod() [2/2]

void EvtRecPrimaryVertex::setFitMethod ( int  fitMethod)
inline

Definition at line 47 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

47{m_fitMethod = fitMethod;}

◆ setIsValid() [1/2]

◆ setIsValid() [2/2]

void EvtRecPrimaryVertex::setIsValid ( bool  isValid)
inline

◆ setNdof() [1/2]

◆ setNdof() [2/2]

void EvtRecPrimaryVertex::setNdof ( int  ndof)
inline

◆ setNTracks() [1/2]

◆ setNTracks() [2/2]

void EvtRecPrimaryVertex::setNTracks ( int  nTracks)
inline

◆ setTrackIdList() [1/2]

void EvtRecPrimaryVertex::setTrackIdList ( const std::vector< int > &  trackIdList)
inline

◆ setTrackIdList() [2/2]

void EvtRecPrimaryVertex::setTrackIdList ( const std::vector< int > &  trackIdList)
inline

Definition at line 44 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

44{m_trackIdList = trackIdList;}

◆ setVertex() [1/2]

void EvtRecPrimaryVertex::setVertex ( const HepVector &  vtx)
inline

◆ setVertex() [2/2]

void EvtRecPrimaryVertex::setVertex ( const HepVector &  vtx)
inline

Definition at line 48 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

48{m_vtx = vtx;}

◆ trackIdList() [1/2]

const std::vector< int > & EvtRecPrimaryVertex::trackIdList ( ) const
inline

◆ trackIdList() [2/2]

const std::vector< int > & EvtRecPrimaryVertex::trackIdList ( ) const
inline

Definition at line 35 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

35{return m_trackIdList;}

◆ vertex() [1/2]

const HepVector & EvtRecPrimaryVertex::vertex ( ) const
inline

◆ vertex() [2/2]

const HepVector & EvtRecPrimaryVertex::vertex ( ) const
inline

Definition at line 39 of file InstallArea/include/EvtRecEvent/EvtRecEvent/EvtRecPrimaryVertex.h.

39{return m_vtx;}

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