325 |
if( view%2 ){ //Y |
if( view%2 ){ //Y |
326 |
neta=2; |
neta=2; |
327 |
}else{ //X |
}else{ //X |
328 |
if( abs(angle) <= 10. ){ |
if( fabs(angle) <= 10. ){ |
329 |
neta = 2; |
neta = 2; |
330 |
}else if( abs(angle) > 10. && abs(angle) <= 15. ){ |
}else if( fabs(angle) > 10. && fabs(angle) <= 15. ){ |
331 |
neta = 3; |
neta = 3; |
332 |
}else{ |
}else{ |
333 |
neta = 4; |
neta = 4; |
390 |
cout<<"DSP status: "; |
cout<<"DSP status: "; |
391 |
for(Int_t i=0; i<12 ; i++)cout<<good[i]<<" "; |
for(Int_t i=0; i<12 ; i++)cout<<good[i]<<" "; |
392 |
cout<<endl; |
cout<<endl; |
393 |
|
cout<<"VA1 mask : "<<endl; |
394 |
|
for(Int_t i=0; i<12 ; i++){ |
395 |
|
for(Int_t ii=0; ii<24 ; ii++){ |
396 |
|
Int_t mask = cnn[ii][i]; |
397 |
|
if(mask>0)mask=1; |
398 |
|
cout<<mask<<" "; |
399 |
|
} |
400 |
|
cout <<endl; |
401 |
|
} |
402 |
|
|
403 |
TClonesArray &t = *Cluster; |
TClonesArray &t = *Cluster; |
404 |
for(int i=0; i<this->nclstr(); i++) ((TrkCluster *)t[i])->Dump(); |
for(int i=0; i<this->nclstr(); i++) ((TrkCluster *)t[i])->Dump(); |
559 |
int TrkLevel1::LoadPfaParam(TString path){ |
int TrkLevel1::LoadPfaParam(TString path){ |
560 |
|
|
561 |
if( strcmp(path_.path,path.Data()) ){ |
if( strcmp(path_.path,path.Data()) ){ |
562 |
cout <<"Loading p.f.a. parameters\n"; |
cout <<"Loading p.f.a. parameters\n"; |
563 |
strcpy(path_.path,path.Data()); |
strcpy(path_.path,path.Data()); |
564 |
path_.pathlen = path.Length(); |
path_.pathlen = path.Length(); |
565 |
path_.error = 0; |
path_.error = 0; |
566 |
return readetaparam_(); |
return readetaparam_(); |
567 |
} |
} |
568 |
return 0; |
return 0; |
569 |
} |
} |