5 #define VP1IMPVARNAME m_d 
    9 #include "ui_calocellcontrollerform.h" 
   12 #include "ui_calocell_badchannels_form.h" 
   13 #include "ui_calocell_mbtsthresholds_form.h" 
   14 #include "ui_calocell_tilethresholds_form.h" 
   15 #include "ui_calocell_larsimpthresholds_form.h" 
   16 #include "ui_calocell_larexpthresholds_form.h" 
   17 #include "ui_calocell_interactions_form.h" 
   18 #include "ui_calocell_cuts_form.h" 
   19 #include "ui_calocell_visoptions_form.h" 
   42 #include "GaudiKernel/SystemOfUnits.h" 
   51     Ui::frmCaloCellController 
ui{};
 
   75     typedef std::map<VP1CC_SeparatorTypes, VP1MaterialButton* > 
MatButtonMap;
 
  102     m_d->
ui.setupUi(
this);
 
  114     m_d->
ui_cuts.wdgEtaPhiCut->setEtaCutEnabled(
false);
 
  580     if (
s.version()<0 || 
s.version()>4) {
 
  581         message(
"Warning: State data in .vp1 file has unsupported version ("+
str(
s.version())+
")");
 
  587     s.restore(
m_d->
ui.chbxMbts);
 
  594     s.restore(
m_d->
ui.chbxEMB);
 
  595     s.restore(
m_d->
ui.chbxEMEC);
 
  596     s.restore(
m_d->
ui.chbxHEC);
 
  597     s.restore(
m_d->
ui.chbxFCAL);
 
  598     s.restore(
m_d->
ui.chbxLArNegative);
 
  602     s.restore(
m_d->
ui.chbxEMB_Neg_Expert);
 
  603     s.restore(
m_d->
ui.chbxEMB_S0);
 
  607     s.restore(
m_d->
ui.chbxEMB_S1);
 
  611     s.restore(
m_d->
ui.chbxEMB_S2);
 
  615     s.restore(
m_d->
ui.chbxEMB_S3);
 
  619     s.restore(
m_d->
ui.chbxEMEC_Neg_Expert);
 
  620     s.restore(
m_d->
ui.chbxEMEC_S0);
 
  624     s.restore(
m_d->
ui.chbxEMEC_S1);
 
  628     s.restore(
m_d->
ui.chbxEMEC_S2);
 
  632     s.restore(
m_d->
ui.chbxEMEC_S3);
 
  636     s.restore(
m_d->
ui.chbxHEC_Neg_Expert);
 
  637     s.restore(
m_d->
ui.chbxHEC_S0);
 
  641     s.restore(
m_d->
ui.chbxHEC_S1);
 
  645     s.restore(
m_d->
ui.chbxHEC_S2);
 
  649     s.restore(
m_d->
ui.chbxHEC_S3);
 
  653     s.restore(
m_d->
ui.chbxFCAL_Neg_Expert);
 
  654     s.restore(
m_d->
ui.chbxFCAL_M1);
 
  658     s.restore(
m_d->
ui.chbxFCAL_M2);
 
  662     s.restore(
m_d->
ui.chbxFCAL_M3);
 
  666     s.restore(
m_d->
ui.chbxTILB);
 
  667     s.restore(
m_d->
ui.chbxTILEC);
 
  668     s.restore(
m_d->
ui.chbxTILCR);
 
  669     s.restore(
m_d->
ui.chbxTileNegative);
 
  729     s.save(
m_d->
ui.chbxLArNegative);
 
  733     s.save(
m_d->
ui.chbxEMB_Neg_Expert);
 
  734     s.save(
m_d->
ui.chbxEMB_S0);
 
  738     s.save(
m_d->
ui.chbxEMB_S1);
 
  742     s.save(
m_d->
ui.chbxEMB_S2);
 
  746     s.save(
m_d->
ui.chbxEMB_S3);
 
  750     s.save(
m_d->
ui.chbxEMEC_Neg_Expert);
 
  751     s.save(
m_d->
ui.chbxEMEC_S0);
 
  755     s.save(
m_d->
ui.chbxEMEC_S1);
 
  759     s.save(
m_d->
ui.chbxEMEC_S2);
 
  763     s.save(
m_d->
ui.chbxEMEC_S3);
 
  767     s.save(
m_d->
ui.chbxHEC_Neg_Expert);
 
  768     s.save(
m_d->
ui.chbxHEC_S0);
 
  772     s.save(
m_d->
ui.chbxHEC_S1);
 
  776     s.save(
m_d->
ui.chbxHEC_S2);
 
  780     s.save(
m_d->
ui.chbxHEC_S3);
 
  784     s.save(
m_d->
ui.chbxFCAL_Neg_Expert);
 
  785     s.save(
m_d->
ui.chbxFCAL_M1);
 
  789     s.save(
m_d->
ui.chbxFCAL_M2);
 
  793     s.save(
m_d->
ui.chbxFCAL_M3);
 
  798     s.save(
m_d->
ui.chbxTILEC);
 
  799     s.save(
m_d->
ui.chbxTILCR);
 
  800     s.save(
m_d->
ui.chbxTileNegative);
 
  891         std::vector<std::string>& )
 
  893     message(
"VP1CaloCellController::displayLArDigits()... not be ported to 'master' yet, because of failing dependencies (LCG's Qwt has to be ported to Qt5, still)");
 
  956                                               std::vector<std::string>& )
 
  959     messageDebug(
"VP1CaloCellController::displayTileDigits(A)...");
 
  987                                               std::vector<std::string>& )
 
  989     messageDebug(
"VP1CaloCellController::displayTileDigits(B)...");
 
 1021     messageDebug(
"VP1CaloCellController::displayTilePulse(A)...");
 
 1055     messageDebug(
"VP1CaloCellController::displayTilePulse(B)...");
 
 1081     if(
m_d->
ui.rbtnSimple->isChecked())
 
 1089         for (
const auto& 
p : *useMap) {
 
 1094         bool positiveON = 
true;
 
 1095         bool negativeON = 
true;
 
 1128             negInterval = posInterval;
 
 1139     return QPair<bool,double>(
m_d->
ui_visopts.chbxLogscale->isChecked(),scl);
 
 1145     if(
m_d->
ui.chbxMbts->isChecked()) {
 
 1151     return returnInterval;
 
 1166     return m_d->
ui.rbtnModeEt->isChecked();
 
 1307     if(
m_d->
ui.rbtnSimple->isChecked())
 
 1312         for (
const auto& 
p : *useMap) {
 
 1320     if(
m_d->
ui.rbtnSimple->isChecked()) {
 
 1321         m_d->
ui.stackLAr->setCurrentIndex(0);
 
 1322         m_d->
ui.pushButton_settings_thresholds_larsimple->setEnabled(
true);
 
 1323         m_d->
ui.pushButton_settings_thresholds_larexpert->setEnabled(
false);
 
 1326         m_d->
ui.stackLAr->setCurrentIndex(1);
 
 1327         m_d->
ui.pushButton_settings_thresholds_larsimple->setEnabled(
false);
 
 1328         m_d->
ui.pushButton_settings_thresholds_larexpert->setEnabled(
true);
 
 1332 #define VP1CONTROLLERCLASSNAME VP1CaloCellController