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; |
550 |
int TrkLevel1::LoadPfaParam(TString path){ |
int TrkLevel1::LoadPfaParam(TString path){ |
551 |
|
|
552 |
if( strcmp(path_.path,path.Data()) ){ |
if( strcmp(path_.path,path.Data()) ){ |
553 |
cout <<"Loading p.f.a. parameters\n"; |
cout <<"Loading p.f.a. parameters\n"; |
554 |
strcpy(path_.path,path.Data()); |
strcpy(path_.path,path.Data()); |
555 |
path_.pathlen = path.Length(); |
path_.pathlen = path.Length(); |
556 |
path_.error = 0; |
path_.error = 0; |
557 |
return readetaparam_(); |
return readetaparam_(); |
558 |
} |
} |
559 |
return 0; |
return 0; |
560 |
} |
} |