CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
trkCandi Struct Reference

#include <DotsConnection.h>

Public Member Functions

bool operator== (const trkCandi &rhs) const
 
const trkCandioperator= (const trkCandi &rhs)
 

Public Attributes

int trkIdx
 
int isGood
 
vector< int > mdcHitIdx [43]
 
vector< int > mdcXDigiWireIdx
 
vector< double > mdcXDigiChi
 
vector< int > mdcXDigiFitted
 
int xLayerMin
 
int xLayerMax
 
vector< int > mdcV1DigiWireIdx
 
vector< int > mdcV2DigiWireIdx
 
vector< int > mdcVDigiWireIdx
 
vector< double > mdcVDigiChi
 
vector< int > mdcVDigiFitted
 
vector< RecMdcHitRecMdcHitVec
 
int layerMin
 
int layerMax
 
vector< int > CgemXClusterID
 
vector< int > CgemVClusterID
 
vector< double > CgemXClusterChi
 
vector< double > CgemVClusterChi
 
double Smax
 
double chi2
 
double a_helix [5]
 
double phi_inner
 
double phi_outer
 

Detailed Description

Definition at line 25 of file DotsConnection.h.

Member Function Documentation

◆ operator=()

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

Definition at line 118 of file DotsConnection.h.

118 {
119 trkCandi& lfs = *this;
120 #define COPY_A_ITEM__(NAME) \
121 { \
122 lfs.NAME = rhs.NAME; \
123 }
124
148
149 for (int i = 0; i < 5; i++){
151
152 }
153 for (int i = 0; i < 43; i++){
155
156 }
157 return lfs;
158 #undef COPY_A_ITEM__
159 }
#define COPY_A_ITEM__(NAME)
double phi_outer
vector< RecMdcHit > RecMdcHitVec
vector< int > mdcV2DigiWireIdx
double chi2
vector< int > mdcXDigiFitted
vector< double > CgemVClusterChi
vector< double > CgemXClusterChi
vector< double > mdcVDigiChi
vector< int > mdcXDigiWireIdx
double Smax
vector< int > CgemXClusterID
vector< double > mdcXDigiChi
vector< int > mdcVDigiWireIdx
vector< int > mdcVDigiFitted
double phi_inner
vector< int > mdcHitIdx[43]
double a_helix[5]
vector< int > mdcV1DigiWireIdx
vector< int > CgemVClusterID

◆ operator==()

bool trkCandi::operator== ( const trkCandi & rhs) const
inline

Definition at line 65 of file DotsConnection.h.

65 {
66
67
68 const trkCandi& lfs = *this;
69 bool eq = true;
70 bool eq_thisline ;
71 #define COMPARE_A_ITEM__(NAME) \
72 { \
73 eq_thisline= (lfs.NAME == rhs.NAME); \
74 cout<<"compare ."<<#NAME<< " status:" <<(eq_thisline?"true":"false"); \
75 cout << "\n" ; \
76 eq = eq && eq_thisline; \
77 }
78 #define PRINT_IF_FAIL(NAME)\
79 if (!eq_thisline) cout<<" because {lfs." #NAME ":rhs."#NAME "}: {"<<lfs.NAME<<":"<<rhs.NAME<<"}"<<endl;
80
93 //COMPARE_A_ITEM__(RecMdcHitVec); //because RecMdcHitVec cannot be easily compared
102
103 for (int i = 0; i < 5; i++){
106
107 }
108 for (int i = 0; i < 43; i++){
110
111 }
112 return eq;
113
114 #undef COMPARE_A_ITEM__
115
116 }
#define COMPARE_A_ITEM__(NAME)
#define PRINT_IF_FAIL(NAME)

Member Data Documentation

◆ a_helix

double trkCandi::a_helix[5]

Definition at line 57 of file DotsConnection.h.

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

◆ CgemVClusterChi

vector<double> trkCandi::CgemVClusterChi

Definition at line 53 of file DotsConnection.h.

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

◆ CgemVClusterID

vector<int> trkCandi::CgemVClusterID

Definition at line 51 of file DotsConnection.h.

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

◆ CgemXClusterChi

vector<double> trkCandi::CgemXClusterChi

Definition at line 52 of file DotsConnection.h.

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

◆ CgemXClusterID

vector<int> trkCandi::CgemXClusterID

Definition at line 50 of file DotsConnection.h.

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

◆ chi2

double trkCandi::chi2

Definition at line 56 of file DotsConnection.h.

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

◆ isGood

int trkCandi::isGood

Definition at line 28 of file DotsConnection.h.

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

◆ layerMax

int trkCandi::layerMax

Definition at line 48 of file DotsConnection.h.

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

◆ layerMin

int trkCandi::layerMin

Definition at line 47 of file DotsConnection.h.

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

◆ mdcHitIdx

vector<int> trkCandi::mdcHitIdx[43]

Definition at line 30 of file DotsConnection.h.

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

◆ mdcV1DigiWireIdx

vector<int> trkCandi::mdcV1DigiWireIdx

Definition at line 39 of file DotsConnection.h.

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

◆ mdcV2DigiWireIdx

vector<int> trkCandi::mdcV2DigiWireIdx

Definition at line 40 of file DotsConnection.h.

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

◆ mdcVDigiChi

vector<double> trkCandi::mdcVDigiChi

Definition at line 42 of file DotsConnection.h.

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

◆ mdcVDigiFitted

vector<int> trkCandi::mdcVDigiFitted

Definition at line 43 of file DotsConnection.h.

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

◆ mdcVDigiWireIdx

vector<int> trkCandi::mdcVDigiWireIdx

Definition at line 41 of file DotsConnection.h.

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

◆ mdcXDigiChi

vector<double> trkCandi::mdcXDigiChi

Definition at line 34 of file DotsConnection.h.

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

◆ mdcXDigiFitted

vector<int> trkCandi::mdcXDigiFitted

Definition at line 35 of file DotsConnection.h.

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

◆ mdcXDigiWireIdx

vector<int> trkCandi::mdcXDigiWireIdx

Definition at line 33 of file DotsConnection.h.

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

◆ phi_inner

double trkCandi::phi_inner

Definition at line 59 of file DotsConnection.h.

Referenced by operator=().

◆ phi_outer

double trkCandi::phi_outer

Definition at line 60 of file DotsConnection.h.

Referenced by operator=().

◆ RecMdcHitVec

vector<RecMdcHit> trkCandi::RecMdcHitVec

Definition at line 45 of file DotsConnection.h.

Referenced by operator=().

◆ Smax

double trkCandi::Smax

Definition at line 55 of file DotsConnection.h.

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

◆ trkIdx

int trkCandi::trkIdx

Definition at line 27 of file DotsConnection.h.

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

◆ xLayerMax

int trkCandi::xLayerMax

Definition at line 37 of file DotsConnection.h.

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

◆ xLayerMin

int trkCandi::xLayerMin

Definition at line 36 of file DotsConnection.h.

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


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