35 for(
int i=0;i<128;i++) { strack[i] = 0; ltrack[i] = 0; }
37 for(
int i=0; i<48; i++) {
38 if(m_MdcTSF->
GetSL1TSF(i)==1) intrkSL1.push_back(i);
40 for(
int i=0; i<80; i++) {
41 if(m_MdcTSF->
GetSL2TSF(i)==1) intrkSL2.push_back(i);
44 std::vector<std::vector<int> >::iterator viter=TF.begin();
45 std::vector<int>::iterator
iter;
46 for(
int i=0;i<128;i++)
51 iter = (*(viter + i)).begin();
52 for(;
iter!=(*(viter + i)).end();
iter+=4)
54 int cellId3 = *(
iter+3)-1;
55 int cellId4 = *(
iter+2)-1;
56 int cellId10 =*(
iter)-1;
57 int trackId3 = m_MdcTSF->
GetSL3TSF(cellId3);
58 int trackId4 = m_MdcTSF->
GetSL4TSF(cellId4);
59 int trackId10 = m_MdcTSF->
GetSL10TSF(cellId10);
60 if(trackId3 > 0 && trackId4 > 0) { strack[i] = 1; }
61 if(trackId3 > 0 && trackId4 > 0 && trackId10 > 0) ltrack[i] = 1;
116 std::vector<int> combine_size;
118 cout<<
" ***************check data file tf: ***************** "<<endl;
119 cout<<
"*--------------------------BEGIN-------------------------------*"<<endl;
121 combine_size.clear();
122 for(
unsigned int i=0; i<TF.size(); i++) {
123 cout<<
"Cell ID --> "<<i<<endl;
124 combine_size.push_back(TF[i].size());
125 for(
unsigned int j=0; j<TF[i].size(); j++) {
127 if((j+1)%4==0) cout<<endl;
131 sort(combine_size.begin(),combine_size.end());
132 cout<<
"The Max Number of Combination is "<<combine_size[combine_size.size()-1]/4<<endl;
134 cout<<
"*----------------------------END-------------------------------*"<<endl;