|  | ATLAS Offline Software
    | 
 
 
 
#include <VP1CaloLegoSystem.h>
|  | 
|  | VP1CaloLegoSystem () | 
|  | 
|  | ~VP1CaloLegoSystem () | 
|  | 
| QWidget * | buildController () | 
|  | 
| void | systemcreate (StoreGateSvc *detstore) | 
|  | 
| void | systemuncreate () | 
|  | 
| void | systemerase () | 
|  | 
| void | buildPermanentSceneGraph (StoreGateSvc *detstore, SoSeparator *root) | 
|  | 
| void | buildEventSceneGraph (StoreGateSvc *sg, SoSeparator *root) | 
|  | 
| void | createEtaPhi () | 
|  | 
| void | userPickedNode (SoNode *pickedNode, SoPath *pickedPath) | 
|  | 
| QByteArray | saveState () | 
|  | 
| void | restoreFromState (QByteArray ba) | 
|  | 
| void | ensureBuildController () | 
|  | 
| void | updateGUI () | 
|  | 
| void | warnOnDisabledNotifications () const | 
|  | 
| void | registerCamera (SoCamera *camera) | 
|  | 
| void | registerViewer (SoQtViewer *viewer) | 
|  | 
| void | registerSelectionNode (SoCooperativeSelection *) | 
|  | 
| void | unregisterSelectionNode (SoCooperativeSelection *) | 
|  | 
| void | setUserSelectionNotificationsEnabled (SoCooperativeSelection *sel, bool enabled) | 
|  | 
| virtual void | userSelectedSingleNode (SoCooperativeSelection *, SoNode *, SoPath *) | 
|  | 
| virtual void | userDeselectedSingleNode (SoCooperativeSelection *, SoNode *, SoPath *) | 
|  | 
| virtual void | userChangedSelection (SoCooperativeSelection *, const QSet< SoNode * > &, QSet< SoPath * >) | 
|  | 
| virtual void | userClickedOnBgd () | 
|  | 
| virtual void | deselectAll (SoCooperativeSelection *exception_sel=0) | 
|  | 
| CamList | getCameraList () | 
|  | 
| virtual QWidget * | buildExtraDisplayWidget () | 
|  | 
| const QString & | name () const | 
|  | 
| const QString & | information () const | 
|  | 
| const QString & | contact_info () const | 
|  | 
| QWidget * | controllerWidget () | 
|  | 
| 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 | 
|  | 
| StoreGateSvc * | storeGate () const | 
|  | 
| StoreGateSvc * | eventStore () const | 
|  | 
| StoreGateSvc * | detectorStore () const | 
|  | 
| ISvcLocator * | serviceLocator () const | 
|  | 
| IToolSvc * | toolSvc () const | 
|  | 
| State | state () const | 
|  | 
| ActiveState | activeState () const | 
|  | 
Definition at line 10 of file VP1CaloLegoSystem.h.
 
◆ CamList
◆ CamListItr
◆ ActiveState
◆ POSITION
◆ State
| Enumerator | 
|---|
| CONSTRUCTED |  | 
| REFRESHED |  | 
| ERASED |  | 
| UNCREATED |  | 
Definition at line 143 of file IVP1System.h.
 
 
◆ VP1CaloLegoSystem()
      
        
          | VP1CaloLegoSystem::VP1CaloLegoSystem | ( |  | ) |  | 
      
 
 
◆ ~VP1CaloLegoSystem()
      
        
          | VP1CaloLegoSystem::~VP1CaloLegoSystem | ( |  | ) |  | 
      
 
 
◆ activateClickedOutside
  
  | 
        
          | void IVP13DSystem::activateClickedOutside | ( |  | ) |  |  | privateslotinherited | 
 
 
◆ activeState()
◆ allowUpdateGUI()
  
  | 
        
          | void IVP1System::allowUpdateGUI | ( |  | ) |  |  | privateinherited | 
 
 
◆ buildController()
  
  | 
        
          | QWidget * VP1CaloLegoSystem::buildController | ( |  | ) |  |  | virtual | 
 
Reimplemented from IVP13DSystemSimple.
Definition at line 82 of file VP1CaloLegoSystem.cxx.
   84   QWidget* controller = 
