215 const EventContext& ctx = Gaudi::Hive::currentContext();
225 ATH_MSG_INFO (
"Filter wheel turn completed: stop here" );
226 return StatusCode::SUCCESS;
229 ATH_MSG_DEBUG (
"Retrieving the LASER object and RawChannel" );
239 const uint32_t *cispar = dqStatus->
cispar();
241 m_las_time =
static_cast<double>(cispar[10])+
static_cast<double>(cispar[11])/1000000;
248 if (laserObj->getDiodeCurrOrd() == 0 || laserObj->getFiltNumber() == 0)
251 return StatusCode::SUCCESS;
283 return StatusCode::SUCCESS;
293 for(
int i=0; i<10; ++i)
295 LG_diode[i] =
static_cast<double>(laserObj->getDiodeADC(i,0)-laserObj->getDiodePedestal(i,0));
296 HG_diode[i] =
static_cast<double>(laserObj->getDiodeADC(i,1)-laserObj->getDiodePedestal(i,1));
299 for(
int i=0; i<10; ++i){
304 for(
int i=0; i<2; ++i){
334 m_hrate = laserObj->getHumidity();
335 m_flow = laserObj->getGasFlux();
352 ATH_MSG_INFO (
"Filter wheel turn completed: stop here" );
353 return StatusCode::SUCCESS;
368 for(; itColl != itCollEnd; ++itColl)
373 for(; it != (*itColl)->end(); ++it)
384 float amp = (*it)->amplitude();
393 if ( amp <= 0.)
continue;
409 if (fabs(ampInPicoCoulombs-current_mean)>5*current_RMS)
411 ATH_MSG_VERBOSE (
"Rejecting an outlier. If there are a lot this means filter wheel will soon move again!" );
417 if (HG_diode[0] != 0)
420 m_HG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,1)-laserObj->getPMPedestal(0,1)));
423 if (LG_diode[0] != 0)
426 m_LG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,0)-laserObj->getPMPedestal(0,0)));
433 if (ros == 2 && drawer == 0 && chan == 1)
440 if (HG_diode[0] != 0)
443 m_HG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,1)-laserObj->getPMPedestal(0,1)));
446 if (LG_diode[0] != 0)
449 m_LG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,0)-laserObj->getPMPedestal(0,0)));
456 return StatusCode::SUCCESS;