CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRec_trk Class Reference

#include <MdcTables.h>

Public Member Functions

 MdcRec_trk ()
 
 ~MdcRec_trk ()
 
 MdcRec_trk (const MdcRec_trk &rhs)
 
MdcRec_trkoperator= (const MdcRec_trk &rhs)
 
const float fi0 (void) const
 
const float cpa (void) const
 
const float dz (void) const
 
const float tanl (void) const
 

Public Attributes

int id
 
float helix [5]
 
float pivot [3]
 
float error [15]
 
float chiSq
 
float ndf
 
float fiTerm
 
int nhits
 
int nster
 
int nclus
 
int stat
 
float mass
 
vector< MdcRec_wirhit * > hitcol
 
MdcRec_trk_addadd
 

Detailed Description

Definition at line 355 of file MdcTables.h.

Constructor & Destructor Documentation

◆ MdcRec_trk() [1/2]

MdcRec_trk::MdcRec_trk ( )
inline

Definition at line 357 of file MdcTables.h.

357:add(0) {};
MdcRec_trk_add * add
Definition: MdcTables.h:415

◆ ~MdcRec_trk()

MdcRec_trk::~MdcRec_trk ( )

Definition at line 179 of file MdcTables.cxx.

179 {
180}

◆ MdcRec_trk() [2/2]

MdcRec_trk::MdcRec_trk ( const MdcRec_trk rhs)
inline

Definition at line 360 of file MdcTables.h.

360 : add(rhs.add) {
361 id = rhs.id;
362 chiSq = rhs.chiSq;
363 ndf = rhs.ndf;
364 fiTerm = rhs.fiTerm;
365 nhits = rhs.nhits;
366 nster = rhs.nster;
367 nclus = rhs.nclus;
368 stat = rhs.stat;
369 mass = rhs.mass;
370 hitcol = rhs.hitcol;
371 for ( int i=0; i<15; i++ ) {
372 if( i<3 ) pivot[i] = rhs.pivot[i];
373 if( i<5 ) helix[i] = rhs.helix[i];
374 error[i] = rhs.error[i];
375 }
376 }
float helix[5]
Definition: MdcTables.h:403
float chiSq
Definition: MdcTables.h:406
float fiTerm
Definition: MdcTables.h:408
vector< MdcRec_wirhit * > hitcol
Definition: MdcTables.h:414
float pivot[3]
Definition: MdcTables.h:404
float error[15]
Definition: MdcTables.h:405
float mass
Definition: MdcTables.h:413
float ndf
Definition: MdcTables.h:407

Member Function Documentation

◆ cpa()

const float MdcRec_trk::cpa ( void  ) const
inline

Definition at line 420 of file MdcTables.h.

420 {
421 return helix[2];
422 }

◆ dz()

const float MdcRec_trk::dz ( void  ) const
inline

Definition at line 423 of file MdcTables.h.

423 {
424 return helix[3];
425 }

◆ fi0()

const float MdcRec_trk::fi0 ( void  ) const
inline

Definition at line 417 of file MdcTables.h.

417 {
418 return helix[1];
419 }

◆ operator=()

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

Definition at line 378 of file MdcTables.h.

378 {
379
380 if(this == &rhs)
381 return *this;
382 id = rhs.id;
383 chiSq = rhs.chiSq;
384 ndf = rhs.ndf;
385 fiTerm = rhs.fiTerm;
386 nhits = rhs.nhits;
387 nster = rhs.nster;
388 nclus = rhs.nclus;
389 stat = rhs.stat;
390 add = rhs.add;
391 mass = rhs.mass;
392 hitcol = rhs.hitcol;
393 for ( int i=0; i<15; i++ ) {
394 if( i<3 ) pivot[i] = rhs.pivot[i];
395 if( i<5 ) helix[i] = rhs.helix[i];
396 error[i] = rhs.error[i];
397 }
398 return *this;
399 }

◆ tanl()

const float MdcRec_trk::tanl ( void  ) const
inline

Definition at line 426 of file MdcTables.h.

426 {
427 return helix[4];
428 }

Member Data Documentation

◆ add

MdcRec_trk_add* MdcRec_trk::add

Definition at line 415 of file MdcTables.h.

Referenced by KalFitAlg::execute(), operator=(), and TTrackManager::treatCurler().

◆ chiSq

◆ error

◆ fiTerm

◆ helix

◆ hitcol

◆ id

◆ mass

float MdcRec_trk::mass

Definition at line 413 of file MdcTables.h.

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

◆ nclus

int MdcRec_trk::nclus

Definition at line 411 of file MdcTables.h.

Referenced by KalFitAlg::execute(), MdcRec_trk(), and operator=().

◆ ndf

◆ nhits

◆ nster

int MdcRec_trk::nster

◆ pivot

◆ stat

int MdcRec_trk::stat

Definition at line 412 of file MdcTables.h.

Referenced by KalFitAlg::execute(), MdcRec_trk(), operator=(), and TTrackManager::saveTables().


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