new QWidget(0);
 
   85   Ui::frmCaloLegoController ui;
 
   86   ui.setupUi(controller);
 
   90     controller->setEnabled(
false);
 
 
 
 
◆ buildEventSceneGraph()
  
  | 
        
          | void VP1CaloLegoSystem::buildEventSceneGraph | ( | StoreGateSvc * | sg, |  
          |  |  | SoSeparator * | root |  
          |  | ) |  |  |  | virtual | 
 
 
◆ buildExtraDisplayWidget()
  
  | 
        
          | virtual QWidget* IVP13DSystem::buildExtraDisplayWidget | ( |  | ) |  |  | inlinevirtualinherited | 
 
 
◆ buildPermanentSceneGraph()
  
  | 
        
          | void VP1CaloLegoSystem::buildPermanentSceneGraph | ( | StoreGateSvc * | detstore, |  
          |  |  | SoSeparator * | root |  
          |  | ) |  |  |  | virtual | 
 
Reimplemented from IVP13DSystemSimple.
Definition at line 121 of file VP1CaloLegoSystem.cxx.
  129   for (
int i=0;
i<3;
i++) {
 
  136   SoSeparator * dummyCubeSep = 
new SoSeparator;
 
  138   SoMaterial * dummyMat = 
new SoMaterial;
 
  139   dummyMat->transparency = 1.0f;
 
  140   SoTranslation * dummyTransl = 
new SoTranslation;
 
  141   dummyTransl->translation.setValue(SbVec3f(0,3.15,0));
 
  142   SoCube * dummyCube = 
new SoCube;
 
  143   dummyCube->width = 6.7;
 
  144   dummyCube->height = 6.3;
 
  145   dummyCube->depth = 0.1;
 
  146   dummyCubeSep->addChild(dummyMat);
 
  147   dummyCubeSep->addChild(dummyTransl);
 
  148   dummyCubeSep->addChild(dummyCube);
 
  149   root->addChild(dummyCubeSep);
 
  151   for (
int i=0;
i<4;
i++) {
 
 
 
 
◆ channel()
◆ checkboxChanged
  
  | 
        
          | void VP1CaloLegoSystem::checkboxChanged | ( |  | ) |  |  | protectedslot | 
 
Definition at line 457 of file VP1CaloLegoSystem.cxx.
  463   QCheckBox* cb = 
dynamic_cast<QCheckBox*
>(sender());
 
  475     sw->whichChild = SO_SWITCH_ALL;
 
  478     sw->whichChild = SO_SWITCH_NONE;
 
 
 
 
◆ contact_info()
  
  | 
        
          | const QString & IVP1System::contact_info | ( |  | ) | const |  | inherited | 
 
 
◆ controllerWidget()
  
  | 
        
          | QWidget * IVP1System::controllerWidget | ( |  | ) |  |  | inherited | 
 
 
◆ create()
◆ createEtaPhi()
      
        
          | void VP1CaloLegoSystem::createEtaPhi | ( |  | ) |  | 
      
 
Definition at line 217 of file VP1CaloLegoSystem.cxx.
  220   SoDrawStyle *drawStyle = 
new SoDrawStyle();
 
  221   drawStyle->lineWidth=1;
 
  222   SoLightModel *lm = 
new SoLightModel();
 
  223   lm->model=SoLightModel::BASE_COLOR;
 
  225   SoMaterial *
blue= 
new SoMaterial();
 
  226   blue->diffuseColor.setValue(0,0,1);
 
  228   SoMaterial *
green= 
new SoMaterial();
 
  229   green->diffuseColor.setValue(0 , 1, 0);
 
  231   SoMaterial *
yellow= 
new SoMaterial();
 
  232   yellow->diffuseColor.setValue(0, 1.00, 1.00);
 
  234   SoMaterial *magenta = 
new SoMaterial();
 
  235   magenta->diffuseColor.setValue(1.00,0.00, 1.00);
 
  237   for (
int i=0;
i<4;
i++) {
 
  264     SoSeparator *sep1 = 
new SoSeparator();
 
  269       double x = 
t->getX();
 
  270       double y = 
t->getY();
 
  278       SoVertexProperty *vtxProperty = 
new SoVertexProperty();
 
  279       vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
x-
dx+3,
y-
dy+3   ,0));
 
  280       vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
x+
dx-3,
y-
dy+3,   0));
 
  281       vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
