|  | ATLAS Offline Software
    | 
 
 
 
#include <VP1CaloCellController.h>
|  | 
|  | VP1CaloCellController (IVP1System *sys) | 
|  | 
| virtual | ~VP1CaloCellController () | 
|  | 
| void | actualRestoreSettings (VP1Deserialise &) | 
|  | 
| int | currentSettingsVersion () const | 
|  | 
| void | actualSaveSettings (VP1Serialise &) const | 
|  | 
| SoGroup * | drawOptions () const | 
|  | 
| void | initTilePulse (const TileHWID *tile_hw_id, const TileInfo *tile_info, const TileCablingService *tile_cabling) | 
|  | 
| void | ClearHideDigitForms () | 
|  | 
| void | DeleteDigitForms () | 
|  | 
| void | EnableDigitsCheckbox (bool enable) | 
|  | 
| void | displayLArDigits (int n_samples, std::vector< short > samples, std::vector< std::string > &msg) | 
|  | 
| void | displayTileDigits (int n_samples, std::vector< float > samples1, std::vector< float > samples2, std::vector< std::string > &msg) | 
|  | 
| void | displayTileDigits (int n_samples, std::vector< float > samples, std::vector< std::string > &msg) | 
|  | 
| void | displayTilePulse (const TileRawChannel *rawchannel1, const TileRawChannel *rawchannel2, const TileRawChannelContainer *rawchannel_cont, size_t digitsize) | 
|  | 
| void | displayTilePulse (const TileRawChannel *rawchannel, const TileRawChannelContainer *rawchannel_cont, size_t digitsize) | 
|  | 
| SoMaterial * | GetMaterial (VP1CC_SeparatorTypes type) | 
|  | 
| VP1CCIntervalMap | selectionIntervals () const | 
|  | 
| QPair< bool, double > | scale () const | 
|  | 
| VP1Interval | selectionMbts () const | 
|  | 
| bool | showDigits () const | 
|  | 
| bool | showVolumeOutLines () const | 
|  | 
| bool | energyModeEt () const | 
|  | 
| VP1CC_GlobalCuts | globalCuts () const | 
|  | 
| void | initLastVars () | 
|  | 
| QByteArray | saveSettings () const | 
|  | 
| void | restoreSettings (const QByteArray &) | 
|  | 
| void | setSystemBasePointer (IVP1System *sys) | 
|  | 
| void | message (const QString &) const | 
|  | 
| void | message (const QStringList &, const QString &addtoend="") const | 
|  | 
| void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageDebug (const QString &) const | 
|  | 
| void | messageDebug (const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageVerbose (const QString &) const | 
|  | 
| void | messageVerbose (const QStringList &, const QString &addtoend="") const | 
|  | 
| void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const | 
|  | 
| IVP1System * | systemBase () const | 
|  | 
| const QString & | helperClassName () const | 
|  | 
|  | 
| template<class T > | 
| bool | changed (T &lastval, const T &newval) | 
|  | 
| template<class T > | 
| void | initDialog (T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0) | 
|  | 
| void | initDialog (QWidget *dialog, QPushButton *launchbutton, QPushButton *closebutton, QAbstractButton *enabledButton=0) | 
|  | 
| void | setupCollWidgetInScrollArea (QScrollArea *scrollarea, VP1CollectionWidget *collWidget) | 
|  | 
| const char * | addUpdateSlot (const char *slot) | 
|  | 
| void | connectToLastUpdateSlot (QObject *sender, const char *signal) | 
|  | 
| void | connectToLastUpdateSlot (QCheckBox *) | 
|  | 
| void | connectToLastUpdateSlot (QComboBox *) | 
|  | 
| void | connectToLastUpdateSlot (QGroupBox *) | 
|  | 
| void | connectToLastUpdateSlot (QSpinBox *) | 
|  | 
| void | connectToLastUpdateSlot (QDoubleSpinBox *) | 
|  | 
| void | connectToLastUpdateSlot (QRadioButton *) | 
|  | 
| void | connectToLastUpdateSlot (QButtonGroup *) | 
|  | 
| void | connectToLastUpdateSlot (QSlider *) | 
|  | 
| void | connectToLastUpdateSlot (VP1ColorSelectButton *) | 
|  | 
| bool | initVarsMode () const | 
|  | 
| QButtonGroup * | defineRadioButtonGroup (QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0) | 
|  | 
| QButtonGroup * | defineRadioButtonGroup (const QList< QRadioButton * > &) | 
|  | 
| SoMaterial * | getMaterial (VP1MaterialButton *) const | 
|  | 
| SoMaterial * | fallBackMaterial () const | 
|  | 
| void | setHelperClassName (const QString &n) | 
|  | 
Definition at line 32 of file VP1CaloCellController.h.
 
◆ VP1CaloCellController()
      
        
          | VP1CaloCellController::VP1CaloCellController | ( | IVP1System * | sys | ) |  | 
      
 
 
◆ ~VP1CaloCellController()
  
  | 
        
          | VP1CaloCellController::~VP1CaloCellController | ( |  | ) |  |  | virtual | 
 
 
◆ actualRestoreSettings()
  
  | 
        
          | void VP1CaloCellController::actualRestoreSettings | ( | VP1Deserialise & | s | ) |  |  | virtual | 
 
Implements VP1Controller.
Definition at line 578 of file VP1CaloCellController.cxx.
  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);
 
 
 
 
