BOSS 7.1.2
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)
 
- Public Member Functions inherited from DstMdcTrack
 DstMdcTrack ()
 
 DstMdcTrack (const DstMdcTrack &)
 
DstMdcTrackoperator= (const DstMdcTrack &)
 
virtual ~DstMdcTrack ()
 
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 Public Member Functions inherited from DstMdcTrack
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

Definition at line 23 of file RecMdcTrack.h.

Constructor & Destructor Documentation

◆ RecMdcTrack() [1/3]

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/3]

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/3]

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()

RecMdcTrack::~RecMdcTrack ( )

Definition at line 67 of file RecMdcTrack.cxx.

67 {
68 }

Member Function Documentation

◆ classID()

const CLID & RecMdcTrack::classID ( )
static

Definition at line 13 of file RecMdcTrack.cxx.

13 {
14 return CLID_RecMdcTrack;
15 }
const CLID & CLID_RecMdcTrack

Referenced by clID().

◆ clID()

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()

◆ getFiTerm()

const double RecMdcTrack::getFiTerm ( ) const
inline

Definition at line 52 of file RecMdcTrack.h.

52{ return m_fiTerm; }

Referenced by ExtMdcTrack::ReadTrk().

◆ getNhits()

const int RecMdcTrack::getNhits ( ) const
inline

◆ getPivot()

const HepPoint3D & RecMdcTrack::getPivot ( ) const
inline

Definition at line 56 of file RecMdcTrack.h.

56{ return m_pivot; }

Referenced by ExtMdcTrack::ReadTrk().

◆ getVecHits()

◆ getVX0()

const double RecMdcTrack::getVX0 ( ) const
inline

Definition at line 43 of file RecMdcTrack.h.

43{ return m_pivot[0]; }

Referenced by MdcMergeDups::testByOverlapHit().

◆ getVY0()

const double RecMdcTrack::getVY0 ( ) const
inline

Definition at line 44 of file RecMdcTrack.h.

44{ return m_pivot[1]; }

Referenced by MdcMergeDups::testByOverlapHit().

◆ getVZ0()

const double RecMdcTrack::getVZ0 ( ) const
inline

Definition at line 45 of file RecMdcTrack.h.

45{ return m_pivot[2]; }

Referenced by MdcMergeDups::testByOverlapHit().

◆ operator=() [1/2]

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 &)

◆ operator=() [2/2]

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 }

◆ setFiTerm()

void RecMdcTrack::setFiTerm ( double fiterm)
inline

Definition at line 66 of file RecMdcTrack.h.

66{ m_fiTerm = fiterm; }

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

◆ setNhits()

void RecMdcTrack::setNhits ( int nhits)
inline

Definition at line 67 of file RecMdcTrack.h.

67{ m_nhits = nhits; }
int nhits

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

◆ setPivot()

void RecMdcTrack::setPivot ( const HepPoint3D & pivot)
inline

Definition at line 68 of file RecMdcTrack.h.

68{ m_pivot = pivot; }

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

◆ setVecHits()

void RecMdcTrack::setVecHits ( HitRefVec vechits)
inline

Definition at line 69 of file RecMdcTrack.h.

69{ m_vechits = vechits; }

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

◆ setVX0()

void RecMdcTrack::setVX0 ( double x0)
inline

Definition at line 63 of file RecMdcTrack.h.

63{ m_pivot[0] = x0; }

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

◆ setVY0()

void RecMdcTrack::setVY0 ( double y0)
inline

Definition at line 64 of file RecMdcTrack.h.

64{ m_pivot[1] = y0; }

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

◆ setVZ0()

void RecMdcTrack::setVZ0 ( double z0)
inline

Definition at line 65 of file RecMdcTrack.h.

65{ m_pivot[2] = z0; }

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


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