BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMdcTrack Class Reference

#include <RecMdcTrack.h>

+ Inheritance diagram for RecMdcTrack:

Public Member Functions

virtual const CLID & clID () const
 
 RecMdcTrack ()
 
 RecMdcTrack (const RecMdcTrack &)
 
 RecMdcTrack (const DstMdcTrack &)
 
RecMdcTrackoperator= (const RecMdcTrack &)
 
RecMdcTrackoperator= (const DstMdcTrack &)
 
 ~RecMdcTrack ()
 
const double getVX0 () const
 
const double getVY0 () const
 
const double getVZ0 () const
 
const int getNhits () const
 
const double getFiTerm () const
 
const HepPoint3DgetPivot () const
 
const HitRefVec getVecHits (void) const
 
void setVX0 (double x0)
 
void setVY0 (double y0)
 
void setVZ0 (double z0)
 
void setFiTerm (double fiterm)
 
void setNhits (int nhits)
 
void setPivot (const HepPoint3D &pivot)
 
void setVecHits (HitRefVec vechits)
 
virtual const CLID & clID () const
 
 RecMdcTrack ()
 
 RecMdcTrack (const RecMdcTrack &)
 
 RecMdcTrack (const DstMdcTrack &)
 
RecMdcTrackoperator= (const RecMdcTrack &)
 
RecMdcTrackoperator= (const DstMdcTrack &)
 
 ~RecMdcTrack ()
 
const double getVX0 () const
 
const double getVY0 () const
 
const double getVZ0 () const
 
const int getNhits () const
 
const double getFiTerm () const
 
const HepPoint3DgetPivot () const
 
const HitRefVec getVecHits (void) const
 
void setVX0 (double x0)
 
void setVY0 (double y0)
 
void setVZ0 (double z0)
 
void setFiTerm (double fiterm)
 
void setNhits (int nhits)
 
void setPivot (const HepPoint3D &pivot)
 
void setVecHits (HitRefVec vechits)
 
- Public Member Functions inherited from DstMdcTrack
 DstMdcTrack ()
 
 DstMdcTrack (const DstMdcTrack &)
 
DstMdcTrackoperator= (const DstMdcTrack &)
 
virtual ~DstMdcTrack ()
 
virtual const CLID & clID () const
 
const HepVector helix () const
 ......
 
const HepSymMatrix err () const
 
const HepLorentzVector p4 (const double mass) const
 
const HepPoint3D poca () const
 
const Hep3Vector p3 () const
 
const HepPoint3D x3 () const
 
const double helix (const int i) const
 
const double err (const int i) const
 
const int trackId () const
 
const int charge () const
 
const double pxy () const
 
const double px () const
 
const double py () const
 
const double pz () const
 
const double p () const
 
const double theta () const
 
const double phi () const
 
const double x () const
 
const double y () const
 
const double z () const
 
const double r () const
 
const int stat () const
 
const double chi2 () const
 
const int ndof () const
 
const int nster () const
 
const int firstLayer () const
 
const int lastLayer () const
 
const int nlayer () const
 
void setHelix (double helix[5])
 
void setPoca (double poca[3])
 
void setError (double err[15])
 
void setHelix (const HepVector &a)
 
void setPoca (const HepPoint3D &poca)
 
void setError (const HepSymMatrix &Ea)
 
void setTrackId (const int trackId)
 
void setCharge (const int charge)
 
void setPxy (const double pxy)
 
void setPx (const double px)
 
void setPy (const double py)
 
void setPz (const double pz)
 
void setP (const double p)
 
void setTheta (const double theta)
 
void setPhi (const double phi)
 
void setX (const double x)
 
void setY (const double y)
 
void setZ (const double z)
 
void setR (const double r)
 
void setStat (const int stat)
 
void setChi2 (const double chi)
 
void setNdof (const int ndof)
 
void setNster (const int ns)
 
void setFirstLayer (const int id)
 
void setLastLayer (const int id)
 
void setNlayer (const int nlayer)
 
 DstMdcTrack ()
 
 DstMdcTrack (const DstMdcTrack &)
 
DstMdcTrackoperator= (const DstMdcTrack &)
 
virtual ~DstMdcTrack ()
 
virtual const CLID & clID () const
 
const HepVector helix () const
 ......
 
const HepSymMatrix err () const
 
const HepLorentzVector p4 (const double mass) const
 
const HepPoint3D poca () const
 
const Hep3Vector p3 () const
 
const HepPoint3D x3 () const
 
const double helix (const int i) const
 
const double err (const int i) const
 
const int trackId () const
 
const int charge () const
 
const double pxy () const
 
const double px () const
 
const double py () const
 
const double pz () const
 
const double p () const
 
const double theta () const
 
const double phi () const
 
const double x () const
 
const double y () const
 
const double z () const
 
const double r () const
 
const int stat () const
 
const double chi2 () const
 
const int ndof () const
 
const int nster () const
 
const int firstLayer () const
 
const int lastLayer () const
 
const int nlayer () const
 
void setHelix (double helix[5])
 
void setPoca (double poca[3])
 
void setError (double err[15])
 
void setHelix (const HepVector &a)
 
void setPoca (const HepPoint3D &poca)
 
void setError (const HepSymMatrix &Ea)
 
void setTrackId (const int trackId)
 
void setCharge (const int charge)
 
void setPxy (const double pxy)
 
void setPx (const double px)
 
void setPy (const double py)
 
void setPz (const double pz)
 
void setP (const double p)
 
void setTheta (const double theta)
 
void setPhi (const double phi)
 
void setX (const double x)
 
void setY (const double y)
 
void setZ (const double z)
 
void setR (const double r)
 
void setStat (const int stat)
 
void setChi2 (const double chi)
 
void setNdof (const int ndof)
 
void setNster (const int ns)
 
void setFirstLayer (const int id)
 
void setLastLayer (const int id)
 
void setNlayer (const int nlayer)
 

Static Public Member Functions

static const CLID & classID ()
 
static const CLID & classID ()
 
- Static Public Member Functions inherited from DstMdcTrack
static const CLID & classID ()
 
static const CLID & classID ()
 

Additional Inherited Members

- Protected Attributes inherited from DstMdcTrack
int m_trackId
 
int m_charge
 
double m_helix [5]
 
double m_err [15]
 
double m_poca [3]
 
HepPoint3D m_poca3D
 
HepVector m_a
 
HepSymMatrix m_Ea
 
int m_stat
 
double m_chi2
 
int m_ndof
 
int m_nster
 
int m_firstLayer
 
int m_lastLayer
 
int m_nlayer
 
double m_pxy
 
double m_px
 
double m_py
 
double m_pz
 
double m_p
 
double m_theta
 
double m_phi
 
double m_x
 
double m_y
 
double m_z
 
double m_r
 

Detailed Description

Constructor & Destructor Documentation

◆ RecMdcTrack() [1/6]

RecMdcTrack::RecMdcTrack ( )

Definition at line 17 of file RecMdcTrack.cxx.

18 : m_pivot(0,0,0),
19 m_fiTerm(0.0),
20 m_nhits(0)
21 {
22 }

◆ RecMdcTrack() [2/6]

RecMdcTrack::RecMdcTrack ( const RecMdcTrack rectrk)

Definition at line 24 of file RecMdcTrack.cxx.

25 : DstMdcTrack(rectrk),
26 m_pivot(rectrk.m_pivot),
27 m_fiTerm(rectrk.m_fiTerm),
28 m_nhits(rectrk.m_nhits),
29 m_vechits(rectrk.m_vechits)
30 {
31 }

◆ RecMdcTrack() [3/6]

RecMdcTrack::RecMdcTrack ( const DstMdcTrack dstrk)

Definition at line 33 of file RecMdcTrack.cxx.

