FACT++  1.0
const PixelMapEntry& PixelMap::index ( int  idx) const
inline

Definition at line 107 of file PixelMap.h.

References begin, PixelMapEntry::empty(), and end.

Referenced by RawDataViewer::ApplyCalibration(), FactGui::handleBiasCurrent(), FactGui::handleFeedbackCalibratedCurrents(), FactGui::handleFtmStaticData(), FactGui::on_fBiasDispRefVolt_stateChanged(), FactGui::on_fPixelDisableOthers_clicked(), FactGui::on_fPixelEnable_stateChanged(), FactGui::on_fPixelIdx_valueChanged(), FactGui::slot_CameraDoubleClick(), FactGui::slot_CameraMouseMove(), FactGui::slot_ChooseBiasChannel(), FactGui::slot_ChoosePixelThreshold(), and FactGui::UpdateRatesCam().

108  {
109  for (std::vector<PixelMapEntry>::const_iterator it=begin(); it!=end(); it++)
110  if (it->index==idx)
111  return *it;
112 #ifdef DEBUG
113  std::cerr << "PixelMap: index " << idx << " not found" << std::endl;
114 #endif
115  return PixelMapEntry::empty();
116  }
double begin
double end
static const PixelMapEntry & empty()
Definition: PixelMap.h:46

+ Here is the call graph for this function:

+ Here is the caller graph for this function: