233 const EventContext& ctx = Gaudi::Hive::currentContext();
243 ATH_MSG_INFO (
"Filter wheel turn completed: stop here" );
244 return StatusCode::SUCCESS;
247 ATH_MSG_DEBUG (
"Retrieving the LASER object and RawChannel" );
257 const uint32_t *cispar = dqStatus->
cispar();
259 m_las_time =
static_cast<double>(cispar[10])+
static_cast<double>(cispar[11])/1000000;
266 if (laserObj->getDiodeCurrOrd() == 0 || laserObj->getFiltNumber() == 0)
269 return StatusCode::SUCCESS;
301 return StatusCode::SUCCESS;
311 for(
int i=0; i<10; ++i)
313 LG_diode[i] =
static_cast<double>(laserObj->getDiodeADC(i,0)-laserObj->getDiodePedestal(i,0));
314 HG_diode[i] =
static_cast<double>(laserObj->getDiodeADC(i,1)-laserObj->getDiodePedestal(i,1));
317 for(
int i=0; i<10; ++i){
322 for(
int i=0; i<2; ++i){
352 m_hrate = laserObj->getHumidity();
353 m_flow = laserObj->getGasFlux();
370 ATH_MSG_INFO (
"Filter wheel turn completed: stop here" );
371 return StatusCode::SUCCESS;
386 for(; itColl != itCollEnd; ++itColl)
391 for(; it != (*itColl)->end(); ++it)
402 float amp = (*it)->amplitude();
411 if ( amp <= 0.)
continue;
427 if (fabs(ampInPicoCoulombs-current_mean)>5*current_RMS)
429 ATH_MSG_VERBOSE (
"Rejecting an outlier. If there are a lot this means filter wheel will soon move again!" );
435 if (HG_diode[0] != 0)
438 m_HG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,1)-laserObj->getPMPedestal(0,1)));
441 if (LG_diode[0] != 0)
444 m_LG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,0)-laserObj->getPMPedestal(0,0)));
451 if (ros == 2 && drawer == 0 && chan == 1)
458 if (HG_diode[0] != 0)
461 m_HG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,1)-laserObj->getPMPedestal(0,1)));
464 if (LG_diode[0] != 0)
467 m_LG_ratio2_stat[
m_las_filter][ros][drawer][chan][gain]->Push(ampInPicoCoulombs/(laserObj->getPMADC(0,0)-laserObj->getPMPedestal(0,0)));
474 return StatusCode::SUCCESS;