| 308 |
TrkParams::FillACalibFrom(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
TrkParams::FillACalibFrom(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
| 309 |
TrkParams::FillMask(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
TrkParams::FillMask(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
| 310 |
// mask_.Set(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
// mask_.Set(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
| 311 |
|
// for(int i=0; i<12; i++) cout << " DSP "<< i << " "<< pedsigbad_.pedestal[64][12][i] << endl; |
| 312 |
|
|
| 313 |
// }; |
// }; |
| 314 |
// ============================================================= |
// ============================================================= |
| 331 |
// ca->FillTCalibFrom(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
// ca->FillTCalibFrom(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
| 332 |
TrkParams::FillTCalibFrom(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
TrkParams::FillTCalibFrom(f0_c,calib.EV_ROOT_CALIBTRK1,calib.EV_ROOT_CALIBTRK2); |
| 333 |
}; |
}; |
| 334 |
|
for(int i=0; i<12; i++) cout << " DSP "<< i << " "<< pedsigbad_.pedestal_t[64][12][i] << endl; |
| 335 |
f0_c->Close(); |
f0_c->Close(); |
| 336 |
// delete f0_c; |
// delete f0_c; |
| 337 |
cout << "--------------------------------------"<<endl; |
cout << "--------------------------------------"<<endl; |
| 401 |
gl[index] = q4; |
gl[index] = q4; |
| 402 |
glpath[index] = q4.PATH+q4.NAME; |
glpath[index] = q4.PATH+q4.NAME; |
| 403 |
glload[index] = false; |
glload[index] = false; |
| 404 |
cout << "<< set TrkParams type "<<type<<" >>"<<endl; |
cout << "<< set TrkParams type "<<type<<" >> (from DB) "<<endl; |
| 405 |
return true; |
return true; |
| 406 |
// return TrkParams::Load(type); |
// return TrkParams::Load(type); |
| 407 |
|
|
| 408 |
}; |
}; |
| 409 |
/** |
/** |
| 410 |
* Set tracker parameters proper for the run, from the from input. |
* Set tracker parameters proper for the run, from input. |
| 411 |
* @param path Path to parameters directory |
* @param path Path to parameters directory |
| 412 |
* @param type Parameter type |
* @param type Parameter type |
| 413 |
* @return FALSE if parameter set fails. |
* @return FALSE if parameter set fails. |
| 419 |
|
|
| 420 |
gl[index].TYPE= type; |
gl[index].TYPE= type; |
| 421 |
glpath[index] = path; |
glpath[index] = path; |
| 422 |
cout << "<< set TrkParams type "<<type<<" >>"<<endl; |
cout << "<< set TrkParams type "<<type<<" >> (from input) "<<endl; |
| 423 |
glload[index] = false; |
glload[index] = false; |
| 424 |
|
|
| 425 |
// return TrkParams::Load(type); |
// return TrkParams::Load(type); |
| 478 |
|
|
| 479 |
} |
} |
| 480 |
|
|
| 481 |
cout << "<< set TrkParams type "<<type<<" >>"<<endl; |
cout << "<< set TrkParams type "<<type<<" (from env var PAM_CALIB) >>"<<endl; |
| 482 |
// return TrkParams::Load(type); |
// return TrkParams::Load(type); |
| 483 |
return true; |
return true; |
| 484 |
|
|