x+
dx-3,
y+
dy-3   ,0));
 
  282       vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
x-
dx+3,
y+
dy-3   ,0));
 
  283       vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
x-
dx+3,
y-
dy+3   ,0));
 
  285       SoLineSet *
ls = 
new SoLineSet();
 
  287       ls->vertexProperty=vtxProperty;
 
  308     SoSeparator *sep1 = 
new SoSeparator();
 
  316           double phiMin = cellPtr->getPhiLocalLower();
 
  317           double phiMax = cellPtr->getPhiLocalUpper();
 
  318           double etaMin = cellPtr->getEtaMinNominal();
 
  319           double etaMax = cellPtr->getEtaMaxNominal();
 
  322         phiMin = 
M_PI-phiMin;
 
  323         phiMax = 
M_PI-phiMax;
 
  329           SoVertexProperty *vtxProperty = 
new SoVertexProperty();
 
  330           vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMin  ,0));
 
  331           vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMax  ,0));
 
  332           vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMax,phiMax  ,0));
 
  333           vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMax,phiMin  ,0));
 
  334           vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMin  ,0));
 
  336           SoLineSet *
ls = 
new SoLineSet();
 
  338           ls->vertexProperty=vtxProperty;
 
  363     SoSeparator *sep1 = 
new SoSeparator();
 
  373         double phiMin = cellPtr->getPhiLocalLower();
 
  374         double phiMax = cellPtr->getPhiLocalUpper();
 
  375         double etaMin = cellPtr->getEtaMin();
 
  376         double etaMax = cellPtr->getEtaMax();
 
  379           phiMin = 
M_PI-phiMin;
 
  380           phiMax = 
M_PI-phiMax;
 
  386         SoVertexProperty *vtxProperty = 
new SoVertexProperty();
 
  387         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMin  ,0));
 
  388         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMax  ,0));
 
  389         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMax,phiMax  ,0));
 
  390         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMax,phiMin  ,0));
 
  391         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMin  ,0));
 
  393         SoLineSet *
ls = 
new SoLineSet();
 
  395         ls->vertexProperty=vtxProperty;
 
  412     SoSeparator *sep1 = 
new SoSeparator();
 
  420         double phiMin = cellPtr->getPhiLocalLower();
 
  421         double phiMax = cellPtr->getPhiLocalUpper();
 
  422         double etaMin = cellPtr->getEtaMin();
 
  423         double etaMax = cellPtr->getEtaMax();
 
  426           phiMin = 
M_PI-phiMin;
 
  427           phiMax = 
M_PI-phiMax;
 
  433         SoVertexProperty *vtxProperty = 
new SoVertexProperty();
 
  434         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMin  ,0));
 
  435         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMax  ,0));
 
  436         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMax,phiMax  ,0));
 
  437         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMax,phiMin  ,0));
 
  438         vtxProperty->vertex.set1Value(
cc++,  SbVec3f(
etaMin,phiMin  ,0));
 
  440         SoLineSet *
ls = 
new SoLineSet();
 
  442         ls->vertexProperty=vtxProperty;
 
 
 
 
◆ deleteController()
  
  | 
        
          | void IVP1System::deleteController | ( |  | ) |  |  | privateinherited | 
 
 