34 : DstMdcTrack(dstrk),
35 m_pivot(-99.,-99.,-99.),
36 m_fiTerm(-99.),
37 m_nhits(-99)
38 {
39 }

◆ ~RecMdcTrack() [1/2]

RecMdcTrack::~RecMdcTrack ( )

Definition at line 67 of file RecMdcTrack.cxx.

67 {
68 }

◆ RecMdcTrack() [4/6]

RecMdcTrack::RecMdcTrack ( )

◆ RecMdcTrack() [5/6]

RecMdcTrack::RecMdcTrack ( const RecMdcTrack )

◆ RecMdcTrack() [6/6]

RecMdcTrack::RecMdcTrack ( const DstMdcTrack )

◆ ~RecMdcTrack() [2/2]

RecMdcTrack::~RecMdcTrack ( )

Member Function Documentation

◆ classID() [1/2]

const CLID & RecMdcTrack::classID ( )
static

Definition at line 13 of file RecMdcTrack.cxx.

13 {
14 return CLID_RecMdcTrack;
15 }
const CLID & CLID_RecMdcTrack
Definition: EventModel.cxx:295

Referenced by clID().

◆ classID() [2/2]

static const CLID & RecMdcTrack::classID ( )
static

◆ clID() [1/2]

const CLID & RecMdcTrack::clID ( ) const
virtual

Reimplemented from DstMdcTrack.

Definition at line 9 of file RecMdcTrack.cxx.

9 {
10 return RecMdcTrack::classID();
11 }
static const CLID & classID()
Definition: RecMdcTrack.cxx:13

◆ clID() [2/2]

virtual const CLID & RecMdcTrack::clID ( ) const
virtual

Reimplemented from DstMdcTrack.

◆ getFiTerm() [1/2]

const double RecMdcTrack::getFiTerm ( ) const
inline

Definition at line 52 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h.

52{ return m_fiTerm; }

Referenced by ExtMdcTrack::ReadTrk().

◆ getFiTerm() [2/2]

const double RecMdcTrack::getFiTerm ( ) const
inline

Definition at line 52 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

52{ return m_fiTerm; }

◆ getNhits() [1/2]

const int RecMdcTrack::getNhits ( ) const
inline

◆ getNhits() [2/2]

const int RecMdcTrack::getNhits ( ) const
inline

Definition at line 49 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

49{ return m_nhits; }

◆ getPivot() [1/2]

const HepPoint3D & RecMdcTrack::getPivot ( ) const
inline

Definition at line 56 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h.

56{ return m_pivot; }

Referenced by ExtMdcTrack::ReadTrk().

◆ getPivot() [2/2]

const HepPoint3D & RecMdcTrack::getPivot ( ) const
inline

Definition at line 56 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

56{ return m_pivot; }

◆ getVecHits() [1/2]

◆ getVecHits() [2/2]

const HitRefVec RecMdcTrack::getVecHits ( void  ) const
inline

Definition at line 60 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

60{ return m_vechits; }

◆ getVX0() [1/2]

const double RecMdcTrack::getVX0 ( ) const
inline

Definition at line 43 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h.

43{ return m_pivot[0]; }

Referenced by MdcMergeDups::testByOverlapHit().

◆ getVX0() [2/2]

const double RecMdcTrack::getVX0 ( ) const
inline

Definition at line 43 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

43{ return m_pivot[0]; }

◆ getVY0() [1/2]

const double RecMdcTrack::getVY0 ( ) const
inline

Definition at line 44 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h.

44{ return m_pivot[1]; }

Referenced by MdcMergeDups::testByOverlapHit().

◆ getVY0() [2/2]

const double RecMdcTrack::getVY0 ( ) const
inline

Definition at line 44 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

44{ return m_pivot[1]; }

◆ getVZ0() [1/2]

const double RecMdcTrack::getVZ0 ( ) const
inline

Definition at line 45 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h.