◆ actualSaveSettings()
  
  | 
        
          | void VP1CaloCellController::actualSaveSettings | ( | VP1Serialise & | s | ) | const |  | virtual | 
 
 
◆ addUpdateSlot()
  
  | 
        
          | const char * VP1Controller::addUpdateSlot | ( | const char * | slot | ) |  |  | protectedinherited | 
 
 
◆ changed()
template<class T > 
  
  | 
        
          | bool VP1Controller::changed | ( | T & | lastval, |  
          |  |  | const T & | newval |  
          |  | ) |  |  |  | protectedinherited | 
 
 
◆ changeMode
  
  | 
        
          | void VP1CaloCellController::changeMode | ( |  | ) |  |  | privateslot | 
 
Definition at line 1318 of file VP1CaloCellController.cxx.
 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);
 
 
 
 
◆ ClearHideDigitForms()
      
        
          | void VP1CaloCellController::ClearHideDigitForms | ( |  | ) |  | 
      
 
 
◆ collWidgetContentChanged
  
  | 
        
          | void VP1Controller::collWidgetContentChanged | ( |  | ) |  |  | slotinherited | 
 
Definition at line 232 of file VP1Controller.cxx.
  235     message(
"ERROR: Unexpected signal in collWidgetContentChanged slot!!");
 
  238   QScrollArea* scrollarea = 
dynamic_cast<QScrollArea*
>(
m_d->
collWidget->parent());
 
  240     scrollarea = 
dynamic_cast<QScrollArea*
>(
m_d->
collWidget->parent()->parent());
 
  242     message(
"ERROR: m_d->collWidget not child or grandchild of a scroll area!!");
 
  248   QScrollBar * 
