BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcTrk_global Class Reference

#include <TrkTables.h>

Public Member Functions

 MdcTrk_global ()
 
 MdcTrk_global (const MdcTrk_global &rhs)
 
MdcTrk_globaloperator= (const MdcTrk_global &rhs)
 

Public Attributes

int id
 
float mass
 
float chisq [3]
 
int ndf [3]
 
float pathl
 
float tof
 
float pathl_rd
 
float pathl_ab
 
int stat [2]
 
int nhits [5]
 
int hit [3]
 

Detailed Description

Definition at line 80 of file TrkTables.h.

Constructor & Destructor Documentation

◆ MdcTrk_global() [1/2]

MdcTrk_global::MdcTrk_global ( )
inline

Definition at line 82 of file TrkTables.h.

82 {
83 id = 0;
84 mass = 0.0;
85 pathl = 0.0;
86 tof = 0.0;
87 pathl_rd = 0.0;
88 pathl_ab = 0.0;
89
90 for ( int i=0; i<5; i++ ) {
91 if( i<2 ) stat[i] = 0;
92 if( i<3 ) {
93 chisq[i] = 999;
94 ndf[i] = 0;
95 hit[i] = 0;
96 }
97 nhits[i] = 0;
98 }
99 }
float pathl_ab
Definition: TrkTables.h:153
float chisq[3]
Definition: TrkTables.h:148
int nhits[5]
Definition: TrkTables.h:155
int stat[2]
Definition: TrkTables.h:154
int hit[3]
Definition: TrkTables.h:156
int ndf[3]
Definition: TrkTables.h:149
float pathl_rd
Definition: TrkTables.h:152

◆ MdcTrk_global() [2/2]

MdcTrk_global::MdcTrk_global ( const MdcTrk_global rhs)
inline

Definition at line 101 of file TrkTables.h.

101 {
102
103 id = rhs.id;
104 mass = rhs.mass;
105 pathl = rhs.pathl;
106 tof = rhs.tof;
107 pathl_rd = rhs.pathl_rd;
108 pathl_ab = rhs.pathl_ab;
109
110 for ( int i=0; i<5; i++ ) {
111 if( i<2 ) stat[i] = rhs.stat[i];
112 if( i<3 ) {
113 chisq[i] = rhs.chisq[i];
114 ndf[i] = rhs.ndf[i];
115 hit[i] = rhs.hit[i];
116 }
117 nhits[i] = rhs.nhits[i];
118 }
119 }

Member Function Documentation

◆ operator=()

MdcTrk_global & MdcTrk_global::operator= ( const MdcTrk_global rhs)
inline

Definition at line 121 of file TrkTables.h.

121 {
122
123 if(this == &rhs)
124 return *this;
125 id = rhs.id;
126 mass = rhs.mass;
127 pathl = rhs.pathl;
128 tof = rhs.tof;
129 pathl_rd = rhs.pathl_rd;
130 pathl_ab = rhs.pathl_ab;
131
132 for ( int i=0; i<5; i++ ) {
133 if( i<2 ) stat[i] = rhs.stat[i];
134 if( i<3 ) {
135 chisq[i] = rhs.chisq[i];
136 ndf[i] = rhs.ndf[i];
137 hit[i] = rhs.hit[i];
138 }
139 nhits[i] = rhs.nhits[i];
140 }
141
142 return *this;
143 }

Member Data Documentation

◆ chisq

float MdcTrk_global::chisq[3]

Definition at line 148 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ hit

int MdcTrk_global::hit[3]

Definition at line 156 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ id

int MdcTrk_global::id

Definition at line 146 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ mass

float MdcTrk_global::mass

Definition at line 147 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ ndf

int MdcTrk_global::ndf[3]

Definition at line 149 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ nhits

int MdcTrk_global::nhits[5]

Definition at line 155 of file TrkTables.h.

Referenced by TTrackManager::determineIP(), MdcTrk_global(), and operator=().

◆ pathl

float MdcTrk_global::pathl

Definition at line 150 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ pathl_ab

float MdcTrk_global::pathl_ab

Definition at line 153 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ pathl_rd

float MdcTrk_global::pathl_rd

Definition at line 152 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ stat

int MdcTrk_global::stat[2]

Definition at line 154 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().

◆ tof

float MdcTrk_global::tof

Definition at line 151 of file TrkTables.h.

Referenced by MdcTrk_global(), and operator=().


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