45{ return m_pivot[2]; }

Referenced by MdcMergeDups::testByOverlapHit().

◆ getVZ0() [2/2]

const double RecMdcTrack::getVZ0 ( ) const
inline

Definition at line 45 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

45{ return m_pivot[2]; }

◆ operator=() [1/4]

RecMdcTrack & RecMdcTrack::operator= ( const DstMdcTrack dstrk)

Definition at line 53 of file RecMdcTrack.cxx.

54 {
55 if( &dstrk != this ){
57 m_pivot[0] = -99.;
58 m_pivot[1] = -99.;
59 m_pivot[2] = -99.;
60 m_fiTerm = -99.;
61 m_nhits = -99;
62 }
63 return *this;
64 }
DstMdcTrack & operator=(const DstMdcTrack &)
Definition: DstMdcTrack.cxx:65

◆ operator=() [2/4]

RecMdcTrack & RecMdcTrack::operator= ( const DstMdcTrack )

◆ operator=() [3/4]

RecMdcTrack & RecMdcTrack::operator= ( const RecMdcTrack rectrk)

Definition at line 41 of file RecMdcTrack.cxx.

42 {
43 if( &rectrk != this ){
45 m_pivot = rectrk.m_pivot;
46 m_fiTerm = rectrk. m_fiTerm;
47 m_nhits = rectrk. m_nhits;
48 m_vechits = rectrk.m_vechits;
49 }
50 return *this;
51 }

◆ operator=() [4/4]

RecMdcTrack & RecMdcTrack::operator= ( const RecMdcTrack )

◆ setFiTerm() [1/2]

void RecMdcTrack::setFiTerm ( double  fiterm)
inline

◆ setFiTerm() [2/2]

void RecMdcTrack::setFiTerm ( double  fiterm)
inline

Definition at line 66 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

66{ m_fiTerm = fiterm; }

◆ setNhits() [1/2]

void RecMdcTrack::setNhits ( int  nhits)
inline

◆ setNhits() [2/2]

void RecMdcTrack::setNhits ( int  nhits)
inline

Definition at line 67 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

67{ m_nhits = nhits; }

◆ setPivot() [1/2]

void RecMdcTrack::setPivot ( const HepPoint3D pivot)
inline

Definition at line 68 of file InstallArea/include/MdcRecEvent/MdcRecEvent/RecMdcTrack.h.

68{ m_pivot = pivot; }

Referenced by TTrackManager::makeTds(), and MdcTrack::storeTrack().

◆ setPivot() [2/2]

void RecMdcTrack::setPivot ( const HepPoint3D pivot)
inline

Definition at line 68 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

68{ m_pivot = pivot; }

◆ setVecHits() [1/2]

void RecMdcTrack::setVecHits ( HitRefVec  vechits)
inline

◆ setVecHits() [2/2]

void RecMdcTrack::setVecHits ( HitRefVec  vechits)
inline

Definition at line 69 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

69{ m_vechits = vechits; }

◆ setVX0() [1/2]

void RecMdcTrack::setVX0 ( double  x0)
inline

◆ setVX0() [2/2]

void RecMdcTrack::setVX0 ( double  x0)
inline

Definition at line 63 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

63{ m_pivot[0] = x0; }

◆ setVY0() [1/2]

void RecMdcTrack::setVY0 ( double  y0)
inline

◆ setVY0() [2/2]

void RecMdcTrack::setVY0 ( double  y0)
inline

Definition at line 64 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

64{ m_pivot[1] = y0; }

◆ setVZ0() [1/2]

void RecMdcTrack::setVZ0 ( double  z0)
inline

◆ setVZ0() [2/2]

void RecMdcTrack::setVZ0 ( double  z0)
inline

Definition at line 65 of file Mdc/MdcRecEvent/MdcRecEvent-00-05-14/MdcRecEvent/RecMdcTrack.h.

65{ m_pivot[2] = z0; }

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