◆ deselectAll()
Reimplemented in VP1PrepRawDataSystem.
Definition at line 331 of file IVP13DSystem.cxx.
  335     if (
it->second!=
this)
 
  337     if (
it->first!=exception_sel) {
 
  338       if (
it->first->policy.getValue()!=SoCooperativeSelection::SINGLE) {
 
  340     it->first->deselectAll();
 
  343     if (
it->first->getList()->getLength()==1) {
 
  345       SoPath * 
path = 
static_cast<SoPath*
>(
it->first->getList()->get(0));
 
  347       it->first->deselectAll();
 
 
 
 
◆ detectorStore()
◆ disallowUpdateGUI()
  
  | 
        
          | void IVP1System::disallowUpdateGUI | ( |  | ) |  |  | privateinherited | 
 
 
◆ ensureBuildController()
  
  | 
        
          | void IVP13DSystemSimple::ensureBuildController | ( |  | ) |  |  | inherited | 
 
 
◆ erase()
  
  | 
        
          | void IVP13DSystemSimple::erase | ( |  | ) |  |  | privatevirtualinherited | 
 
 
◆ eventStore()
◆ getCameraList()
  
  | 
        
          | std::set< SoCamera * > IVP13DSystem::getCameraList | ( |  | ) |  |  | inherited | 
 
Definition at line 395 of file IVP13DSystem.cxx.
  400     SoCamera*cam = (*it)->getCamera();
 
  402       cameralist.insert(cam);
 
 
 
 
◆ getSceneGraph()
  
  | 
        
          | SoSeparator * IVP13DSystemSimple::getSceneGraph | ( |  | ) | const |  | privatevirtualinherited | 
 
 
◆ inactiveSystemTurnedActive
  
  | 
        
          | void IVP1System::inactiveSystemTurnedActive | ( |  | ) |  |  | signalinherited | 
 
 
◆ information()
  
  | 
        
          | const QString & IVP1System::information | ( |  | ) | const |  | inherited | 
 
 
◆ isRefreshing()
  
  | 
        
          | bool IVP1System::isRefreshing | ( |  | ) |  |  | privateinherited | 
 
 
◆ itemFromSystemSelected
  
  | 
        
          | void IVP13DSystem::itemFromSystemSelected | ( |  | ) |  |  | signalinherited | 
 
 
◆ message() [1/3]
  
  | 
        
          | void IVP1System::message | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ message() [2/3]
  
  | 
        
          | void IVP1System::message | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 400 of file IVP1System.cxx.
  402   if (addtostart.isEmpty()) {
 
  406   if (addtoend.isEmpty()) {
 
  407     for (
const QString& 
s : 
l)
 
  410     for (
const QString& 
s : 
l)
 
 
 
 
◆ message() [3/3]
  
  | 
        
          | void IVP1System::message | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 362 of file IVP1System.cxx.
  364   if (addtoend.isEmpty()) {
 
  365     for (
const QString& 
s : 
l)
 
  368     for (
const QString& 
s : 
l)
 
 
 
 
◆ messageDebug() [1/3]
  
  | 
        
          | void IVP1System::messageDebug | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ messageDebug() [2/3]
  
  | 
        
          | void IVP1System::messageDebug | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 416 of file IVP1System.cxx.
  418   if (addtostart.isEmpty()) {
 
  422   if (addtoend.isEmpty()) {
 
  423     for (
const QString& 
s : 
l)
 
  426     for (
const QString& 
s : 
l)
 
 
 
 
◆ messageDebug() [3/3]
  
  | 
        
          | void IVP1System::messageDebug | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 374 of file IVP1System.cxx.
  376   if (addtoend.isEmpty()) {
 
  377     for (
const QString& 
s : 
l)
 
  380     for (
const QString& 
s : 
l)
 
 
 
 
◆ messageVerbose() [1/3]
  
  | 
        
          | void IVP1System::messageVerbose | ( | const QString & | str | ) | const |  | inherited | 
 
 
◆ messageVerbose() [2/3]
  
  | 
        
          | void IVP1System::messageVerbose | ( | const QString & | addtostart, |  
          |  |  | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 432 of file IVP1System.cxx.
  436   if (addtostart.isEmpty()) {
 
  440   if (addtoend.isEmpty()) {
 
  441     for (
const QString& 
s : 
l)
 
  444     for (
const QString& 
s : 
l)
 
 
 
 
◆ messageVerbose() [3/3]
  
  | 
        
          | void IVP1System::messageVerbose | ( | const QStringList & | l, |  
          |  |  | const QString & | addtoend = "" |  
          |  | ) |  | const |  | inherited | 
 
Definition at line 386 of file IVP1System.cxx.
  390   if (addtoend.isEmpty()) {
 
  391     for (
const QString& 
s : 
l)
 
  394     for (
const QString& 
s : 
l)
 
 
 
 
◆ name()
  
  | 
        
          | const QString & IVP1System::name | ( |  | ) | const |  | inherited | 
 
 
◆ needErase
  
  | 
        
          | void IVP1System::needErase | ( |  | ) |  |  | signalinherited | 
 
 
◆ refresh()
  
  | 
        
          | void IVP13DSystemSimple::refresh | ( | StoreGateSvc * | storegate | ) |  |  | privatevirtualinherited | 
 
 
◆ registerCamera()
  
  | 
        
          | void IVP13DSystem::registerCamera | ( | SoCamera * | camera | ) |  |  | inherited | 
 
 
◆ registerController()
  
  | 
        
          | void IVP1System::registerController | ( | QWidget * | w | ) |  |  | protectedinherited | 
 
Definition at line 224 of file IVP1System.cxx.
  231     messageVerbose(
"registerController w!=0 = "+QString(
w!=0?
"true":
"false"));
 
  234     message(
"ERROR: Please don't register controllers after create().");
 
  236     message(
"ERROR: Please only register controllers in CONSTRUCTED state.");
 
  238     message(
"ERROR: Attempt to register null controller.");
 
  242     message(
"ERROR: Attempt to register controller twice.");
 
 
 
 
◆ registerSelectionNode()
Definition at line 257 of file IVP13DSystem.cxx.
  260     message(
"registerSelectionNode Error: NULL selection pointer!");
 
  264     message(
"registerSelectionNode Error: Trying to register selection node more than once!");
 
 
 
 
◆ registerViewer()
  
  | 
        
          | void IVP13DSystem::registerViewer | ( | SoQtViewer * | viewer | ) |  |  | inherited | 
 
 
◆ restoreFromState()
  
  | 
        
          | void VP1CaloLegoSystem::restoreFromState | ( | QByteArray | ba | ) |  |  | virtual | 
 
Reimplemented from IVP1System.
Definition at line 508 of file VP1CaloLegoSystem.cxx.
  511   if (
state.version()==0) {
 
  512     message(
"Warning: State data in .vp1 file has obsolete format - ignoring!");
 
  515   if (
state.version()!=1) {
 
  516     message(
"Warning: State data in .vp1 file is in wrong format - ignoring!");
 
  523   QMap<QString,bool> checkboxstate(
state.restore<QMap<QString,bool> >());
 
  525   while (
it.hasNext()) {
 
  527     state.widgetHandled(
it.value());
 
  528     if (checkboxstate.contains(
it.key())) {
 
  529       bool checked = checkboxstate.value(
it.key());
 
  530       if (
it.value()->isChecked()!=checked)
 
  531     it.value()->setChecked(checked);
 
 
 
 
◆ saveState()
  
  | 
        
          | QByteArray VP1CaloLegoSystem::saveState | ( |  | ) |  |  | virtual | 
 
Reimplemented from IVP1System.
Definition at line 488 of file VP1CaloLegoSystem.cxx.
  496   QMap<QString,bool> checkboxstate;
 
  497   while (
it.hasNext()) {
 
  499     checkboxstate.insert(
it.key(),
it.value()->isChecked());
 
 
 
 
◆ serviceLocator()
  
  | 
        
          | ISvcLocator * IVP1System::serviceLocator | ( |  | ) | const |  | inherited | 
 
 
◆ setActiveState()
◆ setCanRegisterController()
  
  | 
        
          | void IVP1System::setCanRegisterController | ( | const bool & | c | ) |  |  | privateinherited | 
 
 
◆ setChannel()
◆ setRefreshing()
  
  | 
        
          | void IVP1System::setRefreshing | ( | const bool & | b | ) |  |  | privateinherited | 
 
 
◆ setState()
◆ setUserSelectionNotificationsEnabled()
Definition at line 310 of file IVP13DSystem.cxx.
  313     message(
"setUserSelectionNotificationsEnabled Error: NULL selection pointer!");
 
  317     message(
"setUserSelectionNotificationsEnabled Error: Called for selection which was never registered!");
 
 
 
 
◆ state()
◆ storeGate()
◆ 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 | 
 
 
◆ sysmessage
  
  | 
        
          | void IVP1System::sysmessage | ( | QString |  | ) | const |  | signalinherited | 
 
 
◆ systemcreate()
  
  | 
        
          | void VP1CaloLegoSystem::systemcreate | ( | StoreGateSvc * | detstore | ) |  |  | virtual | 
 
 
◆ systemerase()
  
  | 
        
          | void VP1CaloLegoSystem::systemerase | ( |  | ) |  |  | virtual | 
 
 
◆ systemuncreate()
  
  | 
        
          | void VP1CaloLegoSystem::systemuncreate | ( |  | ) |  |  | virtual | 
 
 
◆ toolSvc()
  
  | 
        
          | IToolSvc * IVP1System::toolSvc | ( |  | ) | const |  | inherited | 
 
 
◆ uncreate()
  
  | 
        
          | void IVP13DSystemSimple::uncreate | ( |  | ) |  |  | privatevirtualinherited | 
 
 
◆ unregisterSelectionNode()
Definition at line 281 of file IVP13DSystem.cxx.
  284     message(
"unregisterSelectionNode Error: NULL selection pointer!");
 
  288     message(
"registerSelectionNode Error: Trying to unregister unknown selection node!");
 
 
 
 
◆ updateGUI()
  
  | 
        
          | void IVP13DSystemSimple::updateGUI | ( |  | ) |  |  | inlineinherited | 
 
 
◆ userChangedSelection()
◆ userClickedOnBgd()
  
  | 
        
          | void IVP13DSystem::userClickedOnBgd | ( |  | ) |  |  | virtualinherited | 
 
 
◆ userDeselectedSingleNode()
◆ userPickedNode()
  
  | 
        
          | void VP1CaloLegoSystem::userPickedNode | ( | SoNode * | pickedNode, |  
          |  |  | SoPath * | pickedPath |  
          |  | ) |  |  |  | virtual | 
 
 
◆ userSelectedSingleNode()
◆ verbose()
  
  | 
        
          | static bool IVP1System::verbose | ( |  | ) |  |  | inlinestaticinherited | 
 
 
◆ warnOnDisabledNotifications()
  
  | 
        
          | void IVP13DSystemSimple::warnOnDisabledNotifications | ( |  | ) | const |  | inherited | 
 
Definition at line 221 of file IVP13DSystemSimple.cxx.
  223   QList<SoNode*> nodesR;
 
  224   QList<SoNode*> nodesE;
 
  227   if (!nodesR.isEmpty()) {
 
  228     message(
"WARNING: Found "+
str(nodesR.count())+
" node"+QString(nodesR.count()>1?
"s":0)+
" with disabled notifications in permanent scenegraph:");
 
  229     for (SoNode * 
node : nodesR)
 
  230       message(
"  => Node ("+
str(
node)+
") of type "+QString(
node->getTypeId().getName().getString())+
", named "+QString(
node->getName().getString()));
 
  232   if (!nodesE.isEmpty()) {
 
  233     message(
"WARNING: Found "+
str(nodesE.count())+
" node"+QString(nodesE.count()>1?
"s":0)+
" with disabled notifications in event scenegraph:");
 
  234     for  (SoNode * 
node : nodesE)
 
  235       message(
"  => Node ("+
str(
node)+
") of type "+QString(
node->getTypeId().getName().getString())+
", named "+QString(
node->getName().getString()));
 
 
 
 
◆ m_clockwork
◆ m_d
  
  | 
        
          | Imp* IVP13DSystemSimple::m_d |  | privateinherited | 
 
 
◆ s_vp1verbose
The documentation for this class was generated from the following files:
 
JetConstituentVector::iterator iterator
virtual void systemuncreate()
unsigned int beginEtaIndex() const
Returns the first eta index in the region.
const QString contact_info
static std::map< SoCooperativeSelection *, IVP13DSystem * > selection2system
A manager class providing access to readout geometry information for the forward calorimeter.
GeoIntrusivePtr< const HECCell > HECCellConstLink
@Class: HECCellConstLink
EMECDetectorRegion::DetectorSide getEndcapIndex() const
The endcap index.
path
python interpreter configuration --------------------------------------—
Smart Pointer to EMEC Cells. This reference counted link allocates on demand. It audits the total poi...
static void made_selection(void *userdata, SoPath *path)
std::string find(const std::string &s)
return a remapped string
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
std::vector< const FCALModule * >::const_iterator ConstIterator
std::set< SoQtViewer * > viewers
virtual QWidget * buildController()
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
A manager class providing access to readout geometry information for the electromagnetic endcap calor...
static void ensureInit(IVP1System *)
unsigned int beginPhiIndex() const
returns the first phi index in the region.
QMap< QString, QCheckBox * > checkBoxMap
static bool hasTileGeometry()
static bool hasLArGeometry()
FCALModule::ConstIterator endTiles() const
Iteration over FCAL Tiles.
unsigned int getSamplingIndex() const
Returns the Sampling Layer Index.
unsigned int beginPhiIndex() const
returns the first phi index in the region.
void inactiveSystemTurnedActive()
unsigned int beginEtaIndex() const
returns the first eta index in the region.
static const EMBDetectorManager * embDetMgr()
unsigned int beginEtaIndex() const
returns the first eta index in the region.
static void clickedoutside(void *userdata, SoCooperativeSelection *sel)
static QString str(const QString &s)
virtual void buildPermanentSceneGraph(StoreGateSvc *detstore, SoSeparator *root)
static const HECDetectorManager * hecDetMgr()
GeoIntrusivePtr< const EMBCell > EMBCellConstLink
static const bool s_vp1verbose
QMap< QString, SoSwitch * > switchMap
unsigned int beginPhiIndex() const
Returns the first phi index in the region.
virtual QByteArray saveState()
static const FCALDetectorManager * fcalDetMgr()
SoCooperativeSelection * root
std::map< SoNode *, HECCellConstLink > HECMap
virtual void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)=0
std::map< SoNode *, EMBCellConstLink > EMBMap
A manager class providing access to readout geometry information for the electromagnetic barrel calor...
static const EMECDetectorManager * emecDetMgr()
static void ensureInit(IVP1System *)
static const char * prefix_msg()
const QString information
static void start_changeselection(void *userdata, SoSelection *sel)
std::vector< FCALTile >::const_iterator ConstIterator
Description of a region of homogenous granularity in the hadronic endcap calorimeter.
virtual void systemerase()
std::map< SoNode *, const FCALTile * > TileMap
double getFullWidthX(const FCALTile &tile) const
Gets Tile Full Width in X.
QMap< QCheckBox *, QString > checkBoxNamesMap
virtual void systemcreate(StoreGateSvc *detstore)
void ensureBuildController()
StoreGateSvc * eventStore() const
A manager class providing access to readout geometry information for the hadronic endcap calorimeter.
void sysmessage(QString) const
HECDetectorRegion::DetectorSide getEndcapIndex() const
The endcap index.
FCALModule::Module getModuleIndex() const
Returns the Module (1,2, or 3)
static ISvcLocator * serviceLocator()
static StoreGateSvc * eventStore()
static QColor sbcol2qcol(const SbColor &)
std::set< SoCamera * > staticcameras
const std::string selection
void messageDebug(const QString &) const
StoreGateSvc * detectorStore() const
static IToolSvc * toolSvc()
void getNodesWithDisabledNotifications(SoGroup *, QList< SoNode * > &) const
unsigned int getSamplingIndex() const
Returns the Sampling Layer Index.
EMBDetectorRegion::DetectorSide getEndcapIndex() const
The endcap index.
static const char * prefix_debug()
void registerController(QWidget *)
static const char * prefix_verbose()
static void made_deselection(void *userdata, SoPath *path)
double getFullWidthY(const FCALTile &tile) const
Gets Tile Full Width in Y.
SoSeparator * dummyCubeSep
IVP1ChannelWidget * channel
void warnOnDisabledNotifications() const
std::vector< const EMBDetectorRegion * >::const_iterator DetectorRegionConstIterator
QSet< SoCooperativeSelection * > selectionsWithDisabledNotifications
HECCellConstLink getHECCell(unsigned int ieta, unsigned int iphi) const
Retrieve a cell with eta index and phi index.
std::map< SoNode *, EMECCellConstLink > EMECMap
static void finished_changeselection(void *userdata, SoSelection *sel)
std::vector< const HECDetectorRegion * >::const_iterator DetectorRegionConstIterator
virtual void userClickedOnBgd()
def ls(path, longls=False)
bool clickedoutsideScheduled
bool canregistercontroller
static StoreGateSvc * detectorStore()
setScale setgFexType iEta
FCALModule::ConstIterator beginTiles() const
Iteration over FCAL Tiles.
void message(const QString &) const
unsigned int getSamplingIndex() const
Returns the Sampling Layer Index (0-3)
std::vector< const EMECDetectorRegion * >::const_iterator DetectorRegionConstIterator
void messageVerbose(const QString &) const
QWidget * controllerWidget()
virtual void restoreFromState(QByteArray)