sb = scrollarea->verticalScrollBar();
 
  251   scrollarea->setMinimumWidth(
width+2);
 
 
 
 
◆ connectToLastUpdateSlot() [1/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QButtonGroup * | bg | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [2/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QCheckBox * | cb | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [3/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QComboBox * | cb | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [4/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QDoubleSpinBox * | dsb | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [5/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QGroupBox * | gb | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [6/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QObject * | sender, |  
          |  |  | const char * | signal |  
          |  | ) |  |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [7/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QRadioButton * | rb | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [8/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QSlider * | s | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [9/10]
  
  | 
        
          | void VP1Controller::connectToLastUpdateSlot | ( | QSpinBox * | sb | ) |  |  | protectedinherited | 
 
 
◆ connectToLastUpdateSlot() [10/10]
◆ currentSettingsVersion()
  
  | 
        
          | int VP1CaloCellController::currentSettingsVersion | ( |  | ) | const |  | virtual | 
 
 
◆ customTourEditor()
◆ defineRadioButtonGroup() [1/2]
  
  | 
        
          | QButtonGroup * VP1Controller::defineRadioButtonGroup | ( | const QList< QRadioButton * > & | l | ) |  |  | protectedinherited | 
 
Definition at line 300 of file VP1Controller.cxx.
  302   QRadioButton * rb_checked(0);
 
  303   for (QRadioButton *
rb : 
l) {
 
  304     if (
rb->isChecked()) {
 
  309   QButtonGroup * radiogroup = 
new QButtonGroup(
this);
 
  310   for (QRadioButton *
rb : 
l)
 
  311     radiogroup->addButton(
rb);
 
  313     rb_checked->setChecked(
true);
 
 
 
 
◆ defineRadioButtonGroup() [2/2]
  
  | 
        
          | QButtonGroup * VP1Controller::defineRadioButtonGroup | ( | QRadioButton * | rb0, |  
          |  |  | QRadioButton * | rb1, |  
          |  |  | QRadioButton * | rb2 = 0, |  
          |  |  | QRadioButton * | rb3 = 0, |  
          |  |  | QRadioButton * | rb4 = 0, |  
          |  |  | QRadioButton * | rb5 = 0, |  
          |  |  | QRadioButton * | rb6 = 0, |  
          |  |  | QRadioButton * | rb7 = 0, |  
          |  |  | QRadioButton * | rb8 = 0, |  
          |  |  | QRadioButton * | rb9 = 0 |  
          |  | ) |  |  |  | protectedinherited | 
 
Definition at line 288 of file VP1Controller.cxx.
  293   QList<QRadioButton *> 
l;
 
  294   l << rb0 << rb1 << rb2 << rb3 << rb4 << rb5 << rb6 << rb7 << rb8 << rb9;
 
 
 
 
◆ DeleteDigitForms()
      
        
          | void VP1CaloCellController::DeleteDigitForms | ( |  | ) |  | 
      
 
 
◆ displayLArDigits()
      
        
          | void VP1CaloCellController::displayLArDigits | ( | int | n_samples, | 
        
          |  |  | std::vector< short > | samples, | 
        
          |  |  | std::vector< std::string > & | msg | 
        
          |  | ) |  |  | 
      
 
Definition at line 888 of file VP1CaloCellController.cxx.
  893     message(
"VP1CaloCellController::displayLArDigits()... not be ported to 'master' yet, because of failing dependencies (LCG's Qwt has to be ported to Qt5, still)");
 
 
 
 
◆ displayTileDigits() [1/2]
      
        
          | void VP1CaloCellController::displayTileDigits | ( | int | n_samples, | 
        
          |  |  | std::vector< float > | samples, | 
        
          |  |  | std::vector< std::string > & | msg | 
        
          |  | ) |  |  | 
      
 
 
◆ displayTileDigits() [2/2]
      
        
          | void VP1CaloCellController::displayTileDigits | ( | int | n_samples, | 
        
          |  |  | std::vector< float > | samples1, | 
        
          |  |  | std::vector< float > | samples2, | 
        
          |  |  | std::vector< std::string > & | msg | 
        
          |  | ) |  |  | 
      
 
 
◆ displayTilePulse() [1/2]
◆ displayTilePulse() [2/2]
◆ drawOptions()
      
        
          | SoGroup * VP1CaloCellController::drawOptions | ( |  | ) | const | 
      
 
 
◆ dummyUpdateTrigger
  
  | 
        
          | void VP1Controller::dummyUpdateTrigger | ( |  | ) |  |  | signalinherited | 
 
 
◆ enabledButtonStateChanged
  
  | 
        
          | void VP1Controller::enabledButtonStateChanged | ( |  | ) |  |  | slotinherited | 
 
Definition at line 167 of file VP1Controller.cxx.
  169   Imp::DialogInfo * di(0);
 
  171     if (di2->enabledButton==sender()) {
 
  177     message(
"ERROR: enabledButtonStateChanged() triggered with unrecognised sender() =" 
  178         +QString(sender()?sender()->objectName():
"NULL"));
 
  182   bool on(di->enabledButton->isChecked());
 
  183   if (di->launchButton->isEnabled()!=on)
 
  184     di->launchButton->setEnabled(on);
 
  186     if (di->dialogWidget->isVisible())
 
  187       di->dialogWidget->setVisible(
false);
 
  188     if (di->dialogWidget->windowState()==Qt::WindowMinimized)
 
  189       di->dialogWidget->setWindowState(Qt::WindowNoState);
 
 
 
 
◆ EnableDigitsCheckbox()
      
        
          | void VP1CaloCellController::EnableDigitsCheckbox | ( | bool | enable | ) |  | 
      
 
 
◆ enableUpperThreshold
  
  | 
        
          | void VP1CaloCellController::enableUpperThreshold | ( |  | ) |  |  | privateslot | 
 
 
◆ energyModeEt()
      
        
          | bool VP1CaloCellController::energyModeEt | ( |  | ) | const | 
      
 
 
◆ energyModeEtChanged
  
  | 
        
          | void VP1CaloCellController::energyModeEtChanged | ( | bool |  | ) |  |  | signal | 
 
 
◆ fallBackMaterial()
  
  | 
        
          | SoMaterial * VP1Controller::fallBackMaterial | ( |  | ) | const |  | protectedinherited | 
 
 
◆ GetMaterial()
◆ getMaterial()
Definition at line 437 of file VP1Controller.cxx.
  440     message(
"ERROR: Null material button pointer");
 
  443   QList<SoMaterial*> mats = 
mb->handledMaterials();
 
  444   if (mats.count()!=1) {
 
  445     message(
"ERROR: No material in button "+
mb->objectName());
 
 
 
 
◆ globalCuts()
◆ globalCutsChanged
◆ helperClassName()
  
  | 
        
          | const QString& VP1HelperClassBase::helperClassName | ( |  | ) | const |  | inlineinherited | 
 
 
◆ initDialog() [1/2]
  
  | 
        
          | void VP1Controller::initDialog | ( | QWidget * | dialog, |  
          |  |  | QPushButton * | launchbutton, |  
          |  |  | QPushButton * | closebutton, |  
          |  |  | QAbstractButton * | enabledButton = 0 |  
          |  | ) |  |  |  | protectedinherited | 
 
Definition at line 123 of file VP1Controller.cxx.
  125   QString txt(enabledButton?enabledButton->text():launchButton->text());
 
  126   txt.replace(
"&&",
"&");
 
  128   dialog->setWindowIcon(QIcon(QString(
":/vp1/icons/icons/3d_32x32.png")));
 
  129   launchButton->setMaximumHeight(
static_cast<int>(0.5+QFontMetricsF(launchButton->font()).height()*1.05+2));
 
  130   launchButton->setMinimumHeight(launchButton->maximumHeight());
 
  131   launchButton->setCheckable(
true);
 
  133   QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
 
  134   sizePolicy.setHorizontalStretch(0);
 
  135   sizePolicy.setVerticalStretch(0);
 
  136   sizePolicy.setHeightForWidth(launchButton->sizePolicy().hasHeightForWidth());
 
  137   launchButton->setSizePolicy(sizePolicy);
 
  138   launchButton->setFocusPolicy(Qt::NoFocus);
 
  141     launchButton->setEnabled(enabledButton->isChecked());
 
  143   m_d->
dialogs << 
new Imp::DialogInfo(launchButton,dialog,enabledButton);
 
  149   dialog->installEventFilter(closeEventEater);
 
  152     closeButton->setText(
"&Close");
 
  153     closeButton->setToolTip(
"Close this dialog [Esc]");
 
  154     connect(closeButton,SIGNAL(clicked()),dialog,SLOT(close()));
 
  156   connect(
new QShortcut(QKeySequence(Qt::Key_Escape), dialog),SIGNAL(activated()),dialog,SLOT(close()));
 
  161     maxwidth = 
std::max(maxwidth,di->launchButton->sizeHint().width());
 
  163     di->launchButton->setMinimumWidth(maxwidth);
 
 
 
 
◆ initDialog() [2/2]
template<class T > 
  
  | 
        
          | void VP1Controller::initDialog | ( | T & | theUI, |  
          |  |  | QPushButton * | launchbutton, |  
          |  |  | QAbstractButton * | enabledButton = 0 |  
          |  | ) |  |  |  | protectedinherited | 
 
Definition at line 144 of file VP1Controller.h.
  145   QWidget * 
w = 
new QWidget(0,Qt::WindowStaysOnTopHint);
 
  147   initDialog(
w, launchbutton, theUI.pushButton_close,enabledButton);
 
 
 
 
◆ initLastVars()
  
  | 
        
          | void VP1Controller::initLastVars | ( |  | ) |  |  | inherited | 
 
 
◆ initTilePulse()
◆ initVarsMode()
  
  | 
        
          | bool VP1Controller::initVarsMode | ( |  | ) | const |  | inlineprotectedinherited | 
 
 
◆ message() [1/3]
  
  | 
        
          | void VP1HelperClassBase::message | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ message() [2/3]
  
  | 
        
          | void VP1HelperClassBase::message | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 131 of file VP1HelperClassBase.cxx.
  133   if (addtostart.isEmpty()) {
 
  137   if (addtoend.isEmpty()) {
 
  138     for (
const QString& 
s :  
l)
 
  141     for (
const QString& 
s :  
l)
 
 
 
 
◆ message() [3/3]
  
  | 
        
          | void VP1HelperClassBase::message | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 91 of file VP1HelperClassBase.cxx.
   93   if (addtoend.isEmpty()) {
 
   94     for (
const QString& 
s :  
l)
 
   97     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageDebug() [1/3]
  
  | 
        
          | void VP1HelperClassBase::messageDebug | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ messageDebug() [2/3]
  
  | 
        
          | void VP1HelperClassBase::messageDebug | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 147 of file VP1HelperClassBase.cxx.
  151   if (addtostart.isEmpty()) {
 
  155   if (addtoend.isEmpty()) {
 
  156     for (
const QString& 
s :  
l)
 
  159     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageDebug() [3/3]
  
  | 
        
          | void VP1HelperClassBase::messageDebug | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 103 of file VP1HelperClassBase.cxx.
  107   if (addtoend.isEmpty()) {
 
  108     for (
const QString& 
s :  
l)
 
  111     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageVerbose() [1/3]
  
  | 
        
          | void VP1HelperClassBase::messageVerbose | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ messageVerbose() [2/3]
  
  | 
        
          | void VP1HelperClassBase::messageVerbose | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 165 of file VP1HelperClassBase.cxx.
  169   if (addtostart.isEmpty()) {
 
  173   if (addtoend.isEmpty()) {
 
  174     for (
const QString& 
s :  
l)
 
  177     for (
const QString& 
s :  
l)
 
 
 
 
◆ messageVerbose() [3/3]
  
  | 
        
          | void VP1HelperClassBase::messageVerbose | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 117 of file VP1HelperClassBase.cxx.
  121   if (addtoend.isEmpty()) {
 
  122     for (
const QString& 
s :  
l)
 
  125     for (
const QString& 
s :  
l)
 
 
 
 
◆ possibleChange_energyModeEt
  
  | 
        
          | void VP1CaloCellController::possibleChange_energyModeEt | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_globalCuts
  
  | 
        
          | void VP1CaloCellController::possibleChange_globalCuts | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_scale
  
  | 
        
          | void VP1CaloCellController::possibleChange_scale | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_selectionIntervals
  
  | 
        
          | void VP1CaloCellController::possibleChange_selectionIntervals | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_selectionMbts
  
  | 
        
          | void VP1CaloCellController::possibleChange_selectionMbts | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_showDigits
  
  | 
        
          | void VP1CaloCellController::possibleChange_showDigits | ( |  | ) |  |  | privateslot | 
 
 
◆ possibleChange_showVolumeOutLines
  
  | 
        
          | void VP1CaloCellController::possibleChange_showVolumeOutLines | ( |  | ) |  |  | privateslot | 
 
 
◆ restoreSettings()
  
  | 
        
          | void VP1Controller::restoreSettings | ( | const QByteArray & | ba | ) |  |  | inherited | 
 
Definition at line 387 of file VP1Controller.cxx.
  397   s.warnUnrestored(
static_cast<QWidget*
>(
this));
 
  399     s.warnUnrestored(di->dialogWidget);
 
 
 
 
◆ saveSettings()
  
  | 
        
          | QByteArray VP1Controller::saveSettings | ( |  | ) | const |  | inherited | 
 
Definition at line 405 of file VP1Controller.cxx.
  418   s.warnUnsaved(
static_cast<const QWidget*
>(
this));
 
  420     s.warnUnsaved(di->dialogWidget);
 
 
 
 
◆ scale()
      
        
          | QPair< bool, double > VP1CaloCellController::scale | ( |  | ) | const | 
      
 
 
◆ scaleChanged
  
  | 
        
          | void VP1CaloCellController::scaleChanged | ( | const QPair< bool, double > & |  | ) |  |  | signal | 
 
 
◆ selectionIntervals()
Definition at line 1076 of file VP1CaloCellController.cxx.
 1081     if(
m_d->
ui.rbtnSimple->isChecked())
 
 1089         for (
const auto& 
p : *useMap) {
 
 1094         bool positiveON = 
true;
 
 1095         bool negativeON = 
true;
 
 1128             negInterval = posInterval;
 
 
 
 
◆ selectionIntervalsChanged
◆ selectionMbts()
      
        
          | VP1Interval VP1CaloCellController::selectionMbts | ( |  | ) | const | 
      
 
 
◆ selectionMbtsChanged
◆ setCustomTourEditor()
◆ setHelperClassName()
  
  | 
        
          | void VP1HelperClassBase::setHelperClassName | ( | const QString & | n | ) |  |  | inlineprotectedinherited | 
 
 
◆ setSystemBasePointer()
  
  | 
        
          | void VP1HelperClassBase::setSystemBasePointer | ( | IVP1System * | sys | ) |  |  | inherited | 
 
 
◆ setupCollWidgetInScrollArea()
  
  | 
        
          | void VP1Controller::setupCollWidgetInScrollArea | ( | QScrollArea * | scrollarea, |  
          |  |  | VP1CollectionWidget * | collWidget |  
          |  | ) |  |  |  | protectedinherited | 
 
Definition at line 255 of file VP1Controller.cxx.
  257   if  (!scrollarea || !collWidget) {
 
  258     message(
"ERROR: NULL scrollarea or collWidget");
 
  261   QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
 
  262   sizePolicy.setHorizontalStretch(0);
 
  263   sizePolicy.setVerticalStretch(scrollarea->sizePolicy().verticalStretch());
 
  264   sizePolicy.setHeightForWidth(scrollarea->sizePolicy().hasHeightForWidth());
 
  265   scrollarea->setSizePolicy(sizePolicy);
 
  267   collWidget->setContentsMargins(0,0,0,0);
 
  268   if (!collWidget->children().isEmpty()&&collWidget->children().at(0)->isWidgetType()) {
 
  269     static_cast<QWidget*
>(collWidget->children().at(0))->setContentsMargins(0,0,0,0);
 
  271   scrollarea->setContentsMargins(0,0,0,0);
 
  273   scrollarea->setWidgetResizable(
true);
 
  274   scrollarea->setFrameShape(QFrame::NoFrame);
 
  275   scrollarea->setFrameShadow(QFrame::Plain);
 
  276   collWidget->setParent(scrollarea);
 
  277   scrollarea->setWidget(collWidget);
 
  278   scrollarea->viewport()->setContentsMargins(0,0,0,0);
 
  279   scrollarea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
 
  280   collWidget->setObjectName(objectName()+
"_CollWidget");
 
  281   scrollarea->setObjectName(objectName()+
"_CollWidgetScrollArea");
 
 
 
 
◆ showDigits()
      
        
          | bool VP1CaloCellController::showDigits | ( |  | ) | const | 
      
 
 
◆ showDigitsChanged
  
  | 
        
          | void VP1CaloCellController::showDigitsChanged | ( | const bool & |  | ) |  |  | signal | 
 
 
◆ showVolumeOutLines()
      
        
          | bool VP1CaloCellController::showVolumeOutLines | ( |  | ) | const | 
      
 
 
◆ showVolumeOutLinesChanged
  
  | 
        
          | void VP1CaloCellController::showVolumeOutLinesChanged | ( | bool |  | ) |  |  | signal | 
 
 
◆ str() [1/30]
◆ str() [2/30]
  
  | 
        
          | static QString VP1String::str | ( | const bool | b | ) |  |  | inlinestaticinherited | 
 
Definition at line 53 of file VP1String.h.
   53 { 
return b?
"True":
"False"; }
 
 
 
◆ str() [3/30]
  
  | 
        
          | static QString VP1String::str | ( | const char * | c | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [4/30]
  
  | 
        
          | static QString VP1String::str | ( | const double & | d | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [5/30]
  
  | 
        
          | static QString VP1String::str | ( | const float & | f | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [6/30]
◆ str() [7/30]
  
  | 
        
          | QString VP1String::str | ( | const QColor & | c | ) |  |  | staticinherited | 
 
Definition at line 30 of file VP1String.cxx.
   32   return c.isValid() ? 
c.name() : 
"Invalid";
 
 
 
 
◆ str() [8/30]
template<class T > 
  
  | 
        
          | static QString VP1String::str | ( | const QFlags< T > & | f | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [9/30]
template<class T > 
  
  | 
        
          | static QString VP1String::str | ( | const QList< T > & | t | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [10/30]
  
  | 
        
          | static QString VP1String::str | ( | const QString & | s | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [11/30]
  
  | 
        
          | QString VP1String::str | ( | const SbColor & | c | ) |  |  | staticinherited | 
 
 
◆ str() [12/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec2d & | v | ) |  |  | staticinherited | 
 
 
◆ str() [13/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec2f & | v | ) |  |  | staticinherited | 
 
 
◆ str() [14/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec2s & | v | ) |  |  | staticinherited | 
 
 
◆ str() [15/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec3d & | v | ) |  |  | staticinherited | 
 
 
◆ str() [16/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec3f & | v | ) |  |  | staticinherited | 
 
 
◆ str() [17/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec3s & | v | ) |  |  | staticinherited | 
 
 
◆ str() [18/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec4d & | v | ) |  |  | staticinherited | 
 
 
◆ str() [19/30]
  
  | 
        
          | QString VP1String::str | ( | const SbVec4f & | v | ) |  |  | staticinherited | 
 
 
◆ str() [20/30]
template<class T > 
  
  | 
        
          | static QString VP1String::str | ( | const T * | t | ) |  |  | inlinestaticinherited | 
 
Definition at line 87 of file VP1String.h.
   87 { 
return str(
static_cast<const void* 
>(
t)); }
 
 
 
◆ str() [21/30]
  
  | 
        
          | QString VP1String::str | ( | const void * | p | ) |  |  | staticinherited | 
 
Definition at line 48 of file VP1String.cxx.
   54     return QString (
s.str().c_str());
 
 
 
 
◆ str() [22/30]
◆ str() [23/30]
  
  | 
        
          | static QString VP1String::str | ( | int | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [24/30]
  
  | 
        
          | static QString VP1String::str | ( | long | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [25/30]
  
  | 
        
          | static QString VP1String::str | ( | qlonglong | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [26/30]
  
  | 
        
          | static QString VP1String::str | ( | qulonglong | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [27/30]
  
  | 
        
          | static QString VP1String::str | ( | short int | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [28/30]
  
  | 
        
          | static QString VP1String::str | ( | uint | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [29/30]
  
  | 
        
          | static QString VP1String::str | ( | ulong | n | ) |  |  | inlinestaticinherited | 
 
 
◆ str() [30/30]
  
  | 
        
          | static QString VP1String::str | ( | unsigned short int | n | ) |  |  | inlinestaticinherited | 
 
 
◆ systemBase()
  
  | 
        
          | IVP1System* VP1HelperClassBase::systemBase | ( |  | ) | const |  | inlineinherited | 
 
 
◆ testForChanges
  
  | 
        
          | void VP1Controller::testForChanges | ( |  | ) |  |  | inlineprotectedslotinherited | 
 
 
◆ toggleDialogState
  
  | 
        
          | void VP1Controller::toggleDialogState | ( | QObject * | widget = 0 | ) |  |  | slotinherited | 
 
Definition at line 194 of file VP1Controller.cxx.
  196   Imp::DialogInfo * di(0);
 
  198     if (di2->launchButton==sender() || (widget && di2->dialogWidget==widget)) {
 
  205     message(
"ERROR: toggleDialogState() triggered with unrecognised sender() =" 
  206         +QString(sender()?sender()->objectName():
"NULL"));
 
  210   bool oldvis = di->dialogWidget->isVisible();
 
  212   if (oldvis&&di->dialogWidget->windowState()==Qt::WindowMinimized) {
 
  213     di->dialogWidget->setWindowState(Qt::WindowNoState);
 
  215     di->dialogWidget->setVisible(!oldvis);
 
  216     if (!oldvis && di->neverShown) {
 
  217       di->neverShown = 
false;
 
  226   if (di->launchButton->isCheckable() && oldvis){
 
  227     di->launchButton->setChecked(
false);
 
 
 
 
◆ toString() [1/7]
  
  | 
        
          | QString VP1Controller::toString | ( | const bool & | par | ) |  |  | staticprotectedinherited | 
 
 
◆ toString() [2/7]
◆ toString() [3/7]
  
  | 
        
          | static QString VP1CaloCellController::toString | ( | const QPair< bool, double > & | par | ) |  |  | inlinestaticprivate | 
 
 
◆ toString() [4/7]
template<class T > 
  
  | 
        
          | static QString VP1CaloCellController::toString | ( | const T & | t | ) |  |  | inlinestaticprivate | 
 
 
◆ toString() [5/7]
◆ toString() [6/7]
◆ toString() [7/7]
  
  | 
        
          | QString VP1Controller::toString | ( | SbColor4f | p | ) |  |  | staticprotectedinherited | 
 
 
◆ verbose()
  
  | 
        
          | static bool VP1HelperClassBase::verbose | ( |  | ) |  |  | inlinestaticinherited | 
 
 
◆ warnUndeletedInstances()
  
  | 
        
          | void VP1HelperClassBase::warnUndeletedInstances | ( |  | ) |  |  | staticinherited | 
 
Definition at line 183 of file VP1HelperClassBase.cxx.
  185   if (vp1helperclassbase_instanceMap.empty())
 
  187   std::cout << 
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
 
  190   for (
it = vp1helperclassbase_instanceMap.begin();
it!=
itE;++
it) {
 
  191     std::cout << 
"  ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
 
  192           << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->
second+
")").toStdString()<<std::endl;
 
 
 
 
◆ m_customTourEditor
◆ m_d
  
  | 
        
          | Imp* VP1CaloCellController::m_d |  | private | 
 
 
◆ m_helpername
  
  | 
        
          | QString VP1HelperClassBase::m_helpername |  | privateinherited | 
 
 
◆ m_initVarsMode
  
  | 
        
          | bool VP1Controller::m_initVarsMode |  | privateinherited | 
 
 
◆ m_system
◆ m_tile_cabling
◆ m_tile_hw_id
◆ m_tile_info
◆ s_vp1verbose
The documentation for this class was generated from the following files:
 
JetConstituentVector::iterator iterator
void possibleChange_showVolumeOutLines()
QButtonGroup * defineRadioButtonGroup(QRadioButton *rb0, QRadioButton *rb1, QRadioButton *rb2=0, QRadioButton *rb3=0, QRadioButton *rb4=0, QRadioButton *rb5=0, QRadioButton *rb6=0, QRadioButton *rb7=0, QRadioButton *rb8=0, QRadioButton *rb9=0)
VP1CaloCellController * theclass
Ui::frmCaloCellThresholdsTile ui_threshtile
const char * addUpdateSlot(const char *slot)
static QString toString(const T &par)
void possibleChange_showDigits()
const TileCablingService * m_tile_cabling
@ VP1CC_SepTileNegativeUp
const char * lastUpdateSlot
void dummyUpdateTrigger()
const TileHWID * m_tile_hw_id
VP1Controller(IVP1System *sys, const QString &classname)
@ VP1CC_SepTilePositiveNeg
@ VP1CC_SepTilePositiveUp
QPair< VP1Interval, VP1Interval > VP1CCIntervalPair
Ui::frmCaloCellThresholdsLArSimple ui_threshlarsimp
void messageVerbose(const QString &) const
Ui::frmCaloCellController ui
const QCheckBox * showNegativeCB
SoMaterial * fallBackMaterial() const
static const bool s_vp1verbose
void initDialog(T &theUI, QPushButton *launchbutton, QAbstractButton *enabledButton=0)
VP1CollectionWidget * collWidget
void possibleChange_globalCuts()
virtual void actualSaveSettings(VP1Serialise &) const =0
QList< VP1Interval > allowedPhi
void possibleChange_selectionIntervals()
const QCheckBox * globalEnableCB
QWidget * digit_form_single
QMap< VP1CC_SelectionTypes, VP1CCIntervalPair > VP1CCIntervalMap
@ VP1CC_SepTileNegativeDown
static QString str(const QString &s)
void messageDebug(const QString &) const
void connectToLastUpdateSlot(QObject *sender, const char *signal)
void possibleChange_selectionMbts()
void setOpenLower(bool openLower)
bool initVarsMode() const
Ui::frmCaloCellThresholdsLArExpert ui_threshlarexp
static const char * prefix_msg()
void possibleChange_scale()
SoMaterial * fallBackMaterial
@ VP1CC_SepTileNegativePos
const QString & name() const
Ui::frmCaloCellThresholdsMbts ui_threshmbts
Ui::frmCaloCellVisOptions ui_visopts
QWidget * digit_form_double
const QCheckBox * upperThreshOffCB
static QColor sbcol2qcol(const SbColor &)
std::map< VP1CC_SelectionTypes, VP1CCUi2Manager * > VP1CCSelectionType2GuiMap
IVP1System * systemBase() const
VP1CCSelectionType2GuiMap sel2GuiExpert
void possibleChange_energyModeEt()
SoMaterial * getMaterial(VP1MaterialButton *) const
const QDoubleSpinBox * lowerThresholdSB
static const char * prefix_debug()
void enableUpperThreshold()
@ VP1CC_SepTilePositiveDown
QList< DialogInfo * > dialogs
virtual void actualRestoreSettings(VP1Deserialise &)=0
void setOpenUpper(bool openUpper)
QDoubleSpinBox * upperThresholdSB
static const char * prefix_verbose()
void setUpper(const double &upper)
const double mb
1mb to cm2
Ui::frmCaloCellCuts ui_cuts
void collWidgetContentChanged()
void enabledButtonStateChanged()
=============================================================================
void message(const QString &) const
Ui::frmCaloCellInteractions ui_interact
const TileInfo * m_tile_info
void toggleDialogState(QObject *widget=0)
VP1CCSelectionType2GuiMap sel2GuiSimple
void message(const QString &) const
Ui::frmCaloCellBadChannels ui_badchans
VP1CC_GlobalCuts globalCuts() const
static VP1CustomTourEditor * m_customTourEditor
MatButtonMap matButtonMap
void setLower(const double &lower)
virtual int currentSettingsVersion() const =0