ATLAS Offline Software
Classes | Public Types | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
VP1TrackingGeometrySystem Class Reference

#include <VP1TrackingGeometrySystem.h>

Inheritance diagram for VP1TrackingGeometrySystem:
Collaboration diagram for VP1TrackingGeometrySystem:

Classes

struct  Imp
 

Public Types

typedef std::set< SoCamera * > CamList
 
typedef CamList::iterator CamListItr
 
enum  State { CONSTRUCTED =0, REFRESHED, ERASED, UNCREATED }
 
enum  ActiveState { ON =0, OFF }
 

Signals

void itemFromSystemSelected ()
 
void sysmessage (QString) const
 
void inactiveSystemTurnedActive ()
 
void needErase ()
 

Public Member Functions

 VP1TrackingGeometrySystem ()
 
virtual ~VP1TrackingGeometrySystem ()
 
void buildPermanentSceneGraph (StoreGateSvc *detstore, SoSeparator *root)
 
void buildEventSceneGraph (StoreGateSvc *, SoSeparator *)
 
QWidget * buildController ()
 
virtual void systemcreate (StoreGateSvc *detstore)
 
void ensureBuildController ()
 
void updateGUI ()
 
virtual void userPickedNode (SoNode *pickedNode, SoPath *pickedPath)
 
virtual void systemerase ()
 
virtual void systemuncreate ()
 
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 *, 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
 
StoreGateSvcstoreGate () const
 
StoreGateSvceventStore () const
 
StoreGateSvcdetectorStore () const
 
ISvcLocator * serviceLocator () const
 
IToolSvc * toolSvc () const
 
State state () const
 
ActiveState activeState () const
 

Static Public Member Functions

static bool verbose ()
 
static QString str (const QString &s)
 
static QString str (const char *c)
 
static QString str (const bool b)
 
static QString str (const QColor &)
 
static QString str (const SbColor &)
 
static QString str (const VP1Interval &)
 
static QString str (const SbVec2d &)
 
static QString str (const SbVec2f &)
 
static QString str (const SbVec2s &)
 
static QString str (const SbVec3d &)
 
static QString str (const SbVec3f &)
 
static QString str (const SbVec3s &)
 
static QString str (const SbVec4d &)
 
static QString str (const SbVec4f &)
 
static QString str (short int n)
 
static QString str (unsigned short int n)
 
static QString str (long n)
 
static QString str (ulong n)
 
static QString str (int n)
 
static QString str (uint n)
 
static QString str (qlonglong n)
 
static QString str (qulonglong n)
 
static QString str (const double &d)
 
static QString str (const float &f)
 
static QString str (const void *)
 
template<class T >
static QString str (const T *t)
 
template<class T >
static QString str (const QFlags< T > &f)
 
template<class T >
static QString str (const HepGeom::BasicVector3D< T > &t)
 
static QString str (const Amg::Vector3D &t)
 
template<class T >
static QString str (const QList< T > &t)
 

Protected Member Functions

void registerController (QWidget *)
 

Private Slots

void changeTopLevelView ()
 
void retrieveTrackingGeometry ()
 
void activateClickedOutside ()
 

Private Member Functions

void processTrkVolume (const Trk::TrackingVolume *)
 
void processMsVolume (const Trk::TrackingVolume *, VP1ExtraSepLayerHelper *, VP1ExtraSepLayerHelper *)
 
void processTrkLayer (const Trk::Layer *, VP1ExtraSepLayerHelper *, unsigned int colorCode)
 
void processTrkSurface (const Trk::Surface *, VP1ExtraSepLayerHelper *, unsigned int colorCode)
 
void processMsLayDense (const Trk::TrackingVolume *tvol, VP1ExtraSepLayerHelper *sepHelper, VP1ExtraSepLayerHelper *layHelper, int color)
 
QByteArray saveState ()
 
void restoreFromState (QByteArray ba)
 
SoSeparator * getSceneGraph () const
 
void create (StoreGateSvc *detstore)
 
void refresh (StoreGateSvc *storegate)
 
void erase ()
 
void uncreate ()
 
void disallowUpdateGUI ()
 
void allowUpdateGUI ()
 
void setChannel (IVP1ChannelWidget *)
 
IVP1ChannelWidgetchannel () const
 
void deleteController ()
 
void setState (const State &)
 
void setActiveState (const ActiveState &, const bool &donttriggererase=true)
 
bool isRefreshing ()
 
void setRefreshing (const bool &)
 
void setCanRegisterController (const bool &)
 

Private Attributes

Impm_d
 

Static Private Attributes

static const bool s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
 

Detailed Description

Definition at line 34 of file VP1TrackingGeometrySystem.h.

Member Typedef Documentation

◆ CamList

typedef std::set<SoCamera*> IVP13DSystem::CamList
inherited

Definition at line 90 of file IVP13DSystem.h.

◆ CamListItr

typedef CamList::iterator IVP13DSystem::CamListItr
inherited

Definition at line 91 of file IVP13DSystem.h.

Member Enumeration Documentation

◆ ActiveState

enum IVP1System::ActiveState
inherited
Enumerator
ON 
OFF 

Definition at line 144 of file IVP1System.h.

144 { ON=0, OFF };//Whether it is part of the erase/refresh cycle.

◆ State

enum IVP1System::State
inherited
Enumerator
CONSTRUCTED 
REFRESHED 
ERASED 
UNCREATED 

Definition at line 143 of file IVP1System.h.

Constructor & Destructor Documentation

◆ VP1TrackingGeometrySystem()

VP1TrackingGeometrySystem::VP1TrackingGeometrySystem ( )

Definition at line 260 of file VP1TrackingGeometrySystem.cxx.

261  : IVP13DSystemSimple("TrkGeo",
262  "This system displays the tracking geometry.",
263  "Andreas.Salzburger@cern.ch"),
264  m_d( new Imp)
265 {
266  m_d->retrieveSuccess = false;
267  m_d->senderMapFilled = false;
268  m_d->volswitch = nullptr;
269 
270  // beam pipe
271  m_d->beamPipeSwitch = nullptr;
272  m_d->sephelper_beamPipe = nullptr;
273 
274  // Pixel section
275  m_d->pixSurfBarrelSwitch = nullptr;
276  m_d->pixSurfECASwitch = nullptr;
277  m_d->pixSurfECCSwitch = nullptr;
278  m_d->sephelper_pixSurfBarrel = nullptr;
279  m_d->sephelper_pixSurfECA = nullptr;
280  m_d->sephelper_pixSurfECC = nullptr;
281 
282  m_d->pixLayBarrelSwitch = nullptr;
283  m_d->pixLayECASwitch = nullptr;
284  m_d->pixLayECCSwitch = nullptr;
285  m_d->sephelper_pixLayBarrel = nullptr;
286  m_d->sephelper_pixLayECA = nullptr;
287  m_d->sephelper_pixLayECC = nullptr;
288 
289  // SCT section
290  m_d->sctSurfBarrelSwitch = nullptr;
291  m_d->sctSurfECASwitch = nullptr;
292  m_d->sctSurfECCSwitch = nullptr;
293  m_d->sephelper_sctSurfBarrel = nullptr;
294  m_d->sephelper_sctSurfECA = nullptr;
295  m_d->sephelper_sctSurfECC = nullptr;
296 
297  m_d->sctLayBarrelSwitch = nullptr;
298  m_d->sctLayECASwitch = nullptr;
299  m_d->sctLayECCSwitch = nullptr;
300  m_d->sephelper_sctLayBarrel = nullptr;
301  m_d->sephelper_sctLayECA = nullptr;
302  m_d->sephelper_sctLayECC = nullptr;
303 
304  // TRT section
305  m_d->trtSurfBarrelSwitch = nullptr;
306  m_d->trtSurfECASwitch = nullptr;
307  m_d->trtSurfECCSwitch = nullptr;
308  m_d->sephelper_trtSurfBarrel = nullptr;
309  m_d->sephelper_trtSurfECA = nullptr;
310  m_d->sephelper_trtSurfECC = nullptr;
311 
312  m_d->trtLayBarrelSwitch = nullptr;
313  m_d->trtLayECASwitch = nullptr;
314  m_d->trtLayECCSwitch = nullptr;
315  m_d->sephelper_trtLayBarrel = nullptr;
316  m_d->sephelper_trtLayECA = nullptr;
317  m_d->sephelper_trtLayECC = nullptr;
318 
319  // passive layers
320  m_d->passiveLayBarrelSwitch = nullptr;
321  m_d->passiveLayECASwitch = nullptr;
322  m_d->passiveLayECCSwitch = nullptr;
323  m_d->sephelper_passiveLayBarrel = nullptr;
324  m_d->sephelper_passiveLayECA = nullptr;
325  m_d->sephelper_passiveLayECC = nullptr;
326 
327  m_d->clipswitch = nullptr;
328  m_d->msBswitch = nullptr;
329  m_d->msIswitch = nullptr;
330  m_d->msOswitch = nullptr;
331  m_d->msBIswitch = nullptr;
332  m_d->msBMswitch = nullptr;
333  m_d->msBOswitch = nullptr;
334  m_d->msEIswitch = nullptr;
335  m_d->msEMswitch = nullptr;
336  m_d->msEOswitch = nullptr;
337  m_d->msCSswitch = nullptr;
338  m_d->msTGswitch = nullptr;
339  m_d->msBIlayswitch = nullptr;
340  m_d->msBMlayswitch = nullptr;
341  m_d->msBOlayswitch = nullptr;
342  m_d->msEIlayswitch = nullptr;
343  m_d->msEMlayswitch = nullptr;
344  m_d->msEOlayswitch = nullptr;
345  m_d->msCSlayswitch = nullptr;
346  m_d->msTGlayswitch = nullptr;
347  m_d->msBTenvswitch = nullptr;
348  m_d->msETenvswitch = nullptr;
349  m_d->msShenvswitch = nullptr;
350  m_d->msFeenvswitch = nullptr;
351  m_d->msRaenvswitch = nullptr;
352  m_d->msBTdlswitch = nullptr;
353  m_d->msETdlswitch = nullptr;
354  m_d->msShdlswitch = nullptr;
355  m_d->msFedlswitch = nullptr;
356  m_d->msRadlswitch = nullptr;
357 
358  m_d->sephelper_vol = nullptr;
359  m_d->sephelper_msB = nullptr;
360  m_d->sephelper_msI = nullptr;
361  m_d->sephelper_msO = nullptr;
362  m_d->sephelper_msBI = nullptr;
363  m_d->sephelper_msBM = nullptr;
364  m_d->sephelper_msBO = nullptr;
365  m_d->sephelper_msEI = nullptr;
366  m_d->sephelper_msEM = nullptr;
367  m_d->sephelper_msEO = nullptr;
368  m_d->sephelper_msCS = nullptr;
369  m_d->sephelper_msTG = nullptr;
370  m_d->sephelper_msBIlay = nullptr;
371  m_d->sephelper_msBMlay = nullptr;
372  m_d->sephelper_msBOlay = nullptr;
373  m_d->sephelper_msEIlay = nullptr;
374  m_d->sephelper_msEMlay = nullptr;
375  m_d->sephelper_msEOlay = nullptr;
376  m_d->sephelper_msCSlay = nullptr;
377  m_d->sephelper_msTGlay = nullptr;
378  m_d->sephelper_msBTenv = nullptr;
379  m_d->sephelper_msETenv = nullptr;
380  m_d->sephelper_msShenv = nullptr;
381  m_d->sephelper_msFeenv = nullptr;
382  m_d->sephelper_msRaenv = nullptr;
383  m_d->sephelper_msBTdl = nullptr;
384  m_d->sephelper_msETdl = nullptr;
385  m_d->sephelper_msShdl = nullptr;
386  m_d->sephelper_msFedl = nullptr;
387  m_d->sephelper_msRadl = nullptr;
388 
389  m_d->trackvol2sonode = nullptr;
390  m_d->surface2sonode = nullptr;
391 
394  m_d->pushButton_Retrieve = nullptr;
395 
396  m_d->checkBox_pixSurfBarrel = nullptr;
397  m_d->checkBox_pixSurfECA = nullptr;
398  m_d->checkBox_pixSurfECC = nullptr;
399  m_d->checkBox_sctSurfBarrel = nullptr;
400  m_d->checkBox_sctSurfECA = nullptr;
401  m_d->checkBox_sctSurfECC = nullptr;
402  m_d->checkBox_trtSurfBarrel = nullptr;
403  m_d->checkBox_trtSurfECA = nullptr;
404  m_d->checkBox_trtSurfECC = nullptr;
405 
406  m_d->checkBox_beamPipe = nullptr;
407  m_d->checkBox_pixLayBarrel = nullptr;
408  m_d->checkBox_pixLayECA = nullptr;
409  m_d->checkBox_pixLayECC = nullptr;
410  m_d->checkBox_sctLayBarrel = nullptr;
411  m_d->checkBox_sctLayECA = nullptr;
412  m_d->checkBox_sctLayECC = nullptr;
413  m_d->checkBox_trtLayBarrel = nullptr;
414  m_d->checkBox_trtLayECA = nullptr;
415  m_d->checkBox_trtLayECC = nullptr;
416  m_d->checkBox_passiveLayBarrel = nullptr;
417  m_d->checkBox_passiveLayECA = nullptr;
418  m_d->checkBox_passiveLayECC = nullptr;
419 
420  m_d->checkBox_TrackingVolumes = nullptr;
421  m_d->checkBox_ClipPlane = nullptr;
422  m_d->checkBox_MuonStaticFrameB = nullptr;
423  m_d->checkBox_MuonStaticFrameI = nullptr;
424  m_d->checkBox_MuonStaticFrameO = nullptr;
425  m_d->checkBox_msBIvol = nullptr;
426  m_d->checkBox_msBMvol = nullptr;
427  m_d->checkBox_msBOvol = nullptr;
428  m_d->checkBox_msEIvol = nullptr;
429  m_d->checkBox_msEMvol = nullptr;
430  m_d->checkBox_msEOvol = nullptr;
431  m_d->checkBox_msCSvol = nullptr;
432  m_d->checkBox_msTGvol = nullptr;
433  m_d->checkBox_msBIlay = nullptr;
434  m_d->checkBox_msBMlay = nullptr;
435  m_d->checkBox_msBOlay = nullptr;
436  m_d->checkBox_msEIlay = nullptr;
437  m_d->checkBox_msEMlay = nullptr;
438  m_d->checkBox_msEOlay = nullptr;
439  m_d->checkBox_msCSlay = nullptr;
440  m_d->checkBox_msTGlay = nullptr;
441  m_d->checkBox_msBTenv = nullptr;
442  m_d->checkBox_msETenv = nullptr;
443  m_d->checkBox_msShenv = nullptr;
444  m_d->checkBox_msFeenv = nullptr;
445  m_d->checkBox_msRaenv = nullptr;
446  m_d->checkBox_msBTdl = nullptr;
447  m_d->checkBox_msETdl = nullptr;
448  m_d->checkBox_msShdl = nullptr;
449  m_d->checkBox_msFedl = nullptr;
450  m_d->checkBox_msRadl = nullptr;
451 
452  m_d->initialTrackingGeometrySvcName = "AtlasTrackingGeometrySvc";
454 
455  m_d->detStore = nullptr;
456  m_d->root = nullptr;
457 }

◆ ~VP1TrackingGeometrySystem()

VP1TrackingGeometrySystem::~VP1TrackingGeometrySystem ( )
virtual

Definition at line 460 of file VP1TrackingGeometrySystem.cxx.

461 {
462 
465  for ( ; sepHelperIter != sepHelperIterEnd; ++sepHelperIter){
466  if ((*sepHelperIter)) {
467  SoSeparator * sep = (*sepHelperIter)->topSeparator();
468  delete (*sepHelperIter);
469  sep->unref();
470  }
471  }
472 
473  delete m_d->trackvol2sonode;
474  delete m_d->surface2sonode;
475  delete m_d;
476 }

Member Function Documentation

◆ activateClickedOutside

void IVP13DSystem::activateClickedOutside ( )
privateslotinherited

Definition at line 85 of file IVP13DSystem.cxx.

86 {
88  return;
91 }

◆ activeState()

IVP1System::ActiveState IVP1System::activeState ( ) const
inherited

Definition at line 135 of file IVP1System.cxx.

136 {
137  return m_d->activeState;
138 }

◆ allowUpdateGUI()

void IVP1System::allowUpdateGUI ( )
privateinherited

Definition at line 256 of file IVP1System.cxx.

257 {
258  m_d->allowupdategui=true;
259 }

◆ buildController()

QWidget * VP1TrackingGeometrySystem::buildController ( )
virtual

Reimplemented from IVP13DSystemSimple.

Definition at line 1316 of file VP1TrackingGeometrySystem.cxx.

1317 {
1325  {
1326  return new QLabel("Geometry not configured.");
1327  }
1328 
1329  QWidget * controller = new QWidget(nullptr);
1330  Ui::TrackingGeometryControllerForm ui;
1331  ui.setupUi(controller);
1332 
1338  ui.groupBox_idandcalogeometry->setVisible(false);
1339 
1341  ui.groupBox_muonframe->setVisible(false);
1342  ui.groupBox_muonactivematerial->setVisible(false);
1343  ui.groupBox_muoninertmaterial->setVisible(false);
1344  }
1345 
1346  connect(ui.checkBox_TrackingVolumes,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1347 
1348  connect(ui.checkBox_BeamPipeLayer,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1349  connect(ui.checkBox_LayersECA,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1350  connect(ui.checkBox_LayersBarrel,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1351  connect(ui.checkBox_LayersECC,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1352  connect(ui.checkBox_PixelLayersECA,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1353  connect(ui.checkBox_PixelLayersBarrel,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1354  connect(ui.checkBox_PixelLayersECC,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1355  connect(ui.checkBox_SctLayersECA,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1356  connect(ui.checkBox_SctLayersBarrel,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1357  connect(ui.checkBox_SctLayersECC,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1358  connect(ui.checkBox_TrtLayersECA,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1359  connect(ui.checkBox_TrtLayersBarrel,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1360  connect(ui.checkBox_TrtLayersECC,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1361 
1362  connect(ui.checkBox_PixelSurfacesECA,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1363  connect(ui.checkBox_PixelSurfacesBarrel,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1364  connect(ui.checkBox_PixelSurfacesECC,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1365  connect(ui.checkBox_SctSurfacesECA,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1366  connect(ui.checkBox_SctSurfacesBarrel,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1367  connect(ui.checkBox_SctSurfacesECC,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1368 
1369  connect(ui.checkBox_ClipPlane,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1370  connect(ui.checkBox_MuonStaticFrameB,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1371  connect(ui.checkBox_MuonStaticFrameI,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1372  connect(ui.checkBox_MuonStaticFrameO,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1373  connect(ui.pushButton_Retrieve,SIGNAL(clicked()),this,SLOT(retrieveTrackingGeometry()));
1374  connect(ui.checkBoxBIVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1375  connect(ui.checkBoxBMVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1376  connect(ui.checkBoxBOVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1377  connect(ui.checkBoxEIVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1378  connect(ui.checkBoxEMVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1379  connect(ui.checkBoxEOVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1380  connect(ui.checkBoxCSCVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1381  connect(ui.checkBoxTGCVol,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1382  connect(ui.checkBoxBILay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1383  connect(ui.checkBoxBMLay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1384  connect(ui.checkBoxBOLay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1385  connect(ui.checkBoxEILay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1386  connect(ui.checkBoxEMLay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1387  connect(ui.checkBoxEOLay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1388  connect(ui.checkBoxCSCLay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1389  connect(ui.checkBoxTGCLay,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1390  connect(ui.checkBoxBTEnv,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1391  connect(ui.checkBoxETEnv,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1392  connect(ui.checkBoxShEnv,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1393  connect(ui.checkBoxFeetEnv,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1394  connect(ui.checkBoxRailEnv,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1395  connect(ui.checkBoxBTDL,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1396  connect(ui.checkBoxETDL,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1397  connect(ui.checkBoxShDL,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1398  connect(ui.checkBoxFeetDL,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1399  connect(ui.checkBoxRailDL,SIGNAL(toggled(bool)),this,SLOT(changeTopLevelView()));
1400  connect( ui.lineEdit_TrackingGeometrySvcName, SIGNAL( returnPressed()),
1401  ui.pushButton_Retrieve, SIGNAL( clicked()));
1402  connect( ui.lineEdit_TrackingGeometryName, SIGNAL( returnPressed()),
1403  ui.pushButton_Retrieve, SIGNAL( clicked()));
1404 
1405  m_d->lineEdit_TrackingGeometrySvcName = ui.lineEdit_TrackingGeometrySvcName;
1406  m_d->lineEdit_TrackingGeometryName = ui.lineEdit_TrackingGeometryName;
1407 
1410 
1411  m_d->pushButton_Retrieve = ui.pushButton_Retrieve;
1412  m_d->checkBox_TrackingVolumes = ui.checkBox_TrackingVolumes;
1413 
1414  m_d->checkBox_beamPipe = ui.checkBox_BeamPipeLayer;
1415  m_d->checkBox_pixLayECA = ui.checkBox_PixelLayersECA;
1416  m_d->checkBox_pixLayBarrel = ui.checkBox_PixelLayersBarrel;
1417  m_d->checkBox_pixLayECC = ui.checkBox_PixelLayersECC;
1418  m_d->checkBox_sctLayECA = ui.checkBox_SctLayersECA;
1419  m_d->checkBox_sctLayBarrel = ui.checkBox_SctLayersBarrel;
1420  m_d->checkBox_sctLayECC = ui.checkBox_SctLayersECC;
1421  m_d->checkBox_trtLayECA = ui.checkBox_TrtLayersECA;
1422  m_d->checkBox_trtLayBarrel = ui.checkBox_TrtLayersBarrel;
1423  m_d->checkBox_trtLayECC = ui.checkBox_TrtLayersECC;
1424  m_d->checkBox_passiveLayECA = ui.checkBox_LayersECA;
1425  m_d->checkBox_passiveLayBarrel = ui.checkBox_LayersBarrel;
1426  m_d->checkBox_passiveLayECC = ui.checkBox_LayersECC;
1427 
1428  m_d->checkBox_pixSurfECA = ui.checkBox_PixelSurfacesECA;
1429  m_d->surfacesNames.emplace_back("PixelECA");
1430  m_d->checkBox_pixSurfBarrel = ui.checkBox_PixelSurfacesBarrel;
1431  m_d->surfacesNames.emplace_back("PixelBarrel");
1432  m_d->checkBox_pixSurfECC = ui.checkBox_PixelSurfacesECC;
1433  m_d->surfacesNames.emplace_back("PixelECC");
1434  m_d->checkBox_sctSurfECA = ui.checkBox_SctSurfacesECA;
1435  m_d->surfacesNames.emplace_back("SCT_ECA");
1436  m_d->checkBox_sctSurfBarrel = ui.checkBox_SctSurfacesBarrel;
1437  m_d->surfacesNames.emplace_back("SCT_Barrel");
1438  m_d->checkBox_sctSurfECC = ui.checkBox_SctSurfacesECC;
1439  m_d->surfacesNames.emplace_back("SCT_ECC");
1440 
1441  m_d->checkBox_ClipPlane = ui.checkBox_ClipPlane;
1442  m_d->checkBox_MuonStaticFrameB = ui.checkBox_MuonStaticFrameB;
1443  m_d->checkBox_MuonStaticFrameI = ui.checkBox_MuonStaticFrameI;
1444  m_d->checkBox_MuonStaticFrameO = ui.checkBox_MuonStaticFrameO;
1445  m_d->checkBox_msBIvol = ui.checkBoxBIVol;
1446  m_d->checkBox_msBMvol = ui.checkBoxBMVol;
1447  m_d->checkBox_msBOvol = ui.checkBoxBOVol;
1448  m_d->checkBox_msEIvol = ui.checkBoxEIVol;
1449  m_d->checkBox_msEMvol = ui.checkBoxEMVol;
1450  m_d->checkBox_msEOvol = ui.checkBoxEOVol;
1451  m_d->checkBox_msCSvol = ui.checkBoxCSCVol;
1452  m_d->checkBox_msTGvol = ui.checkBoxTGCVol;
1453  m_d->checkBox_msBIlay = ui.checkBoxBILay;
1454  m_d->checkBox_msBMlay = ui.checkBoxBMLay;
1455  m_d->checkBox_msBOlay = ui.checkBoxBOLay;
1456  m_d->checkBox_msEIlay = ui.checkBoxEILay;
1457  m_d->checkBox_msEMlay = ui.checkBoxEMLay;
1458  m_d->checkBox_msEOlay = ui.checkBoxEOLay;
1459  m_d->checkBox_msCSlay = ui.checkBoxCSCLay;
1460  m_d->checkBox_msTGlay = ui.checkBoxTGCLay;
1461  m_d->checkBox_msBTenv = ui.checkBoxBTEnv;
1462  m_d->checkBox_msBTdl = ui.checkBoxBTDL;
1463  m_d->checkBox_msETenv = ui.checkBoxETEnv;
1464  m_d->checkBox_msETdl = ui.checkBoxETDL;
1465  m_d->checkBox_msShenv = ui.checkBoxShEnv;
1466  m_d->checkBox_msShdl = ui.checkBoxShDL;
1467  m_d->checkBox_msFeenv = ui.checkBoxFeetEnv;
1468  m_d->checkBox_msFedl = ui.checkBoxFeetDL;
1469  m_d->checkBox_msRaenv = ui.checkBoxRailEnv;
1470  m_d->checkBox_msRadl = ui.checkBoxRailDL;
1471 
1472 
1473 
1474  std::cout << " Filling map entry [ " << m_d->checkBox_pixSurfBarrel << " ] - with " << m_d->pixSurfBarrelSwitch << std::endl;
1475 
1476  // loop and set initial state
1477  std::map<QObject*,std::pair<SoSwitch*,bool> >::iterator chbMapIter = m_d->checkBoxSwitchMap.begin();
1478  std::map<QObject*,std::pair<SoSwitch*,bool> >::iterator chbMapIterEnd = m_d->checkBoxSwitchMap.end();
1479 
1480  for ( ; chbMapIter != chbMapIterEnd; ++chbMapIter ){
1481  QCheckBox* checkBox = dynamic_cast<QCheckBox*>((chbMapIter)->first);
1482  if (checkBox) checkBox->setChecked( ((chbMapIter)->second).second );
1483 
1484  }
1485  return controller;
1486 }

◆ buildEventSceneGraph()

void VP1TrackingGeometrySystem::buildEventSceneGraph ( StoreGateSvc ,
SoSeparator *   
)
inlinevirtual

Implements IVP13DSystemSimple.

Definition at line 42 of file VP1TrackingGeometrySystem.h.

42 {};

◆ buildExtraDisplayWidget()

virtual QWidget* IVP13DSystem::buildExtraDisplayWidget ( )
inlinevirtualinherited

Definition at line 106 of file IVP13DSystem.h.

106 { return 0; }

◆ buildPermanentSceneGraph()

void VP1TrackingGeometrySystem::buildPermanentSceneGraph ( StoreGateSvc detstore,
SoSeparator *  root 
)
virtual

Reimplemented from IVP13DSystemSimple.

Definition at line 479 of file VP1TrackingGeometrySystem.cxx.

480 {
481  m_d->detStore = detstore;
482  m_d->root = root;
483 }

◆ changeTopLevelView

void VP1TrackingGeometrySystem::changeTopLevelView ( )
privateslot

Definition at line 1490 of file VP1TrackingGeometrySystem.cxx.

1491 {
1492  if (! m_d->retrieveSuccess)
1493  return;
1494 
1495 
1496  if (! m_d->senderMapFilled ){
1497  // register the map for states and signal handling
1498  m_d->checkBoxSwitchMap[m_d->checkBox_TrackingVolumes] = std::make_pair(m_d->volswitch,false);
1500  m_d->checkBoxSwitchMap[m_d->checkBox_pixSurfECA] = std::make_pair(m_d->pixSurfECASwitch,false);
1501  m_d->checkBoxSwitchMap[m_d->checkBox_pixSurfECC] = std::make_pair(m_d->pixSurfECCSwitch,false);
1503  m_d->checkBoxSwitchMap[m_d->checkBox_sctSurfECA] = std::make_pair(m_d->sctSurfECASwitch,false);
1504  m_d->checkBoxSwitchMap[m_d->checkBox_sctSurfECC] = std::make_pair(m_d->sctSurfECCSwitch,false);
1506  m_d->checkBoxSwitchMap[m_d->checkBox_trtSurfECA] = std::make_pair(m_d->trtSurfECASwitch,false);
1507  m_d->checkBoxSwitchMap[m_d->checkBox_trtSurfECC] = std::make_pair(m_d->trtSurfECCSwitch,false);
1508  m_d->checkBoxSwitchMap[m_d->checkBox_beamPipe] = std::make_pair(m_d->beamPipeSwitch,false);
1510  m_d->checkBoxSwitchMap[m_d->checkBox_pixLayECA] = std::make_pair(m_d->pixLayECASwitch,false);
1511  m_d->checkBoxSwitchMap[m_d->checkBox_pixLayECC] = std::make_pair(m_d->pixLayECCSwitch,false);
1513  m_d->checkBoxSwitchMap[m_d->checkBox_sctLayECA] = std::make_pair(m_d->sctLayECASwitch,false);
1514  m_d->checkBoxSwitchMap[m_d->checkBox_sctLayECC] = std::make_pair(m_d->sctLayECCSwitch,false);
1516  m_d->checkBoxSwitchMap[m_d->checkBox_trtLayECA] = std::make_pair(m_d->trtLayECASwitch,false);
1517  m_d->checkBoxSwitchMap[m_d->checkBox_trtLayECC] = std::make_pair(m_d->trtLayECCSwitch,false);
1521  m_d->checkBoxSwitchMap[m_d->checkBox_ClipPlane] = std::make_pair(m_d->clipswitch,false);
1522  m_d->checkBoxSwitchMap[m_d->checkBox_MuonStaticFrameB] = std::make_pair(m_d->msBswitch,false);
1523  m_d->checkBoxSwitchMap[m_d->checkBox_MuonStaticFrameI] = std::make_pair(m_d->msIswitch,false);
1524  m_d->checkBoxSwitchMap[m_d->checkBox_MuonStaticFrameO] = std::make_pair(m_d->msOswitch,false);
1525  m_d->checkBoxSwitchMap[m_d->checkBox_msBIvol] = std::make_pair(m_d->msBIswitch,false);
1526  m_d->checkBoxSwitchMap[m_d->checkBox_msBIlay] = std::make_pair(m_d->msBMswitch,false);
1527  m_d->checkBoxSwitchMap[m_d->checkBox_msBMvol] = std::make_pair(m_d->msBOswitch,false);
1528  m_d->checkBoxSwitchMap[m_d->checkBox_msBMlay] = std::make_pair(m_d->msEIswitch,false);
1529  m_d->checkBoxSwitchMap[m_d->checkBox_msBOvol] = std::make_pair(m_d->msEMswitch,false);
1530  m_d->checkBoxSwitchMap[m_d->checkBox_msBOlay] = std::make_pair(m_d->msEOswitch,false);
1531  m_d->checkBoxSwitchMap[m_d->checkBox_msEIvol] = std::make_pair(m_d->msCSswitch,false);
1532  m_d->checkBoxSwitchMap[m_d->checkBox_msEIlay] = std::make_pair(m_d->msTGswitch,false);
1533  m_d->checkBoxSwitchMap[m_d->checkBox_msEMvol] = std::make_pair(m_d->msBIlayswitch,false);
1534  m_d->checkBoxSwitchMap[m_d->checkBox_msEMlay] = std::make_pair(m_d->msBMlayswitch,false);
1535  m_d->checkBoxSwitchMap[m_d->checkBox_msEOvol] = std::make_pair(m_d->msBOlayswitch,false);
1536  m_d->checkBoxSwitchMap[m_d->checkBox_msEOlay] = std::make_pair(m_d->msEIlayswitch,false);
1537  m_d->checkBoxSwitchMap[m_d->checkBox_msCSvol] = std::make_pair(m_d->msEMlayswitch,false);
1538  m_d->checkBoxSwitchMap[m_d->checkBox_msCSlay] = std::make_pair(m_d->msEOlayswitch,false);
1539  m_d->checkBoxSwitchMap[m_d->checkBox_msTGvol] = std::make_pair(m_d->msCSlayswitch,false);
1540  m_d->checkBoxSwitchMap[m_d->checkBox_msTGlay] = std::make_pair(m_d->msTGlayswitch,false);
1541  m_d->checkBoxSwitchMap[m_d->checkBox_msBTenv] = std::make_pair(m_d->msBTenvswitch,false);
1542  m_d->checkBoxSwitchMap[m_d->checkBox_msETenv] = std::make_pair(m_d->msETenvswitch,false);
1543  m_d->checkBoxSwitchMap[m_d->checkBox_msShenv] = std::make_pair(m_d->msShenvswitch,false);
1544  m_d->checkBoxSwitchMap[m_d->checkBox_msFeenv] = std::make_pair(m_d->msFeenvswitch,false);
1545  m_d->checkBoxSwitchMap[m_d->checkBox_msRaenv] = std::make_pair(m_d->msRaenvswitch,false);
1546  m_d->checkBoxSwitchMap[m_d->checkBox_msBTdl] = std::make_pair(m_d->msBTdlswitch,false);
1547  m_d->checkBoxSwitchMap[m_d->checkBox_msETdl] = std::make_pair(m_d->msETdlswitch,false);
1548  m_d->checkBoxSwitchMap[m_d->checkBox_msShdl] = std::make_pair(m_d->msShdlswitch,false);
1549  m_d->checkBoxSwitchMap[m_d->checkBox_msFedl] = std::make_pair(m_d->msFedlswitch,false);
1550  m_d->checkBoxSwitchMap[m_d->checkBox_msRadl] = std::make_pair(m_d->msRadlswitch,false);
1551  m_d->senderMapFilled = true;
1552  }
1553  // loop and set initial state
1554  std::map<QObject*,std::pair<SoSwitch*,bool> >::iterator chbMapIterEnd = m_d->checkBoxSwitchMap.end();
1555  std::map<QObject*,std::pair<SoSwitch*,bool> >::iterator chbMapIter = m_d->checkBoxSwitchMap.find(sender());
1556 
1557  if ( chbMapIter != chbMapIterEnd ) {
1558  QCheckBox* checkBox = dynamic_cast<QCheckBox*>((chbMapIter)->first);
1559  SoSwitch* soswitch = ((chbMapIter)->second).first;
1560  if (checkBox && soswitch)
1561  soswitch->whichChild = checkBox->isChecked() ? SO_SWITCH_ALL : SO_SWITCH_NONE;
1562  } else {
1563  message("ERROR: Unknown checkbox");
1564  }
1565 }

◆ channel()

IVP1ChannelWidget * IVP1System::channel ( ) const
privateinherited

Definition at line 275 of file IVP1System.cxx.

276 {
277  if (VP1Msg::verbose()&&!m_d->channel){
278  messageVerbose("WARNING channel() returning NULL");
279  }
280  assert(m_d->channel);
281  return m_d->channel;
282 }

◆ contact_info()

const QString & IVP1System::contact_info ( ) const
inherited

Definition at line 62 of file IVP1System.cxx.

63 {
64  return m_d->contact_info;
65 }

◆ controllerWidget()

QWidget * IVP1System::controllerWidget ( )
inherited

Definition at line 202 of file IVP1System.cxx.

202  {
203  if (VP1Msg::verbose()) {
204  messageVerbose("controllerWidget()");
205  messageVerbose("registerController m_d->state==ERASED = "+QString(m_d->state==ERASED?"true":"false"));
206  messageVerbose("registerController m_d->state==REFRESHED = "+QString(m_d->state==REFRESHED?"true":"false"));
207  }
208  assert(m_d->state==REFRESHED||m_d->state==ERASED);
209  return m_d->controller;
210  }

◆ create()

void IVP13DSystemSimple::create ( StoreGateSvc detstore)
privatevirtualinherited

Implements IVP1System.

Definition at line 133 of file IVP13DSystemSimple.cxx.

134 {
135  if(VP1Msg::verbose()){
136  messageVerbose("IVP13DSystemSimple create");
137  }
138  assert(!m_d->wasrefreshed);
139  assert(!m_d->wascreated);
140  ensureBuildController();//TODO: Move to refresh.
141  m_d->wascreated=true;
142  m_d->wasrefreshed=false;
143 }

◆ deleteController()

void IVP1System::deleteController ( )
privateinherited

Definition at line 213 of file IVP1System.cxx.

214 {
215  if (VP1Msg::verbose()){
216  messageVerbose("deleteController()");
217  }
218  if (m_d->controller)
219  m_d->controller->deleteLater();
220  m_d->controller = 0;
221 }

◆ deselectAll()

void IVP13DSystem::deselectAll ( SoCooperativeSelection exception_sel = 0)
virtualinherited

Reimplemented in VP1PrepRawDataSystem.

Definition at line 331 of file IVP13DSystem.cxx.

332 {
334  for (it = Imp::selection2system.begin(); it!=itE;++it) {
335  if (it->second!=this)
336  continue;
337  if (it->first!=exception_sel) {
338  if (it->first->policy.getValue()!=SoCooperativeSelection::SINGLE) {
339  Imp::start_changeselection(this, it->first);
340  it->first->deselectAll();
341  Imp::finished_changeselection(this, it->first);
342  } else {
343  if (it->first->getList()->getLength()==1) {
344  Imp::start_changeselection(this, it->first);
345  SoPath * path = static_cast<SoPath*>(it->first->getList()->get(0));
346  Imp::made_deselection(it->first,path);
347  it->first->deselectAll();
348  Imp::finished_changeselection(this, it->first);
349  }
350  }
351  }
352  }
353 }

◆ detectorStore()

StoreGateSvc * IVP1System::detectorStore ( ) const
inherited

Definition at line 318 of file IVP1System.cxx.

319 {
321 }

◆ disallowUpdateGUI()

void IVP1System::disallowUpdateGUI ( )
privateinherited

Definition at line 250 of file IVP1System.cxx.

251 {
252  m_d->allowupdategui=false;
253 }

◆ ensureBuildController()

void IVP13DSystemSimple::ensureBuildController ( )
inherited

Definition at line 90 of file IVP13DSystemSimple.cxx.

91 {
92  if (m_d->controllerBuilt)
93  return;
94  m_d->controllerBuilt=true;
95  if(VP1Msg::verbose()){
96  messageVerbose("IVP13DSystemSimple build controller");
97  }
98  QWidget * controller = buildController();
99  if (controller)
100  registerController(controller);
101  if(VP1Msg::verbose()){
102  messageVerbose("IVP13DSystemSimple controller was = "+str(controller));
103  }
104 }

◆ erase()

void IVP13DSystemSimple::erase ( )
privatevirtualinherited

Implements IVP1System.

Definition at line 173 of file IVP13DSystemSimple.cxx.

174 {
175  if(VP1Msg::verbose()){
176  messageVerbose("IVP13DSystemSimple::erase() start");
177  }
178  assert(m_d->wascreated);
179  assert(m_d->wasrefreshed);
180 
181  bool saveE = m_d->rootE->enableNotify(false);
182 
183  systemerase();
184  if(VP1Msg::verbose()){
185  messageVerbose("IVP13DSystemSimple::erase() Removing all event objects from scene");
187  }
188  m_d->rootE->removeAllChildren();
189 
190  if (saveE) {
191  m_d->rootE->enableNotify(true);
192  m_d->rootE->touch();
193  }
194 
195  m_d->wasrefreshed=false;
196  if(VP1Msg::verbose()){
197  messageVerbose("IVP13DSystemSimple::erase() end");
198  }
199 }

◆ eventStore()

StoreGateSvc * IVP1System::eventStore ( ) const
inherited

Definition at line 312 of file IVP1System.cxx.

313 {
314  return VP1AthenaPtrs::eventStore();
315 }

◆ getCameraList()

std::set< SoCamera * > IVP13DSystem::getCameraList ( )
inherited

Definition at line 395 of file IVP13DSystem.cxx.

396 {
397  std::set<SoCamera*> cameralist = m_d->staticcameras;
398  std::set<SoQtViewer*>::const_iterator it, itE=m_d->viewers.end();
399  for (it=m_d->viewers.begin();it!=itE;++it) {
400  SoCamera*cam = (*it)->getCamera();
401  if (cam)
402  cameralist.insert(cam);
403  }
404 
405  //m_d->camerasfromviewer
406  return cameralist;
407 }

◆ getSceneGraph()

SoSeparator * IVP13DSystemSimple::getSceneGraph ( ) const
privatevirtualinherited

Implements IVP13DSystem.

Definition at line 127 of file IVP13DSystemSimple.cxx.

128 {
129  return static_cast<SoSeparator*>(m_d->root);
130 }

◆ inactiveSystemTurnedActive

void IVP1System::inactiveSystemTurnedActive ( )
signalinherited

◆ information()

const QString & IVP1System::information ( ) const
inherited

Definition at line 56 of file IVP1System.cxx.

57 {
58  return m_d->information;
59 }

◆ isRefreshing()

bool IVP1System::isRefreshing ( )
privateinherited

Definition at line 108 of file IVP1System.cxx.

109 {
110  return m_d->refreshing;
111 }

◆ itemFromSystemSelected

void IVP13DSystem::itemFromSystemSelected ( )
signalinherited

◆ message() [1/3]

void IVP1System::message ( const QString &  str) const
inherited

Definition at line 336 of file IVP1System.cxx.

337 {
338  if (receivers(SIGNAL(sysmessage(QString))) > 0){
339  sysmessage(str);
340  }
341  else{
342  std::cout<<VP1Msg::prefix_msg()<<" ["<<m_d->name.toStdString()<<"]: "<<str.toStdString()<<std::endl;
343  }
344 }

◆ 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.

401 {
402  if (addtostart.isEmpty()) {
403  message(l,addtoend);
404  return;
405  }
406  if (addtoend.isEmpty()) {
407  for (QString s : l)
408  message(addtostart+s);
409  } else {
410  for (QString s : l)
411  message(addtostart+s+addtoend);
412  }
413 }

◆ message() [3/3]

void IVP1System::message ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 362 of file IVP1System.cxx.

363 {
364  if (addtoend.isEmpty()) {
365  for (QString s : l)
366  message(s);
367  } else {
368  for (QString s : l)
369  message(s+addtoend);
370  }
371 }

◆ messageDebug() [1/3]

void IVP1System::messageDebug ( const QString &  str) const
inherited

Definition at line 347 of file IVP1System.cxx.

348 {
349  if (VP1Msg::debug())
350  std::cout<<VP1Msg::prefix_debug()<<" ["<<m_d->name.toStdString()<<"]: "<<str.toStdString()<<std::endl;
351 }

◆ 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.

417 {
418  if (addtostart.isEmpty()) {
419  messageDebug(l,addtoend);
420  return;
421  }
422  if (addtoend.isEmpty()) {
423  for (QString s : l)
424  messageDebug(addtostart+s);
425  } else {
426  for (QString s : l)
427  messageDebug(addtostart+s+addtoend);
428  }
429 }

◆ messageDebug() [3/3]

void IVP1System::messageDebug ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 374 of file IVP1System.cxx.

375 {
376  if (addtoend.isEmpty()) {
377  for (QString s : l)
378  messageDebug(s);
379  } else {
380  for (QString s : l)
381  messageDebug(s+addtoend);
382  }
383 }

◆ messageVerbose() [1/3]

void IVP1System::messageVerbose ( const QString &  str) const
inherited

Definition at line 354 of file IVP1System.cxx.

355 {
356  if (VP1Msg::verbose())
357  std::cout<<VP1Msg::prefix_verbose()<<" ["<<m_d->name.toStdString()<<"]: "<<str.toStdString()<<std::endl;
358 }

◆ 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.

433 {
434  if (!VP1Msg::verbose())
435  return;
436  if (addtostart.isEmpty()) {
437  messageVerbose(l,addtoend);
438  return;
439  }
440  if (addtoend.isEmpty()) {
441  for (QString s : l)
442  messageVerbose(addtostart+s);
443  } else {
444  for (QString s : l)
445  messageVerbose(addtostart+s+addtoend);
446  }
447 }

◆ messageVerbose() [3/3]

void IVP1System::messageVerbose ( const QStringList &  l,
const QString &  addtoend = "" 
) const
inherited

Definition at line 386 of file IVP1System.cxx.

387 {
388  if (!VP1Msg::verbose())
389  return;
390  if (addtoend.isEmpty()) {
391  for (QString s : l)
392  messageVerbose(s);
393  } else {
394  for (QString s : l)
395  messageVerbose(s+addtoend);
396  }
397 }

◆ name()

const QString & IVP1System::name ( ) const
inherited

Definition at line 50 of file IVP1System.cxx.

51 {
52  return m_d->name;
53 }

◆ needErase

void IVP1System::needErase ( )
signalinherited

◆ processMsLayDense()

void VP1TrackingGeometrySystem::processMsLayDense ( const Trk::TrackingVolume tvol,
VP1ExtraSepLayerHelper sepHelper,
VP1ExtraSepLayerHelper layHelper,
int  color 
)
private

Definition at line 1262 of file VP1TrackingGeometrySystem.cxx.

1263 {
1264  if (!tvol) return;
1265 
1266  // ordered layers
1267  const Trk::BinnedArray< Trk::Layer >* confinedLayers = tvol->confinedLayers();
1268  if (confinedLayers){
1269  Trk::BinnedArraySpan<Trk::Layer const * const> layerVector = confinedLayers->arrayObjects();
1270  Trk::BinnedArraySpan<Trk::Layer const * const>::iterator layerIter = layerVector.begin();
1271  // loop over layers
1272  for ( ; layerIter != layerVector.end(); ++layerIter){
1273  // push_back the layer
1274  if (*layerIter){
1275  SoNode * node = m_d->surface2sonode->translateSurface((*layerIter)->surfaceRepresentation());
1276  if (node && layHelper ) {
1277  if ((*layerIter)->layerType()>0)
1279  else
1281  }
1282  }
1283  }
1284  }
1285  // unordered layers
1287  if (!confALays.empty()) {
1288  // loop over layers
1289  for (const Trk::Layer* const layerIter : confALays) {
1290  // push_back the layer
1291  if (layerIter) {
1293  layerIter->surfaceRepresentation());
1294  if (node && layHelper) {
1295  if (layerIter->layerType() > 0)
1296  layHelper->addNodeUnderMaterial(
1298  else
1299  layHelper->addNodeUnderMaterial(
1301  }
1302  }
1303  }
1304  }
1305  // dense volumes
1306  const auto confVols = tvol->confinedDenseVolumes();
1307  if (!confVols.empty()){
1308  auto volIter = confVols.begin();
1309  for ( ; volIter != confVols.end(); ++volIter){
1310  if (*volIter && sepHelper ) processMsVolume( *volIter, nullptr, layHelper );
1311  }
1312  }
1313 }

◆ processMsVolume()

void VP1TrackingGeometrySystem::processMsVolume ( const Trk::TrackingVolume tvol,
VP1ExtraSepLayerHelper sepHelper,
VP1ExtraSepLayerHelper layHelper 
)
private

Definition at line 1141 of file VP1TrackingGeometrySystem.cxx.

1142 {
1143  if (!tvol)
1144  return;
1145 
1146  std::string name = tvol->volumeName();
1147 
1148  // only lowest level volumes displayed
1149 
1150  if (!tvol->confinedVolumes()) {
1151  SoNode * volnode = m_d->trackvol2sonode->translateTrackingVolume(*tvol);
1152  if (!volnode) {
1153  message("Error: Volume shape not implemented");
1154  return;
1155  }
1156 
1157  if ( name.substr(0,4) == "Muon" && tvol->colorCode() > 0 ) {
1158  if ( fabs(tvol->center().z())>12900 ) m_d->sephelper_msO->addNodeUnderMaterial(volnode,m_d->colorCodeConverter.getMaterialFromColorCode( tvol->colorCode()));
1159  else if ( fabs(tvol->center().z())>6750 ) m_d->sephelper_msI->addNodeUnderMaterial(volnode,m_d->colorCodeConverter.getMaterialFromColorCode( tvol->colorCode()));
1161  }
1162 
1163  // envelopes
1164  if ( sepHelper ) {
1165  unsigned int colorCode = 17;
1166  if ( name.substr(0,3)=="MDT") colorCode = 2;
1167  if ( name.substr(0,3)=="RPC") colorCode = 4;
1168  if ( name.substr(0,2)=="CS") colorCode = 5;
1169  if ( name.substr(0,1)=="T") colorCode = 6;
1170  sepHelper->addNodeUnderMaterial(volnode,m_d->colorCodeConverter.getMaterialFromColorCode(colorCode) );
1171  if (layHelper) processMsLayDense( tvol, sepHelper, layHelper, colorCode );
1172  } else if ( layHelper ) {
1173  unsigned int colorCode = 13;
1174  layHelper->addNodeUnderMaterial(volnode,m_d->colorCodeConverter.getMaterialFromColorCode(colorCode) );
1175  }
1176 
1177  } else {
1178  const Trk::BinnedArray<Trk::TrackingVolume >* confinedVolumes = tvol->confinedVolumes();
1179  // get the confined volumes and loop over it -> call recursively
1180  if (confinedVolumes){
1184  for ( ; volIter != volIterEnd; ++volIter)
1185  if (*volIter) processMsVolume(*volIter,sepHelper, layHelper);
1186  }
1187  }
1188 
1190  if (!detVols.empty()) {
1191  // identify separators
1193  for ( ;dIter!=detVols.end(); ++dIter) {
1194  if ( (tvol->inside((*dIter)->trackingVolume()->center(),0.) || (*dIter)->trackingVolume()->center().perp()<0.001) ) {
1195  std::string name = (*dIter)->name();
1196  if ( name.substr(0,2) == "BI" ) { sepHelper = m_d->sephelper_msBI; layHelper = m_d->sephelper_msBIlay; }
1197  else if ( name.substr(0,2) == "BM" ) { sepHelper = m_d->sephelper_msBM; layHelper = m_d->sephelper_msBMlay; }
1198  else if ( name.substr(0,2) == "BO" ) { sepHelper = m_d->sephelper_msBO; layHelper = m_d->sephelper_msBOlay; }
1199  else if ( name.substr(0,2) == "EI" ) { sepHelper = m_d->sephelper_msEI; layHelper = m_d->sephelper_msEIlay; }
1200  else if ( name.substr(0,2) == "EM" ) { sepHelper = m_d->sephelper_msEM; layHelper = m_d->sephelper_msEMlay; }
1201  else if ( name.substr(0,2) == "EO" ) { sepHelper = m_d->sephelper_msEO; layHelper = m_d->sephelper_msEOlay; }
1202  else if ( name.substr(0,2) == "CS" ) { sepHelper = m_d->sephelper_msCS; layHelper = m_d->sephelper_msCSlay; }
1203  else if ( name.substr(0,1) == "T" ) { sepHelper = m_d->sephelper_msTG; layHelper = m_d->sephelper_msTGlay; }
1204  else if ( name.substr(0,4) == "Rail" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1205  else if ( name.substr(0,7) == "MDTRail" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1206  else if ( name.substr(0,4) == "SADL" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1207  else if ( name.substr(0,4) == "TBWH" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1208  else if ( name.substr(0,4) == "MBAP" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1209  else if ( name.substr(0,4) == "MBWH" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1210  else if ( name.substr(0,3) == "PP2" ) { sepHelper = m_d->sephelper_msRaenv; layHelper = m_d->sephelper_msRadl; }
1211  else if ( name.substr(0,3) == "ECT" ) { sepHelper = m_d->sephelper_msETenv; layHelper = m_d->sephelper_msETdl; }
1212  else if ( name.substr(0,2) == "BT" || name.substr(0,6) == "EdgeBT" || name.substr(0,6) == "HeadBT" )
1213  { sepHelper = m_d->sephelper_msBTenv; layHelper = m_d->sephelper_msBTdl; }
1214  else if ( name.substr(0,3) == "BAR" )
1215  // && ( name.substr(0,18) == "BAR_ToroidBAR_Cold" || name.substr(0,22) == "BAR_ToroidBAR_Voussoir") )
1216  { sepHelper = m_d->sephelper_msBTenv; layHelper = m_d->sephelper_msBTdl; }
1217  else if ( name.substr(0,9) == "ForwardSh" || name.substr(0,8) == "ToroidSh" || name.substr(0,6) == "DiskSh" )
1218  { sepHelper = m_d->sephelper_msShenv; layHelper = m_d->sephelper_msShdl; }
1219  else if ( name.substr(0,5) == "StdFe" || name.substr(0,6) == "ExtrFe" || name.substr(0,6) == "ConnFe" )
1220  { sepHelper = m_d->sephelper_msFeenv; layHelper = m_d->sephelper_msFedl; }
1221  else if ( name.substr(0,4) == "Feet" )
1222  { sepHelper = m_d->sephelper_msFeenv; layHelper = m_d->sephelper_msFedl; }
1223  else // display somehow
1224  { sepHelper = m_d->sephelper_msFeenv; layHelper = m_d->sephelper_msFedl; }
1225  } else {
1226  std::string name = (*dIter)->name();
1227  //std::cout << "VP1 ignores volume:"<<name<< std::endl;
1228  if ( name.substr(0,3) == "BAR" &&
1229  name.substr(0,18) == "BAR_ToroidBAR_Cold" )
1230  { sepHelper = m_d->sephelper_msBTenv; layHelper = m_d->sephelper_msBTdl; }
1231  }
1232  if (sepHelper) processMsVolume( (*dIter)->trackingVolume(), sepHelper, layHelper);
1233  sepHelper = nullptr; layHelper = nullptr;
1234  }
1235  }
1236 }

◆ processTrkLayer()

void VP1TrackingGeometrySystem::processTrkLayer ( const Trk::Layer tlayer,
VP1ExtraSepLayerHelper sepLayerHelper,
unsigned int  colorCode 
)
private

Definition at line 1239 of file VP1TrackingGeometrySystem.cxx.

1242 {
1243  if (!tlayer) return;
1245  if (node) {
1247  std::cout << "Adding Layer to Separator helper: " << sepLayerHelper << std::endl;
1248  }
1249 }

◆ processTrkSurface()

void VP1TrackingGeometrySystem::processTrkSurface ( const Trk::Surface tsurf,
VP1ExtraSepLayerHelper sepLayerHelper,
unsigned int  colorCode 
)
private

Definition at line 1252 of file VP1TrackingGeometrySystem.cxx.

1255 {
1256  if (!tsurf) return;
1257  SoNode * node = m_d->surface2sonode->translateSurface(*tsurf);
1258  if (node) sepLayerHelper->addNodeUnderMaterial(node,m_d->colorCodeConverter.getMaterialFromColorCode( colorCode));
1259 }

◆ processTrkVolume()

void VP1TrackingGeometrySystem::processTrkVolume ( const Trk::TrackingVolume tvol)
private

current separator helpers

Definition at line 1007 of file VP1TrackingGeometrySystem.cxx.

1008 {
1009  if (!tvol)
1010  return;
1011 
1012  SoNode * volnode = m_d->trackvol2sonode->translateTrackingVolume(*tvol);
1013  if (!volnode) {
1014  message("Error: Volume shape not implemented");
1015  return;
1016  }
1017 
1018  QString volumeName(tvol->volumeName().c_str());
1019 
1020  messageVerbose("Processing volume: "+volumeName);
1022 
1023  const Trk::BinnedArray< Trk::Layer >* confinedLayers = tvol->confinedLayers();
1024 
1025  // loop over confined layers
1026  if (confinedLayers){
1027  Trk::BinnedArraySpan<Trk::Layer const * const> layerVector = confinedLayers->arrayObjects();
1028  Trk::BinnedArraySpan<Trk::Layer const * const>::iterator layerIter = layerVector.begin();
1029  // loop over layers
1030  for ( ; layerIter != layerVector.end(); ++layerIter){
1031  // push_back the layer
1032  if (*layerIter){
1033 
1034  // get the layerIndex
1035  const Trk::LayerIndex& layIndex = (*layerIter)->layerIndex();
1036 
1037  // skip navigaion layers for the moment
1038  if (!layIndex.value()) continue;
1039 
1040  /* check the surface array */
1041  const Trk::SurfaceArray* layerSubSurfaces = (*layerIter)->surfaceArray();
1042 
1044  VP1ExtraSepLayerHelper* layerSepHelper = nullptr;
1045  VP1ExtraSepLayerHelper* surfaceSepHelper = nullptr;
1046 
1047  if ( volumeName.contains("BeamPipe") > 0 ) {
1048  layerSepHelper = m_d->sephelper_beamPipe;
1049  } else if (volumeName.contains("Pixel") > 0 ) {
1050  // Pixel sector
1051  if ( volumeName.contains("Barrel") > 0 ){
1052  // pixel barrel surfaces & layers
1053  layerSepHelper = m_d->sephelper_pixLayBarrel;
1054  surfaceSepHelper = m_d->sephelper_pixSurfBarrel;
1055  } else if ( volumeName.contains("Endcap") > 0 ){
1056  // pixel endcap surfaces & layers
1057  if ( volumeName.contains("Pos") > 0){
1058  layerSepHelper = m_d->sephelper_pixLayECA;
1059  surfaceSepHelper = m_d->sephelper_pixSurfECA;
1060  } else {
1061  layerSepHelper = m_d->sephelper_pixLayECC;
1062  surfaceSepHelper = m_d->sephelper_pixSurfECC;
1063  }
1064  }
1065  } else if ((volumeName.contains("SCT") > 0) or (volumeName.contains("Strip") > 0)) {
1066  // SCT sector
1067  if ( volumeName.contains("Barrel") > 0 ){
1068  // sct barrel surfaces & layers
1069  layerSepHelper = m_d->sephelper_sctLayBarrel;
1070  surfaceSepHelper = m_d->sephelper_sctSurfBarrel;
1071  } else if ( volumeName.contains("Endcap") > 0 ){
1072  // sct endcap surfaces & layers
1073  if ( volumeName.contains("Pos") > 0){
1074  layerSepHelper = m_d->sephelper_sctLayECA;
1075  surfaceSepHelper = m_d->sephelper_sctSurfECA;
1076  } else {
1077  layerSepHelper = m_d->sephelper_sctLayECC;
1078  surfaceSepHelper = m_d->sephelper_sctSurfECC;
1079  }
1080  }
1081  } else if (volumeName.contains("TRT") > 0) {
1082  // TRT sector
1083  if ( volumeName.contains("Barrel") > 0 ){
1084  // trt barrel surfaces & layers
1085  layerSepHelper = m_d->sephelper_trtLayBarrel;
1086  surfaceSepHelper = m_d->sephelper_trtSurfBarrel;
1087  } else if ( volumeName.contains("Endcap") > 0 ){
1088  // trt endcap surfaces & layers
1089  if ( volumeName.contains("Pos") > 0 ){
1090  layerSepHelper = m_d->sephelper_trtLayECA;
1091  surfaceSepHelper = m_d->sephelper_trtSurfECA;
1092  } else {
1093  layerSepHelper = m_d->sephelper_trtLayECC;
1094  surfaceSepHelper = m_d->sephelper_trtSurfECC;
1095  }
1096  }
1097  } else {
1098  if ( volumeName.contains("Barrel") > 0 ){
1099  // trt barrel surfaces & layers
1100  layerSepHelper = m_d->sephelper_passiveLayBarrel;
1101  } else if ( volumeName.contains("Endcap") > 0 ){
1102  // trt endcap surfaces & layers
1103  if ( volumeName.contains("Pos") > 0 ){
1104  layerSepHelper = m_d->sephelper_passiveLayECA;
1105  } else {
1106  layerSepHelper = m_d->sephelper_passiveLayECC;
1107  }
1108  }
1109  }
1110 
1111  std::cout << " VolumeName " << tvol->volumeName() << " / seperators : " << layerSepHelper << " / " << surfaceSepHelper << std::endl;
1112 
1113  // process the layer with the correct separator helper
1114  if (layerSepHelper) processTrkLayer(*layerIter, layerSepHelper, tvol->colorCode());
1115  // Surface
1116  if (layerSubSurfaces && surfaceSepHelper){
1117  Trk::BinnedArraySpan<Trk::Surface const * const> surfaceVector = layerSubSurfaces->arrayObjects();
1118  Trk::BinnedArraySpan<Trk::Surface const * const>::iterator surfaceIter = surfaceVector.begin();
1119  for ( ; surfaceIter != surfaceVector.end(); ++surfaceIter ){
1120  // push_back the surface
1121  if (*surfaceIter)
1122  processTrkSurface(*surfaceIter, surfaceSepHelper, tvol->colorCode());
1123  }
1124  }
1125  }
1126  }
1127  }
1128 
1129  const Trk::BinnedArray<Trk::TrackingVolume >* confinedVolumes = tvol->confinedVolumes();
1130  // get the confined volumes and loop over it -> call recursively
1131  if (confinedVolumes){
1135  for ( ; volIter != volIterEnd; ++volIter)
1136  if (*volIter) processTrkVolume(*volIter);
1137  }
1138 }

◆ refresh()

void IVP13DSystemSimple::refresh ( StoreGateSvc storegate)
privatevirtualinherited

Implements IVP1System.

Definition at line 146 of file IVP13DSystemSimple.cxx.

147 {
148  assert(m_d->wascreated);
149  assert(!m_d->wasrefreshed);
150 
151  if (m_d->first) {
152  if(VP1Msg::verbose()){
153  messageVerbose("IVP13DSystemSimple first refresh - so calling create methods (i.e. delayed create).");
154  }
156  m_d->first = false;
157  m_d->root->removeChild(m_d->rootR);
159  m_d->root->addChild(m_d->rootR);
160  }
161 
162  m_d->root->removeChild(m_d->rootE);
163  updateGUI();
165  updateGUI();
166  m_d->root->addChild(m_d->rootE);
167 
168  m_d->wasrefreshed=true;
169 
170 }

◆ registerCamera()

void IVP13DSystem::registerCamera ( SoCamera *  camera)
inherited

Definition at line 410 of file IVP13DSystem.cxx.

410  {
411  if (!cam)
412  return;
413  m_d->staticcameras.insert(cam);
414  cam->ref();
415 }

◆ registerController()

void IVP1System::registerController ( QWidget *  w)
protectedinherited

Definition at line 224 of file IVP1System.cxx.

225 {
226  if (VP1Msg::verbose()) {
227  messageVerbose("registerController ");
228  messageVerbose("registerController m_d->canregistercontroller = "+QString(m_d->canregistercontroller?"true":"false"));
229  messageVerbose("registerController m_d->state==CONSTRUCTED = "+QString(m_d->state==CONSTRUCTED?"true":"false"));
230  messageVerbose("registerController m_d->controller==0 = "+QString(m_d->controller==0?"true":"false"));
231  messageVerbose("registerController w!=0 = "+QString(w!=0?"true":"false"));
232  }
234  message("ERROR: Please don't register controllers after create().");
235  if (m_d->state!=CONSTRUCTED)
236  message("ERROR: Please only register controllers in CONSTRUCTED state.");
237  if (!w) {
238  message("ERROR: Attempt to register null controller.");
239  return;
240  }
241  if (m_d->controller) {
242  message("ERROR: Attempt to register controller twice.");
243  return;
244  }
245  m_d->controller = w;
246  w->setParent(0);
247 }

◆ registerSelectionNode()

void IVP13DSystem::registerSelectionNode ( SoCooperativeSelection selection)
inherited

Definition at line 257 of file IVP13DSystem.cxx.

258 {
259  if (!selection) {
260  message("registerSelectionNode Error: NULL selection pointer!");
261  return;
262  }
264  message("registerSelectionNode Error: Trying to register selection node more than once!");
265  return;
266  }
267 
268  selection->addSelectionCallback( Imp::made_selection, selection );
269  selection->addDeselectionCallback( Imp::made_deselection, selection );
270  selection->addStartCallback( Imp::start_changeselection, this );
271  selection->addFinishCallback( Imp::finished_changeselection, this );
272  selection->addClickOutsideCallback( Imp::clickedoutside, this );
273 
275  selection->ref();
276 
277  messageVerbose("selection node registered");
278 }

◆ registerViewer()

void IVP13DSystem::registerViewer ( SoQtViewer *  viewer)
inherited

Definition at line 418 of file IVP13DSystem.cxx.

419 {
420  if (!viewer)
421  return;
422  m_d->viewers.insert(viewer);
423 }

◆ restoreFromState()

void VP1TrackingGeometrySystem::restoreFromState ( QByteArray  ba)
privatevirtual

sroe: none of the following code was reachable, coverity defect 17185 Setup stream for getting the contents of the byteArray: QBuffer buffer(&ba); buffer.open(QIODevice::ReadOnly); QDataStream state(&buffer);

Check version and pass on state info to base class: qint32 version; state >> version; if (version!=0) { message("Warning: State data in .vp1 file is in wrong format - ignoring!"); return; } ensureBuildController();

QByteArray basestate; state >> basestate; IVP13DSystemSimple::restoreFromState(basestate);

state >> m_d->initialTrackingGeometrySvcName; state >> m_d->initialTrackingGeometryName; m_d->lineEdit_TrackingGeometrySvcName->setText( m_d->initialTrackingGeometrySvcName); m_d->lineEdit_TrackingGeometryName->setText( m_d->initialTrackingGeometryName);

retrieveTrackingGeometry();

Reimplemented from IVP1System.

Definition at line 1605 of file VP1TrackingGeometrySystem.cxx.

1606 {
1607  messageDebug("WARNING: VP1TrackingGeometrySystem persistification disabled for now due to crashes!");
1635 }

◆ retrieveTrackingGeometry

void VP1TrackingGeometrySystem::retrieveTrackingGeometry ( )
privateslot

Definition at line 486 of file VP1TrackingGeometrySystem.cxx.

487 {
488  if( m_d->retrieveSuccess)
489  {
490  message( "TrackingGeometry has already been successfully retrieved");
491  return;
492  }
493 
501  {
502  message("Error: Geometry not configured!");
503  return;
504  }
505 
507  message("Error: retrieveTrackingGeometry() invoked before controller built!");
508  return;
509  }
510 
511 
512  /*-----------------------------------------------------------------------
513  * Retrieving service locator
514  *-----------------------------------------------------------------------*/
515  ISvcLocator* svcLoc = serviceLocator();
516 
517  if( !svcLoc)
518  {
519  message("Error: Got NULL pointer to the service locator!");
520  return;
521  }
522 
523  /*-----------------------------------------------------------------------
524  * Retrieving TrackingGeometrySvc
525  *-----------------------------------------------------------------------*/
526  message( "Trying to retrieve TrackingGeometrySvc '" +
527  m_d->lineEdit_TrackingGeometrySvcName->text().trimmed() + "'");
528 
529  Trk::ITrackingGeometrySvc* trackingGeometrySvc;
531  svcLoc->service( m_d->lineEdit_TrackingGeometrySvcName->text().trimmed().toStdString(), trackingGeometrySvc);
532 
533  if( !status.isSuccess())
534  {
535  message("Error: Could not retrieve TrackingGeometrySvc '" +
536  m_d->lineEdit_TrackingGeometrySvcName->text().trimmed() + "'\n"
537  "Check spelling and if you have added the correct jobOptions fragment");
538  return;
539  }
540 
541  message( "Successfully retrieved TrackingGeometrySvc '" +
542  m_d->lineEdit_TrackingGeometrySvcName->text().trimmed() + "'");
543 
544  /*-----------------------------------------------------------------------
545  * Retrieving TrackingGeometry
546  *-----------------------------------------------------------------------*/
547  const Trk::TrackingGeometry * trackingGeometry;
548  if( m_d->lineEdit_TrackingGeometryName->text().trimmed() == "")
549  {
550  message( "Trying to retrieve default TrackingGeometry");
551  trackingGeometry = trackingGeometrySvc->trackingGeometry();
552 
553  if( !trackingGeometry)
554  {
555  message("Error: Could not retrieve default TrackingGeometry");
556  return;
557  }
558  else
559  {
560  message( "Successfully retrieved default TrackingGeometry");
561  }
562  }
563  else
564  {
565  message( "Trying to retrieve TrackingGeometry '" +
566  m_d->lineEdit_TrackingGeometryName->text().trimmed() +
567  "' from DetectorStore");
568  if (!m_d->detStore)
569  {
570  message("Error: Got NULL detectorstore.");
571  return;
572  }
573 
574  if (m_d->detStore->retrieve(trackingGeometry, m_d->lineEdit_TrackingGeometryName->text().trimmed().toStdString()).isFailure()||!trackingGeometry)
575  {
576  message("Error: Could not retrieve TrackingGeometry '" +
577  m_d->lineEdit_TrackingGeometryName->text().trimmed() +
578  "' from DetectorStore.");
579  return;
580  }
581  else
582  {
583  message( "Successfully retrieved TrackingGeometry '" +
584  m_d->lineEdit_TrackingGeometryName->text().trimmed() + "'");
585  }
586  }
587 
588  /*-----------------------------------------------------------------------
589  * Setup scene if retrieval was successful
590  *-----------------------------------------------------------------------*/
591  m_d->lineEdit_TrackingGeometrySvcName->setReadOnly( true);
592  m_d->lineEdit_TrackingGeometryName->setReadOnly( true);
593  m_d->pushButton_Retrieve->setEnabled( false);
594 
595  // Pixel section
596  m_d->beamPipeSwitch = new SoSwitch();
597  m_d->pixSurfBarrelSwitch = new SoSwitch();
598  m_d->pixSurfECASwitch = new SoSwitch();
599  m_d->pixSurfECCSwitch = new SoSwitch();
600  m_d->pixLayBarrelSwitch = new SoSwitch();
601  m_d->pixLayECASwitch = new SoSwitch();
602  m_d->pixLayECCSwitch = new SoSwitch();
603  m_d->sctSurfBarrelSwitch = new SoSwitch();
604  m_d->sctSurfECASwitch = new SoSwitch();
605  m_d->sctSurfECCSwitch = new SoSwitch();
606  m_d->sctLayBarrelSwitch = new SoSwitch();
607  m_d->sctLayECASwitch = new SoSwitch();
608  m_d->sctLayECCSwitch = new SoSwitch();
609  m_d->trtSurfBarrelSwitch = new SoSwitch();
610  m_d->trtSurfECASwitch = new SoSwitch();
611  m_d->trtSurfECCSwitch = new SoSwitch();
612  m_d->trtLayBarrelSwitch = new SoSwitch();
613  m_d->trtLayECASwitch = new SoSwitch();
614  m_d->trtLayECCSwitch = new SoSwitch();
615  m_d->passiveLayBarrelSwitch = new SoSwitch();
616  m_d->passiveLayECASwitch = new SoSwitch();
617  m_d->passiveLayECCSwitch = new SoSwitch();
618 
619  m_d->beamPipeSwitch->whichChild = SO_SWITCH_NONE;
620  m_d->pixSurfBarrelSwitch->whichChild = SO_SWITCH_NONE;
621  m_d->pixSurfECASwitch->whichChild = SO_SWITCH_NONE;
622  m_d->pixSurfECCSwitch->whichChild = SO_SWITCH_NONE;
623  m_d->pixLayBarrelSwitch->whichChild = SO_SWITCH_NONE;
624  m_d->pixLayECASwitch->whichChild = SO_SWITCH_NONE;
625  m_d->pixLayECCSwitch->whichChild = SO_SWITCH_NONE;
626  m_d->sctSurfBarrelSwitch->whichChild = SO_SWITCH_NONE;
627  m_d->sctSurfECASwitch->whichChild = SO_SWITCH_NONE;
628  m_d->sctSurfECCSwitch->whichChild = SO_SWITCH_NONE;
629  m_d->sctLayBarrelSwitch->whichChild = SO_SWITCH_NONE;
630  m_d->sctLayECASwitch->whichChild = SO_SWITCH_NONE;
631  m_d->sctLayECCSwitch->whichChild = SO_SWITCH_NONE;
632  m_d->trtSurfBarrelSwitch->whichChild = SO_SWITCH_NONE;
633  m_d->trtSurfECASwitch->whichChild = SO_SWITCH_NONE;
634  m_d->trtSurfECCSwitch->whichChild = SO_SWITCH_NONE;
635  m_d->trtLayBarrelSwitch->whichChild = SO_SWITCH_NONE;
636  m_d->trtLayECASwitch->whichChild = SO_SWITCH_NONE;
637  m_d->trtLayECCSwitch->whichChild = SO_SWITCH_NONE;
638  m_d->passiveLayBarrelSwitch->whichChild = SO_SWITCH_NONE;
639  m_d->passiveLayECASwitch->whichChild = SO_SWITCH_NONE;
640  m_d->passiveLayECCSwitch->whichChild = SO_SWITCH_NONE;
641 
642  SoSeparator* sep_beamPipe = new SoSeparator(); sep_beamPipe->ref();
643  SoSeparator* sep_pixSurfBarrel = new SoSeparator(); sep_pixSurfBarrel->ref();
644  SoSeparator* sep_pixSurfECA = new SoSeparator(); sep_pixSurfECA->ref();
645  SoSeparator* sep_pixSurfECC = new SoSeparator(); sep_pixSurfECC->ref();
646  SoSeparator* sep_pixLayBarrel = new SoSeparator(); sep_pixLayBarrel->ref();
647  SoSeparator* sep_pixLayECA = new SoSeparator(); sep_pixLayECA->ref();
648  SoSeparator* sep_pixLayECC = new SoSeparator(); sep_pixLayECC->ref();
649  SoSeparator* sep_sctSurfBarrel = new SoSeparator(); sep_sctSurfBarrel->ref();
650  SoSeparator* sep_sctSurfECA = new SoSeparator(); sep_sctSurfECA->ref();
651  SoSeparator* sep_sctSurfECC = new SoSeparator(); sep_sctSurfECC->ref();
652  SoSeparator* sep_sctLayBarrel = new SoSeparator(); sep_sctLayBarrel->ref();
653  SoSeparator* sep_sctLayECA = new SoSeparator(); sep_sctLayECA->ref();
654  SoSeparator* sep_sctLayECC = new SoSeparator(); sep_sctLayECC->ref();
655  SoSeparator* sep_trtSurfBarrel = new SoSeparator(); sep_trtSurfBarrel->ref();
656  SoSeparator* sep_trtSurfECA = new SoSeparator(); sep_trtSurfECA->ref();
657  SoSeparator* sep_trtSurfECC = new SoSeparator(); sep_trtSurfECC->ref();
658  SoSeparator* sep_trtLayBarrel = new SoSeparator(); sep_trtLayBarrel->ref();
659  SoSeparator* sep_trtLayECA = new SoSeparator(); sep_trtLayECA->ref();
660  SoSeparator* sep_trtLayECC = new SoSeparator(); sep_trtLayECC->ref();
661  SoSeparator* sep_passiveLayBarrel = new SoSeparator(); sep_passiveLayBarrel->ref();
662  SoSeparator* sep_passiveLayECA = new SoSeparator(); sep_passiveLayECA->ref();
663  SoSeparator* sep_passiveLayECC = new SoSeparator(); sep_passiveLayECC->ref();
664 
665  m_d->sephelper_beamPipe = new VP1ExtraSepLayerHelper(sep_beamPipe);
666  m_d->sephelper_pixSurfBarrel = new VP1ExtraSepLayerHelper(sep_pixSurfBarrel);
667  m_d->sephelper_pixSurfECA = new VP1ExtraSepLayerHelper(sep_pixSurfECA);
668  m_d->sephelper_pixSurfECC = new VP1ExtraSepLayerHelper(sep_pixSurfECC);
669  m_d->sephelper_pixLayBarrel = new VP1ExtraSepLayerHelper(sep_pixLayBarrel);
670  m_d->sephelper_pixLayECA = new VP1ExtraSepLayerHelper(sep_pixLayECA);
671  m_d->sephelper_pixLayECC = new VP1ExtraSepLayerHelper(sep_pixLayECC);
672  m_d->sephelper_sctSurfBarrel = new VP1ExtraSepLayerHelper(sep_sctSurfBarrel);
673  m_d->sephelper_sctSurfECA = new VP1ExtraSepLayerHelper(sep_sctSurfECA);
674  m_d->sephelper_sctSurfECC = new VP1ExtraSepLayerHelper(sep_sctSurfECC);
675  m_d->sephelper_sctLayBarrel = new VP1ExtraSepLayerHelper(sep_sctLayBarrel);
676  m_d->sephelper_sctLayECA = new VP1ExtraSepLayerHelper(sep_sctLayECA);
677  m_d->sephelper_sctLayECC = new VP1ExtraSepLayerHelper(sep_sctLayECC);
678  m_d->sephelper_trtSurfBarrel = new VP1ExtraSepLayerHelper(sep_trtSurfBarrel);
679  m_d->sephelper_trtSurfECA = new VP1ExtraSepLayerHelper(sep_trtSurfECA);
680  m_d->sephelper_trtSurfECC = new VP1ExtraSepLayerHelper(sep_trtSurfECC);
681  m_d->sephelper_trtLayBarrel = new VP1ExtraSepLayerHelper(sep_trtLayBarrel);
682  m_d->sephelper_trtLayECA = new VP1ExtraSepLayerHelper(sep_trtLayECA);
683  m_d->sephelper_trtLayECC = new VP1ExtraSepLayerHelper(sep_trtLayECC);
684  m_d->sephelper_passiveLayBarrel = new VP1ExtraSepLayerHelper(sep_passiveLayBarrel);
685  m_d->sephelper_passiveLayECA = new VP1ExtraSepLayerHelper(sep_passiveLayECA );
686  m_d->sephelper_passiveLayECC = new VP1ExtraSepLayerHelper(sep_passiveLayECC );
687 
688  m_d->volswitch = new SoSwitch();
689  m_d->clipswitch = new SoSwitch();
690  m_d->msBswitch = new SoSwitch();
691  m_d->msIswitch = new SoSwitch();
692  m_d->msOswitch = new SoSwitch();
693  m_d->msBIswitch = new SoSwitch();
694  m_d->msBMswitch = new SoSwitch();
695  m_d->msBOswitch = new SoSwitch();
696  m_d->msEIswitch = new SoSwitch();
697  m_d->msEMswitch = new SoSwitch();
698  m_d->msEOswitch = new SoSwitch();
699  m_d->msCSswitch = new SoSwitch();
700  m_d->msTGswitch = new SoSwitch();
701  m_d->msBIlayswitch = new SoSwitch();
702  m_d->msBMlayswitch = new SoSwitch();
703  m_d->msBOlayswitch = new SoSwitch();
704  m_d->msEIlayswitch = new SoSwitch();
705  m_d->msEMlayswitch = new SoSwitch();
706  m_d->msEOlayswitch = new SoSwitch();
707  m_d->msCSlayswitch = new SoSwitch();
708  m_d->msTGlayswitch = new SoSwitch();
709  m_d->msBTenvswitch = new SoSwitch();
710  m_d->msETenvswitch = new SoSwitch();
711  m_d->msShenvswitch = new SoSwitch();
712  m_d->msFeenvswitch = new SoSwitch();
713  m_d->msRaenvswitch = new SoSwitch();
714  m_d->msBTdlswitch = new SoSwitch();
715  m_d->msETdlswitch = new SoSwitch();
716  m_d->msShdlswitch = new SoSwitch();
717  m_d->msFedlswitch = new SoSwitch();
718  m_d->msRadlswitch = new SoSwitch();
719 
720  m_d->volswitch->whichChild = SO_SWITCH_NONE;
721  m_d->clipswitch->whichChild = SO_SWITCH_NONE;
722  m_d->msBswitch->whichChild = SO_SWITCH_NONE;
723  m_d->msIswitch->whichChild = SO_SWITCH_NONE;
724  m_d->msOswitch->whichChild = SO_SWITCH_NONE;
725  m_d->msBIswitch->whichChild = SO_SWITCH_NONE;
726  m_d->msBMswitch->whichChild = SO_SWITCH_NONE;
727  m_d->msBOswitch->whichChild = SO_SWITCH_NONE;
728  m_d->msEIswitch->whichChild = SO_SWITCH_NONE;
729  m_d->msEMswitch->whichChild = SO_SWITCH_NONE;
730  m_d->msEOswitch->whichChild = SO_SWITCH_NONE;
731  m_d->msCSswitch->whichChild = SO_SWITCH_NONE;
732  m_d->msTGswitch->whichChild = SO_SWITCH_NONE;
733  m_d->msBIlayswitch->whichChild = SO_SWITCH_NONE;
734  m_d->msBMlayswitch->whichChild = SO_SWITCH_NONE;
735  m_d->msBOlayswitch->whichChild = SO_SWITCH_NONE;
736  m_d->msEIlayswitch->whichChild = SO_SWITCH_NONE;
737  m_d->msEMlayswitch->whichChild = SO_SWITCH_NONE;
738  m_d->msEOlayswitch->whichChild = SO_SWITCH_NONE;
739  m_d->msCSlayswitch->whichChild = SO_SWITCH_NONE;
740  m_d->msTGlayswitch->whichChild = SO_SWITCH_NONE;
741  m_d->msBTenvswitch->whichChild = SO_SWITCH_NONE;
742  m_d->msETenvswitch->whichChild = SO_SWITCH_NONE;
743  m_d->msShenvswitch->whichChild = SO_SWITCH_NONE;
744  m_d->msFeenvswitch->whichChild = SO_SWITCH_NONE;
745  m_d->msRaenvswitch->whichChild = SO_SWITCH_NONE;
746  m_d->msBTdlswitch->whichChild = SO_SWITCH_NONE;
747  m_d->msETdlswitch->whichChild = SO_SWITCH_NONE;
748  m_d->msShdlswitch->whichChild = SO_SWITCH_NONE;
749  m_d->msFedlswitch->whichChild = SO_SWITCH_NONE;
750  m_d->msRadlswitch->whichChild = SO_SWITCH_NONE;
751 
752  SoSeparator * sep_vol = new SoSeparator; sep_vol->ref();
753  SoSeparator * sep_msB = new SoSeparator; sep_msB->ref();
754  SoSeparator * sep_msI = new SoSeparator; sep_msI->ref();
755  SoSeparator * sep_msO = new SoSeparator; sep_msO->ref();
756  SoSeparator * sep_msBI = new SoSeparator; sep_msBI->ref();
757  SoSeparator * sep_msBM = new SoSeparator; sep_msBM->ref();
758  SoSeparator * sep_msBO = new SoSeparator; sep_msBO->ref();
759  SoSeparator * sep_msEI = new SoSeparator; sep_msEI->ref();
760  SoSeparator * sep_msEM = new SoSeparator; sep_msEM->ref();
761  SoSeparator * sep_msEO = new SoSeparator; sep_msEO->ref();
762  SoSeparator * sep_msCS = new SoSeparator; sep_msCS->ref();
763  SoSeparator * sep_msTG = new SoSeparator; sep_msTG->ref();
764  SoSeparator * sep_msBIlay = new SoSeparator; sep_msBIlay->ref();
765  SoSeparator * sep_msBMlay = new SoSeparator; sep_msBMlay->ref();
766  SoSeparator * sep_msBOlay = new SoSeparator; sep_msBOlay->ref();
767  SoSeparator * sep_msEIlay = new SoSeparator; sep_msEIlay->ref();
768  SoSeparator * sep_msEMlay = new SoSeparator; sep_msEMlay->ref();
769  SoSeparator * sep_msEOlay = new SoSeparator; sep_msEOlay->ref();
770  SoSeparator * sep_msCSlay = new SoSeparator; sep_msCSlay->ref();
771  SoSeparator * sep_msTGlay = new SoSeparator; sep_msTGlay->ref();
772  SoSeparator * sep_msBTenv = new SoSeparator; sep_msBTenv->ref();
773  SoSeparator * sep_msETenv = new SoSeparator; sep_msETenv->ref();
774  SoSeparator * sep_msShenv = new SoSeparator; sep_msShenv->ref();
775  SoSeparator * sep_msFeenv = new SoSeparator; sep_msFeenv->ref();
776  SoSeparator * sep_msRaenv = new SoSeparator; sep_msRaenv->ref();
777  SoSeparator * sep_msBTdl = new SoSeparator; sep_msBTdl->ref();
778  SoSeparator * sep_msETdl = new SoSeparator; sep_msETdl->ref();
779  SoSeparator * sep_msShdl = new SoSeparator; sep_msShdl->ref();
780  SoSeparator * sep_msFedl = new SoSeparator; sep_msFedl->ref();
781  SoSeparator * sep_msRadl = new SoSeparator; sep_msRadl->ref();
782 
783  m_d->sephelper_vol = new VP1ExtraSepLayerHelper(sep_vol);
784  m_d->sephelper_msB = new VP1ExtraSepLayerHelper(sep_msB);
785  m_d->sephelper_msI = new VP1ExtraSepLayerHelper(sep_msI);
786  m_d->sephelper_msO = new VP1ExtraSepLayerHelper(sep_msO);
787  m_d->sephelper_msBI = new VP1ExtraSepLayerHelper(sep_msBI);
788  m_d->sephelper_msBM = new VP1ExtraSepLayerHelper(sep_msBM);
789  m_d->sephelper_msBO = new VP1ExtraSepLayerHelper(sep_msBO);
790  m_d->sephelper_msEI = new VP1ExtraSepLayerHelper(sep_msEI);
791  m_d->sephelper_msEM = new VP1ExtraSepLayerHelper(sep_msEM);
792  m_d->sephelper_msEO = new VP1ExtraSepLayerHelper(sep_msEO);
793  m_d->sephelper_msCS = new VP1ExtraSepLayerHelper(sep_msCS);
794  m_d->sephelper_msTG = new VP1ExtraSepLayerHelper(sep_msTG);
795  m_d->sephelper_msBIlay = new VP1ExtraSepLayerHelper(sep_msBIlay);
796  m_d->sephelper_msBMlay = new VP1ExtraSepLayerHelper(sep_msBMlay);
797  m_d->sephelper_msBOlay = new VP1ExtraSepLayerHelper(sep_msBOlay);
798  m_d->sephelper_msEIlay = new VP1ExtraSepLayerHelper(sep_msEIlay);
799  m_d->sephelper_msEMlay = new VP1ExtraSepLayerHelper(sep_msEMlay);
800  m_d->sephelper_msEOlay = new VP1ExtraSepLayerHelper(sep_msEOlay);
801  m_d->sephelper_msCSlay = new VP1ExtraSepLayerHelper(sep_msCSlay);
802  m_d->sephelper_msTGlay = new VP1ExtraSepLayerHelper(sep_msTGlay);
803  m_d->sephelper_msBTenv = new VP1ExtraSepLayerHelper(sep_msBTenv);
804  m_d->sephelper_msETenv = new VP1ExtraSepLayerHelper(sep_msETenv);
805  m_d->sephelper_msShenv = new VP1ExtraSepLayerHelper(sep_msShenv);
806  m_d->sephelper_msFeenv = new VP1ExtraSepLayerHelper(sep_msFeenv);
807  m_d->sephelper_msRaenv = new VP1ExtraSepLayerHelper(sep_msRaenv);
808  m_d->sephelper_msBTdl = new VP1ExtraSepLayerHelper(sep_msBTdl);
809  m_d->sephelper_msETdl = new VP1ExtraSepLayerHelper(sep_msETdl);
810  m_d->sephelper_msShdl = new VP1ExtraSepLayerHelper(sep_msShdl);
811  m_d->sephelper_msFedl = new VP1ExtraSepLayerHelper(sep_msFedl);
812  m_d->sephelper_msRadl = new VP1ExtraSepLayerHelper(sep_msRadl);
813 
814  m_d->sepHelperContainer.reserve(100);
867 
868  std::cout << "To here !" << std::endl;
869 
870  const Trk::TrackingVolume* highestVolume = trackingGeometry->highestTrackingVolume();
871 
872  if (!highestVolume) {
873  message("Error: No highest tracking volume registered.");
874  return;
875  }
876 
877  const Trk::TrackingVolume* idCalo = trackingGeometry->trackingVolume("MuonSpectrometerEntrance");
878 
881 
882  if (idCalo) processTrkVolume(idCalo);
883  else processTrkVolume(highestVolume);
884 
885  processMsVolume(highestVolume,nullptr,nullptr);
886 
887  SoRotationXYZ* rotClip = new SoRotationXYZ;
888  rotClip->axis.setValue( SoRotationXYZ::X);
889  rotClip->angle.setValue( -M_PI/2.);
890 
891  m_d->clipswitch->addChild( rotClip);
892  m_d->clipswitch->addChild( new SoClipPlane);
893  m_d->root->addChild(m_d->clipswitch);
894 
895  m_d->volswitch->addChild(sep_vol);
896 
897  m_d->beamPipeSwitch->addChild(sep_beamPipe);
898  m_d->pixSurfBarrelSwitch->addChild(sep_pixSurfBarrel);
899  m_d->pixSurfECASwitch->addChild(sep_pixSurfECA);
900  m_d->pixSurfECCSwitch->addChild(sep_pixSurfECC);
901  m_d->pixLayBarrelSwitch->addChild(sep_pixLayBarrel);
902  m_d->pixLayECASwitch->addChild(sep_pixLayECA);
903  m_d->pixLayECCSwitch->addChild(sep_pixLayECC);
904  m_d->sctSurfBarrelSwitch->addChild(sep_sctSurfBarrel);
905  m_d->sctSurfECASwitch->addChild(sep_sctSurfECA);
906  m_d->sctSurfECCSwitch->addChild(sep_sctSurfECC);
907  m_d->sctLayBarrelSwitch->addChild(sep_sctLayBarrel);
908  m_d->sctLayECASwitch->addChild(sep_sctLayECA);
909  m_d->sctLayECCSwitch->addChild(sep_sctLayECC);
910  m_d->trtSurfBarrelSwitch->addChild(sep_trtSurfBarrel);
911  m_d->trtSurfECASwitch->addChild(sep_trtSurfECA);
912  m_d->trtSurfECCSwitch->addChild(sep_trtSurfECC);
913  m_d->trtLayBarrelSwitch->addChild(sep_trtLayBarrel);
914  m_d->trtLayECASwitch->addChild(sep_trtLayECA);
915  m_d->trtLayECCSwitch->addChild(sep_trtLayECC);
916  m_d->passiveLayBarrelSwitch->addChild(sep_passiveLayBarrel);
917  m_d->passiveLayECASwitch->addChild(sep_passiveLayECA);
918  m_d->passiveLayECCSwitch->addChild(sep_passiveLayECC);
919 
920  m_d->msBswitch->addChild(sep_msB);
921  m_d->msIswitch->addChild(sep_msI);
922  m_d->msOswitch->addChild(sep_msO);
923  m_d->msBIswitch->addChild(sep_msBI);
924  m_d->msBMswitch->addChild(sep_msBM);
925  m_d->msBOswitch->addChild(sep_msBO);
926  m_d->msEIswitch->addChild(sep_msEI);
927  m_d->msEMswitch->addChild(sep_msEM);
928  m_d->msEOswitch->addChild(sep_msEO);
929  m_d->msCSswitch->addChild(sep_msCS);
930  m_d->msTGswitch->addChild(sep_msTG);
931  m_d->msBIlayswitch->addChild(sep_msBIlay);
932  m_d->msBMlayswitch->addChild(sep_msBMlay);
933  m_d->msBOlayswitch->addChild(sep_msBOlay);
934  m_d->msEIlayswitch->addChild(sep_msEIlay);
935  m_d->msEMlayswitch->addChild(sep_msEMlay);
936  m_d->msEOlayswitch->addChild(sep_msEOlay);
937  m_d->msCSlayswitch->addChild(sep_msCSlay);
938  m_d->msTGlayswitch->addChild(sep_msTGlay);
939  m_d->msBTenvswitch->addChild(sep_msBTenv);
940  m_d->msETenvswitch->addChild(sep_msETenv);
941  m_d->msShenvswitch->addChild(sep_msShenv);
942  m_d->msFeenvswitch->addChild(sep_msFeenv);
943  m_d->msRaenvswitch->addChild(sep_msRaenv);
944  m_d->msBTdlswitch->addChild(sep_msBTdl);
945  m_d->msETdlswitch->addChild(sep_msETdl);
946  m_d->msShdlswitch->addChild(sep_msShdl);
947  m_d->msFedlswitch->addChild(sep_msFedl);
948  m_d->msRadlswitch->addChild(sep_msRadl);
949 
950  m_d->root->addChild(m_d->volswitch);
951  m_d->root->addChild(m_d->beamPipeSwitch);
952  m_d->root->addChild(m_d->pixSurfBarrelSwitch);
953  m_d->root->addChild(m_d->pixSurfECASwitch);
954  m_d->root->addChild(m_d->pixSurfECCSwitch);
955  m_d->root->addChild(m_d->pixLayBarrelSwitch);
956  m_d->root->addChild(m_d->pixLayECASwitch);
957  m_d->root->addChild(m_d->pixLayECCSwitch);
958  m_d->root->addChild(m_d->sctSurfBarrelSwitch);
959  m_d->root->addChild(m_d->sctSurfECASwitch);
960  m_d->root->addChild(m_d->sctSurfECCSwitch);
961  m_d->root->addChild(m_d->sctLayBarrelSwitch);
962  m_d->root->addChild(m_d->sctLayECASwitch);
963  m_d->root->addChild(m_d->sctLayECCSwitch);
964  m_d->root->addChild(m_d->trtSurfBarrelSwitch);
965  m_d->root->addChild(m_d->trtSurfECASwitch);
966  m_d->root->addChild(m_d->trtSurfECCSwitch);
967  m_d->root->addChild(m_d->trtLayBarrelSwitch);
968  m_d->root->addChild(m_d->trtLayECASwitch);
969  m_d->root->addChild(m_d->trtLayECCSwitch);
970  m_d->root->addChild(m_d->passiveLayBarrelSwitch);
971  m_d->root->addChild(m_d->passiveLayECASwitch);
972  m_d->root->addChild(m_d->passiveLayECCSwitch);
973  m_d->root->addChild(m_d->msBswitch);
974  m_d->root->addChild(m_d->msIswitch);
975  m_d->root->addChild(m_d->msOswitch);
976  m_d->root->addChild(m_d->msBIswitch);
977  m_d->root->addChild(m_d->msBMswitch);
978  m_d->root->addChild(m_d->msBOswitch);
979  m_d->root->addChild(m_d->msEIswitch);
980  m_d->root->addChild(m_d->msEMswitch);
981  m_d->root->addChild(m_d->msEOswitch);
982  m_d->root->addChild(m_d->msCSswitch);
983  m_d->root->addChild(m_d->msTGswitch);
984  m_d->root->addChild(m_d->msBIlayswitch);
985  m_d->root->addChild(m_d->msBMlayswitch);
986  m_d->root->addChild(m_d->msBOlayswitch);
987  m_d->root->addChild(m_d->msEIlayswitch);
988  m_d->root->addChild(m_d->msEMlayswitch);
989  m_d->root->addChild(m_d->msEOlayswitch);
990  m_d->root->addChild(m_d->msCSlayswitch);
991  m_d->root->addChild(m_d->msTGlayswitch);
992  m_d->root->addChild(m_d->msBTenvswitch);
993  m_d->root->addChild(m_d->msETenvswitch);
994  m_d->root->addChild(m_d->msShenvswitch);
995  m_d->root->addChild(m_d->msFeenvswitch);
996  m_d->root->addChild(m_d->msRaenvswitch);
997  m_d->root->addChild(m_d->msBTdlswitch);
998  m_d->root->addChild(m_d->msETdlswitch);
999  m_d->root->addChild(m_d->msShdlswitch);
1000  m_d->root->addChild(m_d->msFedlswitch);
1001  m_d->root->addChild(m_d->msRadlswitch);
1002 
1003  m_d->retrieveSuccess = true;
1004 }

◆ saveState()

QByteArray VP1TrackingGeometrySystem::saveState ( )
privatevirtual

sroe: unreachable code, coverity 17207 ensureBuildController(); Setup stream writing to a byteArray: QByteArray byteArray; QBuffer buffer(&byteArray); buffer.open(QIODevice::WriteOnly); QDataStream out(&buffer);

Write Data:

Version & base state: out << (qint32)0; //version out << IVP13DSystemSimple::saveState();//Always include state info from the base class.

out << m_d->lineEdit_TrackingGeometrySvcName->text(); out << m_d->lineEdit_TrackingGeometryName->text();

std::map<QObject*,std::pair<SoSwitch*,bool> >::iterator chbMapIter = m_d->checkBoxSwitchMap.begin(); std::map<QObject*,std::pair<SoSwitch*,bool> >::iterator chbMapIterEnd = m_d->checkBoxSwitchMap.end(); for ( ; chbMapIter != chbMapIterEnd; ++chbMapIter ){ QCheckBox* checkBox = dynamic_cast<QCheckBox*>((chbMapIter)->first); if (checkBox) out << checkBox->isChecked();

}

Last step buffer.close(); return byteArray;

Reimplemented from IVP1System.

Definition at line 1568 of file VP1TrackingGeometrySystem.cxx.

1569 {
1570  //TK: BAD!!!!
1571  messageDebug("WARNING: VP1TrackingGeometrySystem persistification disabled for now due to crashes!");
1572  return {};
1602 }

◆ serviceLocator()

ISvcLocator * IVP1System::serviceLocator ( ) const
inherited

Definition at line 324 of file IVP1System.cxx.

325 {
327 }

◆ setActiveState()

void IVP1System::setActiveState ( const ActiveState s,
const bool &  donttriggererase = true 
)
privateinherited

Definition at line 162 of file IVP1System.cxx.

163 {
164  //First handle case where we dont actually change state. Only
165  //special consideration is OFF->OFF where we have to do something if
166  //we need to erase:
167  if (m_d->activeState==OFF&&s==OFF&&(m_d->state==REFRESHED||m_d->refreshing)&&!donttriggererase) {
168  needErase();
170  return;
171  } else if (m_d->activeState==s) {
173  return;
174  }
175 
176  //Ok, we know that we are either ON->OFF or OFF->ON.
177  m_d->activeState = s;
178 
179  if (s==ON) {
180  //OFF->ON: We might need a refresh, so send out a signal for the scheduler:
182  } else {
183  //ON->OFF: We might need an erase signal:
184  if ((m_d->state==REFRESHED||m_d->refreshing)&&!donttriggererase) {
185  needErase();
186  }
187  }
189 }

◆ setCanRegisterController()

void IVP1System::setCanRegisterController ( const bool &  c)
privateinherited

Definition at line 285 of file IVP1System.cxx.

286 {
287  if (VP1Msg::verbose()){
288  messageVerbose("setCanRegisterController called with"+QString(c?"true":"false"));
289  }
291 }

◆ setChannel()

void IVP1System::setChannel ( IVP1ChannelWidget cw)
privateinherited

Definition at line 94 of file IVP1System.cxx.

95 {
96  if (VP1Msg::verbose()) {
97  messageVerbose("setChannel ");
98  messageVerbose("setChannel m_d->state==CONSTRUCTED = "+QString(m_d->state==CONSTRUCTED?"true":"false"));
99  messageVerbose("setChannel cw!=0 = "+QString(cw!=0?"true":"false"));
100  }
101  assert(!m_d->channel);
102  assert(cw);
103  assert(m_d->state==CONSTRUCTED);
104  m_d->channel = cw;
105 }

◆ setRefreshing()

void IVP1System::setRefreshing ( const bool &  b)
privateinherited

Definition at line 114 of file IVP1System.cxx.

115 {
116  if (VP1Msg::verbose()){
117  messageVerbose("setRefreshing() called with b="+QString(b?"true":"false"));
118  }
119  if (b) {
120  assert(m_d->state==ERASED);
121  } else {
122  assert(m_d->state==REFRESHED);
123  }
124  m_d->refreshing = b;
125 }

◆ setState()

void IVP1System::setState ( const State s)
privateinherited

Definition at line 141 of file IVP1System.cxx.

142 {
143 #ifndef NDEBUG
144  assert (m_d->state != s);
145  assert(s!=CONSTRUCTED);
146  if (s==REFRESHED) {
147  assert(m_d->state==ERASED);
148  }
149  if (s==ERASED) {
150  assert(m_d->state==REFRESHED||m_d->state==CONSTRUCTED);
151  }
152  if (s==UNCREATED) {
153  assert(m_d->state==ERASED);
154  }
155 #endif
156  m_d->state = s;
157  if (s==REFRESHED||s==ERASED)
159 }

◆ setUserSelectionNotificationsEnabled()

void IVP13DSystem::setUserSelectionNotificationsEnabled ( SoCooperativeSelection sel,
bool  enabled 
)
inherited

Definition at line 310 of file IVP13DSystem.cxx.

311 {
312  if (!selection) {
313  message("setUserSelectionNotificationsEnabled Error: NULL selection pointer!");
314  return;
315  }
317  message("setUserSelectionNotificationsEnabled Error: Called for selection which was never registered!");
318  return;
319  }
320  if (enabled != m_d->selectionsWithDisabledNotifications.contains(selection))
321  return;
322 
323  if (enabled)
325  else
327 
328 }

◆ state()

IVP1System::State IVP1System::state ( ) const
inherited

Definition at line 129 of file IVP1System.cxx.

130 {
131  return m_d->state;
132 }

◆ storeGate()

StoreGateSvc* IVP1System::storeGate ( ) const
inlineinherited

Definition at line 119 of file IVP1System.h.

119 { return eventStore(); }//OBSOLETE NAME. Use eventStore() instead.

◆ str() [1/30]

static QString VP1String::str ( const Amg::Vector3D t)
inlinestaticinherited

Definition at line 98 of file VP1String.h.

98 { return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ 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

Definition at line 50 of file VP1String.h.

50 { return c; }

◆ str() [4/30]

static QString VP1String::str ( const double &  d)
inlinestaticinherited

Definition at line 81 of file VP1String.h.

81 { return QString::number(d); }

◆ str() [5/30]

static QString VP1String::str ( const float &  f)
inlinestaticinherited

Definition at line 82 of file VP1String.h.

82 { return QString::number(f); }

◆ str() [6/30]

template<class T >
static QString VP1String::str ( const HepGeom::BasicVector3D< T > &  t)
inlinestaticinherited

Definition at line 95 of file VP1String.h.

95 { return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [7/30]

QString VP1String::str ( const QColor &  c)
staticinherited

Definition at line 30 of file VP1String.cxx.

31 {
32  return c.isValid() ? c.name() : "Invalid";
33 }

◆ str() [8/30]

template<class T >
static QString VP1String::str ( const QFlags< T > &  f)
inlinestaticinherited

Definition at line 91 of file VP1String.h.

91 { return "0x"+QString::number(f, 16).toUpper().rightJustified(8,'0'); }

◆ str() [9/30]

template<class T >
static QString VP1String::str ( const QList< T > &  t)
inlinestaticinherited

Definition at line 102 of file VP1String.h.

102 { return "QList of size"+QString::number(t.size()); }

◆ str() [10/30]

static QString VP1String::str ( const QString &  s)
inlinestaticinherited

Definition at line 49 of file VP1String.h.

49 { return s; }

◆ str() [11/30]

QString VP1String::str ( const SbColor &  c)
staticinherited

Definition at line 36 of file VP1String.cxx.

37 {
39 }

◆ str() [12/30]

QString VP1String::str ( const SbVec2d &  v)
staticinherited

Definition at line 61 of file VP1String.cxx.

61 { double x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [13/30]

QString VP1String::str ( const SbVec2f &  v)
staticinherited

Definition at line 62 of file VP1String.cxx.

62 { float x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [14/30]

QString VP1String::str ( const SbVec2s &  v)
staticinherited

Definition at line 63 of file VP1String.cxx.

63 { short x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [15/30]

QString VP1String::str ( const SbVec3d &  v)
staticinherited

Definition at line 64 of file VP1String.cxx.

64 { double x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [16/30]

QString VP1String::str ( const SbVec3f &  v)
staticinherited

Definition at line 65 of file VP1String.cxx.

65 { float x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [17/30]

QString VP1String::str ( const SbVec3s &  v)
staticinherited

Definition at line 66 of file VP1String.cxx.

66 { short x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [18/30]

QString VP1String::str ( const SbVec4d &  v)
staticinherited

Definition at line 67 of file VP1String.cxx.

67 { double x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [19/30]

QString VP1String::str ( const SbVec4f &  v)
staticinherited

Definition at line 68 of file VP1String.cxx.

68 { float x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ 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.

49 {
50  if (p) {
51  std::ostringstream s;
52  s << p;
53  // Explicitly naming QString here avoids a cppcheck warning.
54  return QString (s.str().c_str());
55  } else {
56  return "NULL";
57  }
58 }

◆ str() [22/30]

QString VP1String::str ( const VP1Interval i)
staticinherited

Definition at line 42 of file VP1String.cxx.

43 {
44  return i.toString();
45 }

◆ str() [23/30]

static QString VP1String::str ( int  n)
inlinestaticinherited

Definition at line 77 of file VP1String.h.

77 { return QString::number(n); }

◆ str() [24/30]

static QString VP1String::str ( long  n)
inlinestaticinherited

Definition at line 75 of file VP1String.h.

75 { return QString::number(n); }

◆ str() [25/30]

static QString VP1String::str ( qlonglong  n)
inlinestaticinherited

Definition at line 79 of file VP1String.h.

79 { return QString::number(n); }

◆ str() [26/30]

static QString VP1String::str ( qulonglong  n)
inlinestaticinherited

Definition at line 80 of file VP1String.h.

80 { return QString::number(n); }

◆ str() [27/30]

static QString VP1String::str ( short int  n)
inlinestaticinherited

Definition at line 73 of file VP1String.h.

73 { return QString::number(n); }

◆ str() [28/30]

static QString VP1String::str ( uint  n)
inlinestaticinherited

Definition at line 78 of file VP1String.h.

78 { return QString::number(n); }

◆ str() [29/30]

static QString VP1String::str ( ulong  n)
inlinestaticinherited

Definition at line 76 of file VP1String.h.

76 { return QString::number(n); }

◆ str() [30/30]

static QString VP1String::str ( unsigned short int  n)
inlinestaticinherited

Definition at line 74 of file VP1String.h.

74 { return QString::number(n); }

◆ sysmessage

void IVP1System::sysmessage ( QString  ) const
signalinherited

◆ systemcreate()

void IVP13DSystemSimple::systemcreate ( StoreGateSvc detstore)
virtualinherited

◆ systemerase()

void IVP13DSystemSimple::systemerase ( )
virtualinherited

Reimplemented in VP1TrackSystem, VP1AODSystem, VP1PrepRawDataSystem, VP1RawDataSystem, VP1CaloClusterSystem, VP1MissingEtSystem, VP1CaloHitLegoSystem, VP1CaloLegoSystem, VP1VertexSystem, and VP1CaloCellSystem.

Definition at line 28 of file IVP13DSystemSimple.cxx.

29 {
30  // messageVerbose("WARNING: Did not reimplement systemerase!");
31 }

◆ systemuncreate()

void IVP13DSystemSimple::systemuncreate ( )
virtualinherited

◆ toolSvc()

IToolSvc * IVP1System::toolSvc ( ) const
inherited

Definition at line 330 of file IVP1System.cxx.

331 {
332  return VP1AthenaPtrs::toolSvc();
333 }

◆ uncreate()

void IVP13DSystemSimple::uncreate ( )
privatevirtualinherited

Reimplemented from IVP1System.

Definition at line 202 of file IVP13DSystemSimple.cxx.

203 {
204 
205  if(VP1Msg::verbose()){
206  messageDebug("uncreate()...");
207  }
208 
209  assert(m_d->wascreated);
210  assert(!m_d->wasrefreshed);
211  m_d->rootE->enableNotify(false);
212  m_d->rootR->enableNotify(false);
213  systemuncreate();
214  m_d->root->removeAllChildren();
215  m_d->rootE->removeAllChildren();
216  m_d->rootR->removeAllChildren();
217  m_d->wascreated=false;
218 }

◆ unregisterSelectionNode()

void IVP13DSystem::unregisterSelectionNode ( SoCooperativeSelection selection)
inherited

Definition at line 281 of file IVP13DSystem.cxx.

282 {
283  if (!selection) {
284  message("unregisterSelectionNode Error: NULL selection pointer!");
285  return;
286  }
288  message("registerSelectionNode Error: Trying to unregister unknown selection node!");
289  return;
290  }
291 
292  selection->removeSelectionCallback( Imp::made_selection, selection );
293  selection->removeDeselectionCallback( Imp::made_deselection, selection );
294  selection->removeStartCallback( Imp::start_changeselection, this );
295  selection->removeFinishCallback( Imp::finished_changeselection, this );
296  selection->removeClickOutsideCallback( Imp::clickedoutside, this );
297 
301  selection->unref();
302 
303  messageVerbose("selection node unregistered");
304 
305 }

◆ updateGUI()

void IVP13DSystemSimple::updateGUI ( )
inlineinherited

Definition at line 89 of file IVP13DSystemSimple.h.

◆ userChangedSelection()

void IVP13DSystem::userChangedSelection ( SoCooperativeSelection ,
QSet< SoNode * >  ,
QSet< SoPath * >   
)
virtualinherited

◆ userClickedOnBgd()

void IVP13DSystem::userClickedOnBgd ( )
virtualinherited

Reimplemented in VP1AODSystem, VP1TrackSystem, VP1PrepRawDataSystem, and VP1CaloReadoutSystem.

Definition at line 62 of file IVP13DSystem.cxx.

62 {}

◆ userDeselectedSingleNode()

void IVP13DSystem::userDeselectedSingleNode ( SoCooperativeSelection ,
SoNode *  ,
SoPath *   
)
virtualinherited

Reimplemented in VP1AODSystem, VP1TrackSystem, and VP1PrepRawDataSystem.

Definition at line 60 of file IVP13DSystem.cxx.

60 {}

◆ userPickedNode()

void IVP13DSystemSimple::userPickedNode ( SoNode *  pickedNode,
SoPath *  pickedPath 
)
virtualinherited

◆ userSelectedSingleNode()

void IVP13DSystem::userSelectedSingleNode ( SoCooperativeSelection ,
SoNode *  ,
SoPath *   
)
virtualinherited

Reimplemented in VP1AODSystem, VP1TrackSystem, and VP1PrepRawDataSystem.

Definition at line 59 of file IVP13DSystem.cxx.

59 {}

◆ verbose()

static bool IVP1System::verbose ( )
inlinestaticinherited

Definition at line 86 of file IVP1System.h.

86 { return s_vp1verbose; }// Returns true if env var VP1_VERBOSE_OUTPUT=1

◆ warnOnDisabledNotifications()

void IVP13DSystemSimple::warnOnDisabledNotifications ( ) const
inherited

Definition at line 221 of file IVP13DSystemSimple.cxx.

222 {
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()));
231  }
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()));
236  }
237 }

Member Data Documentation

◆ m_d

Imp* VP1TrackingGeometrySystem::m_d
private

Definition at line 60 of file VP1TrackingGeometrySystem.h.

◆ s_vp1verbose

const bool IVP1System::s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
staticprivateinherited

Definition at line 158 of file IVP1System.h.


The documentation for this class was generated from the following files:
VP1TrackingGeometrySystem::Imp::msETenvswitch
SoSwitch * msETenvswitch
Definition: VP1TrackingGeometrySystem.cxx:140
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
IVP13DSystemSimple::systemuncreate
virtual void systemuncreate()
Definition: IVP13DSystemSimple.cxx:27
VP1TrackingGeometrySystem::processTrkLayer
void processTrkLayer(const Trk::Layer *, VP1ExtraSepLayerHelper *, unsigned int colorCode)
Definition: VP1TrackingGeometrySystem.cxx:1239
VP1TrackingGeometrySystem::Imp::sephelper_pixLayBarrel
VP1ExtraSepLayerHelper * sephelper_pixLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:76
VP1TrackingGeometrySystem::Imp::colorCodeConverter
ColorCodeConverter colorCodeConverter
Definition: VP1TrackingGeometrySystem.cxx:256
VP1TrackingGeometrySystem::Imp::sephelper_passiveLayBarrel
VP1ExtraSepLayerHelper * sephelper_passiveLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:114
VP1TrackingGeometrySystem::Imp::sephelper_pixSurfECA
VP1ExtraSepLayerHelper * sephelper_pixSurfECA
Definition: VP1TrackingGeometrySystem.cxx:70
VP1TrackingGeometrySystem::Imp::msBIswitch
SoSwitch * msBIswitch
Definition: VP1TrackingGeometrySystem.cxx:123
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
VP1TrackingGeometrySystem::Imp::root
SoSeparator * root
Definition: VP1TrackingGeometrySystem.cxx:254
VP1TrackingGeometrySystem::Imp::sephelper_sctSurfECC
VP1ExtraSepLayerHelper * sephelper_sctSurfECC
Definition: VP1TrackingGeometrySystem.cxx:86
VP1TrackingGeometrySystem::processMsVolume
void processMsVolume(const Trk::TrackingVolume *, VP1ExtraSepLayerHelper *, VP1ExtraSepLayerHelper *)
Definition: VP1TrackingGeometrySystem.cxx:1141
IVP1System::Imp::contact_info
const QString contact_info
Definition: IVP1System.cxx:39
VP1TrackingGeometrySystem::Imp::sephelper_msRaenv
VP1ExtraSepLayerHelper * sephelper_msRaenv
Definition: VP1TrackingGeometrySystem.cxx:174
VP1TrackingGeometrySystem::Imp::sephelper_msB
VP1ExtraSepLayerHelper * sephelper_msB
Definition: VP1TrackingGeometrySystem.cxx:151
VP1TrackingGeometrySystem::Imp::checkBox_pixLayECC
QCheckBox * checkBox_pixLayECC
Definition: VP1TrackingGeometrySystem.cxx:204
VP1TrackingGeometrySystem::Imp::sephelper_msEI
VP1ExtraSepLayerHelper * sephelper_msEI
Definition: VP1TrackingGeometrySystem.cxx:157
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
IVP13DSystem::Imp::selection2system
static std::map< SoCooperativeSelection *, IVP13DSystem * > selection2system
Definition: IVP13DSystem.cxx:46
VP1TrackingGeometrySystem::Imp::checkBox_pixLayBarrel
QCheckBox * checkBox_pixLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:202
color
Definition: jFexInputByteStreamTool.cxx:25
VP1TrackingGeometrySystem::Imp::msEOswitch
SoSwitch * msEOswitch
Definition: VP1TrackingGeometrySystem.cxx:128
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
VP1TrackingGeometrySystem::Imp::msTGswitch
SoSwitch * msTGswitch
Definition: VP1TrackingGeometrySystem.cxx:130
VP1TrackingGeometrySystem::Imp::msIswitch
SoSwitch * msIswitch
Definition: VP1TrackingGeometrySystem.cxx:121
VP1TrackingGeometrySystem::Imp::passiveLayBarrelSwitch
SoSwitch * passiveLayBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:111
VP1TrackingGeometrySystem::Imp::senderMapFilled
bool senderMapFilled
Definition: VP1TrackingGeometrySystem.cxx:53
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
VP1TrackingGeometrySystem::Imp::pushButton_Retrieve
QPushButton * pushButton_Retrieve
Definition: VP1TrackingGeometrySystem.cxx:188
athena.path
path
python interpreter configuration --------------------------------------—
Definition: athena.py:126
VP1TrackingGeometrySystem::Imp::sephelper_sctLayECA
VP1ExtraSepLayerHelper * sephelper_sctLayECA
Definition: VP1TrackingGeometrySystem.cxx:92
VP1TrackingGeometrySystem::Imp::msEMswitch
SoSwitch * msEMswitch
Definition: VP1TrackingGeometrySystem.cxx:127
IVP13DSystem::Imp::made_selection
static void made_selection(void *userdata, SoPath *path)
Definition: IVP13DSystem.cxx:192
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
IVP13DSystemSimple::IVP13DSystemSimple
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
Definition: IVP13DSystemSimple.cxx:50
IVP13DSystem::Imp::viewers
std::set< SoQtViewer * > viewers
Definition: IVP13DSystem.cxx:37
VP1TrackingGeometrySystem::Imp::trtSurfECCSwitch
SoSwitch * trtSurfECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:98
VP1TrackingGeometrySystem::Imp::sephelper_msEMlay
VP1ExtraSepLayerHelper * sephelper_msEMlay
Definition: VP1TrackingGeometrySystem.cxx:166
IVP13DSystemSimple::buildController
virtual QWidget * buildController()
Definition: IVP13DSystemSimple.cxx:24
VP1TrackingGeometrySystem::processTrkVolume
void processTrkVolume(const Trk::TrackingVolume *)
Definition: VP1TrackingGeometrySystem.cxx:1007
VP1TrackingGeometrySystem::Imp::checkBox_passiveLayECA
QCheckBox * checkBox_passiveLayECA
Definition: VP1TrackingGeometrySystem.cxx:212
VP1TrackingGeometrySystem::Imp::pixLayECASwitch
SoSwitch * pixLayECASwitch
Definition: VP1TrackingGeometrySystem.cxx:74
VP1JobConfigInfo::ensureInit
static void ensureInit(IVP1System *)
Definition: VP1JobConfigInfo.h:30
Trk::Volume::inside
bool inside(const Amg::Vector3D &gp, double tol=0.) const
Inside() method for checks.
Definition: Volume.cxx:90
VP1TrackingGeometrySystem::Imp::sephelper_msFedl
VP1ExtraSepLayerHelper * sephelper_msFedl
Definition: VP1TrackingGeometrySystem.cxx:178
IVP1System::CONSTRUCTED
@ CONSTRUCTED
Definition: IVP1System.h:143
VP1TrackingGeometrySystem::Imp::sephelper_passiveLayECA
VP1ExtraSepLayerHelper * sephelper_passiveLayECA
Definition: VP1TrackingGeometrySystem.cxx:115
VP1TrackingGeometrySystem::Imp::checkBox_msEMvol
QCheckBox * checkBox_msEMvol
Definition: VP1TrackingGeometrySystem.cxx:229
VP1TrackingGeometrySystem::Imp::retrieveSuccess
bool retrieveSuccess
Definition: VP1TrackingGeometrySystem.cxx:50
hist_file_dump.d
d
Definition: hist_file_dump.py:137
VP1JobConfigInfo::hasTileGeometry
static bool hasTileGeometry()
Definition: VP1JobConfigInfo.cxx:133
VP1TrackingGeometrySystem::Imp::msBTenvswitch
SoSwitch * msBTenvswitch
Definition: VP1TrackingGeometrySystem.cxx:139
VP1TrackingGeometrySystem::Imp::msOswitch
SoSwitch * msOswitch
Definition: VP1TrackingGeometrySystem.cxx:122
VP1TrackingGeometrySystem::Imp::checkBox_trtSurfECA
QCheckBox * checkBox_trtSurfECA
Definition: VP1TrackingGeometrySystem.cxx:198
VP1TrackingGeometrySystem::Imp::checkBox_msEOvol
QCheckBox * checkBox_msEOvol
Definition: VP1TrackingGeometrySystem.cxx:231
VP1JobConfigInfo::hasLArGeometry
static bool hasLArGeometry()
Definition: VP1JobConfigInfo.cxx:132
Trk::ITrackingGeometrySvc
Definition: ITrackingGeometrySvc.h:27
SurfaceToSoNode
Definition: SurfaceToSoNode.h:30
fillPileUpNoiseLumi.connect
string connect
Definition: fillPileUpNoiseLumi.py:70
VP1TrackingGeometrySystem::Imp::checkBox_pixLayECA
QCheckBox * checkBox_pixLayECA
Definition: VP1TrackingGeometrySystem.cxx:203
VP1ExtraSepLayerHelper::addNodeUnderMaterial
void addNodeUnderMaterial(SoNode *, SoMaterial *)
Definition: VP1ExtraSepLayerHelper.cxx:190
VP1TrackingGeometrySystem::Imp::checkBox_msEIlay
QCheckBox * checkBox_msEIlay
Definition: VP1TrackingGeometrySystem.cxx:228
IVP13DSystemSimple::Imp::rootR
SoSeparator * rootR
Definition: IVP13DSystemSimple.cxx:37
VP1TrackingGeometrySystem::Imp::sephelper_msEOlay
VP1ExtraSepLayerHelper * sephelper_msEOlay
Definition: VP1TrackingGeometrySystem.cxx:167
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
skel.it
it
Definition: skel.GENtoEVGEN.py:423
VP1TrackingGeometrySystem::Imp::msRadlswitch
SoSwitch * msRadlswitch
Definition: VP1TrackingGeometrySystem.cxx:148
IVP1System::m_d
Imp * m_d
Definition: IVP1System.h:130
VP1TrackingGeometrySystem::Imp::lineEdit_TrackingGeometryName
QLineEdit * lineEdit_TrackingGeometryName
Definition: VP1TrackingGeometrySystem.cxx:186
VP1TrackingGeometrySystem::Imp::checkBox_trtSurfECC
QCheckBox * checkBox_trtSurfECC
Definition: VP1TrackingGeometrySystem.cxx:199
M_PI
#define M_PI
Definition: ActiveFraction.h:11
IVP13DSystemSimple::Imp::rootE
SoSeparator * rootE
Definition: IVP13DSystemSimple.cxx:38
VP1TrackingGeometrySystem::Imp::sephelper_msFeenv
VP1ExtraSepLayerHelper * sephelper_msFeenv
Definition: VP1TrackingGeometrySystem.cxx:173
VP1TrackingGeometrySystem::Imp::checkBox_trtLayBarrel
QCheckBox * checkBox_trtLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:208
Trk::TrackingVolume::confinedDetachedVolumes
ArraySpan< DetachedTrackingVolume const *const > confinedDetachedVolumes() const
Return detached subVolumes - not the ownership.
IVP1System::inactiveSystemTurnedActive
void inactiveSystemTurnedActive()
VP1Msg::debug
static bool debug()
Definition: VP1Msg.h:32
VP1TrackingGeometrySystem::Imp::lineEdit_TrackingGeometrySvcName
QLineEdit * lineEdit_TrackingGeometrySvcName
Definition: VP1TrackingGeometrySystem.cxx:185
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
VP1TrackingGeometrySystem::changeTopLevelView
void changeTopLevelView()
Definition: VP1TrackingGeometrySystem.cxx:1490
IVP1System::Imp::refreshing
bool refreshing
Definition: IVP1System.cxx:45
VP1TrackingGeometrySystem::Imp::sephelper_msCSlay
VP1ExtraSepLayerHelper * sephelper_msCSlay
Definition: VP1TrackingGeometrySystem.cxx:168
IVP13DSystem::Imp::clickedoutside
static void clickedoutside(void *userdata, SoCooperativeSelection *sel)
Definition: IVP13DSystem.cxx:65
sendEI_SPB.root
root
Definition: sendEI_SPB.py:34
VP1TrackingGeometrySystem::Imp::msEMlayswitch
SoSwitch * msEMlayswitch
Definition: VP1TrackingGeometrySystem.cxx:135
IVP1ChannelWidget::emitRefreshInfoChanged
void emitRefreshInfoChanged()
Definition: IVP1ChannelWidget.cxx:268
VP1TrackingGeometrySystem::Imp::checkBox_msEOlay
QCheckBox * checkBox_msEOlay
Definition: VP1TrackingGeometrySystem.cxx:232
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
VP1TrackingGeometrySystem::Imp::sephelper_msO
VP1ExtraSepLayerHelper * sephelper_msO
Definition: VP1TrackingGeometrySystem.cxx:153
VP1TrackingGeometrySystem::Imp::sephelper_msETenv
VP1ExtraSepLayerHelper * sephelper_msETenv
Definition: VP1TrackingGeometrySystem.cxx:171
TrackingVolumeToSoNode
Definition: TrackingVolumeToSoNode.h:28
VP1TrackingGeometrySystem::Imp::clipswitch
SoSwitch * clipswitch
Definition: VP1TrackingGeometrySystem.cxx:119
VP1TrackingGeometrySystem::Imp::checkBox_TrackingVolumes
QCheckBox * checkBox_TrackingVolumes
Definition: VP1TrackingGeometrySystem.cxx:189
VP1TrackingGeometrySystem::Imp::checkBox_msBTenv
QCheckBox * checkBox_msBTenv
Definition: VP1TrackingGeometrySystem.cxx:237
VP1TrackingGeometrySystem::Imp::sephelper_sctLayBarrel
VP1ExtraSepLayerHelper * sephelper_sctLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:91
VP1TrackingGeometrySystem::Imp::sctSurfECASwitch
SoSwitch * sctSurfECASwitch
Definition: VP1TrackingGeometrySystem.cxx:82
VP1TrackingGeometrySystem::Imp::checkBox_msCSlay
QCheckBox * checkBox_msCSlay
Definition: VP1TrackingGeometrySystem.cxx:234
x
#define x
VP1String::str
static QString str(const QString &s)
Definition: VP1String.h:49
IVP13DSystemSimple::buildPermanentSceneGraph
virtual void buildPermanentSceneGraph(StoreGateSvc *detstore, SoSeparator *root)
Definition: IVP13DSystemSimple.cxx:25
VP1TrackingGeometrySystem::Imp::sephelper_msEM
VP1ExtraSepLayerHelper * sephelper_msEM
Definition: VP1TrackingGeometrySystem.cxx:158
VP1TrackingGeometrySystem::Imp::pixLayECCSwitch
SoSwitch * pixLayECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:75
VP1TrackingGeometrySystem::Imp::sephelper_pixSurfECC
VP1ExtraSepLayerHelper * sephelper_pixSurfECC
Definition: VP1TrackingGeometrySystem.cxx:71
VP1TrackingGeometrySystem::Imp::checkBox_msCSvol
QCheckBox * checkBox_msCSvol
Definition: VP1TrackingGeometrySystem.cxx:233
VP1TrackingGeometrySystem::Imp::checkBox_passiveLayBarrel
QCheckBox * checkBox_passiveLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:211
VP1TrackingGeometrySystem::Imp::msBTdlswitch
SoSwitch * msBTdlswitch
Definition: VP1TrackingGeometrySystem.cxx:144
IVP1System::s_vp1verbose
static const bool s_vp1verbose
Definition: IVP1System.h:158
TruthTest.itE
itE
Definition: TruthTest.py:25
VP1TrackingGeometrySystem::Imp::sephelper_trtLayECA
VP1ExtraSepLayerHelper * sephelper_trtLayECA
Definition: VP1TrackingGeometrySystem.cxx:107
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
VP1TrackingGeometrySystem::Imp::sephelper_trtSurfECA
VP1ExtraSepLayerHelper * sephelper_trtSurfECA
Definition: VP1TrackingGeometrySystem.cxx:100
VP1TrackingGeometrySystem::Imp::checkBox_msBIlay
QCheckBox * checkBox_msBIlay
Definition: VP1TrackingGeometrySystem.cxx:222
VP1TrackingGeometrySystem::Imp::checkBox_sctSurfECC
QCheckBox * checkBox_sctSurfECC
Definition: VP1TrackingGeometrySystem.cxx:196
VP1TrackingGeometrySystem::Imp::msBswitch
SoSwitch * msBswitch
Definition: VP1TrackingGeometrySystem.cxx:120
StoreGateSvc::retrieve
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
VP1TrackingGeometrySystem::Imp::checkBoxSwitchMap
std::map< QObject *, std::pair< SoSwitch *, bool > > checkBoxSwitchMap
Definition: VP1TrackingGeometrySystem.cxx:54
Trk::TrackingVolume::confinedLayers
const LayerArray * confinedLayers() const
Return the subLayer array.
VP1TrackingGeometrySystem::processMsLayDense
void processMsLayDense(const Trk::TrackingVolume *tvol, VP1ExtraSepLayerHelper *sepHelper, VP1ExtraSepLayerHelper *layHelper, int color)
Definition: VP1TrackingGeometrySystem.cxx:1262
IVP13DSystemSimple::Imp::root
SoCooperativeSelection * root
Definition: IVP13DSystemSimple.cxx:36
IVP13DSystemSimple::buildEventSceneGraph
virtual void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)=0
IVP1System::needErase
void needErase()
VP1TrackingGeometrySystem::Imp::checkBox_msETdl
QCheckBox * checkBox_msETdl
Definition: VP1TrackingGeometrySystem.cxx:243
VP1TrackingGeometrySystem::Imp::checkBox_msTGlay
QCheckBox * checkBox_msTGlay
Definition: VP1TrackingGeometrySystem.cxx:236
Trk::TrackingVolume::colorCode
unsigned int colorCode() const
Get the color code.
VP1TrackingGeometrySystem::Imp::sephelper_msBO
VP1ExtraSepLayerHelper * sephelper_msBO
Definition: VP1TrackingGeometrySystem.cxx:156
TrackingVolumeToSoNode::translateTrackingVolume
SoNode * translateTrackingVolume(const Trk::TrackingVolume &tvol) const
Definition: TrackingVolumeToSoNode.cxx:60
Trk::TrackingGeometry::highestTrackingVolume
const TrackingVolume * highestTrackingVolume() const
return the world
VP1TrackingGeometrySystem::m_d
Imp * m_d
Definition: VP1TrackingGeometrySystem.h:59
Trk::Layer::surfaceRepresentation
virtual const Surface & surfaceRepresentation() const =0
Transforms the layer into a Surface representation for extrapolation.
VP1Msg::prefix_msg
static const char * prefix_msg()
Definition: VP1Msg.h:56
VP1ExtraSepLayerHelper
Definition: VP1ExtraSepLayerHelper.h:22
VP1TrackingGeometrySystem::Imp::surface2sonode
SurfaceToSoNode * surface2sonode
Definition: VP1TrackingGeometrySystem.cxx:182
IVP1System::Imp::information
const QString information
Definition: IVP1System.cxx:38
IVP13DSystem::Imp::start_changeselection
static void start_changeselection(void *userdata, SoSelection *sel)
Definition: IVP13DSystem.cxx:94
VP1TrackingGeometrySystem::Imp::msEIlayswitch
SoSwitch * msEIlayswitch
Definition: VP1TrackingGeometrySystem.cxx:134
VP1TrackingGeometrySystem::Imp::checkBox_beamPipe
QCheckBox * checkBox_beamPipe
Definition: VP1TrackingGeometrySystem.cxx:201
lumiFormat.i
int i
Definition: lumiFormat.py:92
Trk::LayerIndex
Definition: LayerIndex.h:37
z
#define z
Trk::ArraySpan
std::span< T > ArraySpan
Definition: DetachedTrackingVolume.h:34
beamspotman.n
n
Definition: beamspotman.py:731
Trk::TrackingVolume::confinedArbitraryLayers
ArraySpan< Layer const *const > confinedArbitraryLayers() const
Return the confined subLayer array.
VP1TrackingGeometrySystem::Imp::msCSswitch
SoSwitch * msCSswitch
Definition: VP1TrackingGeometrySystem.cxx:129
VP1TrackingGeometrySystem::Imp::trtSurfBarrelSwitch
SoSwitch * trtSurfBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:96
Trk::TrackingGeometry
Definition: TrackingGeometry.h:67
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
VP1TrackingGeometrySystem::Imp::sephelper_msShdl
VP1ExtraSepLayerHelper * sephelper_msShdl
Definition: VP1TrackingGeometrySystem.cxx:177
IVP13DSystemSimple::systemerase
virtual void systemerase()
Definition: IVP13DSystemSimple.cxx:28
Trk::TrackingVolume::confinedDenseVolumes
ArraySpan< TrackingVolume const *const > confinedDenseVolumes() const
Return unordered subVolumes - not the ownership.
VP1TrackingGeometrySystem::Imp::passiveLayECCSwitch
SoSwitch * passiveLayECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:113
VP1TrackingGeometrySystem::Imp::sephelper_msBTdl
VP1ExtraSepLayerHelper * sephelper_msBTdl
Definition: VP1TrackingGeometrySystem.cxx:175
VP1JobConfigInfo::hasSCTGeometry
static bool hasSCTGeometry()
Definition: VP1JobConfigInfo.cxx:128
VP1TrackingGeometrySystem::Imp::sephelper_vol
VP1ExtraSepLayerHelper * sephelper_vol
Definition: VP1TrackingGeometrySystem.cxx:59
IVP1System::serviceLocator
ISvcLocator * serviceLocator() const
Definition: IVP1System.cxx:324
SurfaceToSoNode::translateSurface
SoNode * translateSurface(const Trk::Surface &sf, const bool &simple=false) const
Definition: SurfaceToSoNode.cxx:57
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
IVP1System::REFRESHED
@ REFRESHED
Definition: IVP1System.h:143
IVP1System::Imp::activeState
ActiveState activeState
Definition: IVP1System.cxx:43
VP1TrackingGeometrySystem::Imp::sephelper_msBOlay
VP1ExtraSepLayerHelper * sephelper_msBOlay
Definition: VP1TrackingGeometrySystem.cxx:164
VP1TrackingGeometrySystem::Imp::checkBox_msRaenv
QCheckBox * checkBox_msRaenv
Definition: VP1TrackingGeometrySystem.cxx:241
VP1TrackingGeometrySystem::Imp::sephelper_msTGlay
VP1ExtraSepLayerHelper * sephelper_msTGlay
Definition: VP1TrackingGeometrySystem.cxx:169
Trk::Volume::center
const Amg::Vector3D & center() const
returns the center of the volume
Definition: Volume.h:86
VP1TrackingGeometrySystem::Imp::checkBox_msTGvol
QCheckBox * checkBox_msTGvol
Definition: VP1TrackingGeometrySystem.cxx:235
VP1TrackingGeometrySystem::Imp::trtLayECCSwitch
SoSwitch * trtLayECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:105
IVP13DSystemSimple::systemcreate
virtual void systemcreate(StoreGateSvc *detstore)
Definition: IVP13DSystemSimple.cxx:23
VP1TrackingGeometrySystem::Imp::surfacesNames
std::vector< std::string > surfacesNames
Definition: VP1TrackingGeometrySystem.cxx:215
VP1TrackingGeometrySystem::Imp::checkBox_msEMlay
QCheckBox * checkBox_msEMlay
Definition: VP1TrackingGeometrySystem.cxx:230
IVP13DSystemSimple::ensureBuildController
void ensureBuildController()
Definition: IVP13DSystemSimple.cxx:90
VP1TrackingGeometrySystem::Imp::detStore
StoreGateSvc * detStore
Definition: VP1TrackingGeometrySystem.cxx:253
IVP1System::Imp::allowupdategui
bool allowupdategui
Definition: IVP1System.cxx:41
VP1TrackingGeometrySystem::Imp::msEIswitch
SoSwitch * msEIswitch
Definition: VP1TrackingGeometrySystem.cxx:126
VP1TrackingGeometrySystem::Imp::initialTrackingGeometryName
QString initialTrackingGeometryName
Definition: VP1TrackingGeometrySystem.cxx:250
VP1TrackingGeometrySystem::Imp::sephelper_trtLayECC
VP1ExtraSepLayerHelper * sephelper_trtLayECC
Definition: VP1TrackingGeometrySystem.cxx:108
VP1TrackingGeometrySystem::Imp::msBOswitch
SoSwitch * msBOswitch
Definition: VP1TrackingGeometrySystem.cxx:125
selection
std::string selection
Definition: fbtTestBasics.cxx:73
VP1JobConfigInfo::hasTRTGeometry
static bool hasTRTGeometry()
Definition: VP1JobConfigInfo.cxx:129
IVP1System::UNCREATED
@ UNCREATED
Definition: IVP1System.h:143
IVP1System::eventStore
StoreGateSvc * eventStore() const
Definition: IVP1System.cxx:312
Trk::LayerIndex::value
int value() const
layerIndex expressed in an integer
Definition: LayerIndex.h:71
VP1TrackingGeometrySystem::Imp::checkBox_msBOvol
QCheckBox * checkBox_msBOvol
Definition: VP1TrackingGeometrySystem.cxx:225
VP1TrackingGeometrySystem::Imp::checkBox_msETenv
QCheckBox * checkBox_msETenv
Definition: VP1TrackingGeometrySystem.cxx:238
IVP1System::sysmessage
void sysmessage(QString) const
VP1TrackingGeometrySystem::Imp::sephelper_msEO
VP1ExtraSepLayerHelper * sephelper_msEO
Definition: VP1TrackingGeometrySystem.cxx:159
VP1TrackingGeometrySystem::Imp::checkBox_sctLayECA
QCheckBox * checkBox_sctLayECA
Definition: VP1TrackingGeometrySystem.cxx:206
VP1TrackingGeometrySystem::Imp::checkBox_msBTdl
QCheckBox * checkBox_msBTdl
Definition: VP1TrackingGeometrySystem.cxx:242
VP1TrackingGeometrySystem::Imp::volswitch
SoSwitch * volswitch
Definition: VP1TrackingGeometrySystem.cxx:58
VP1AthenaPtrs::serviceLocator
static ISvcLocator * serviceLocator()
Definition: VP1AthenaPtrs.h:29
IVP1System::ON
@ ON
Definition: IVP1System.h:144
IVP13DSystemSimple::Imp::first
bool first
Definition: IVP13DSystemSimple.cxx:43
VP1TrackingGeometrySystem::Imp::msRaenvswitch
SoSwitch * msRaenvswitch
Definition: VP1TrackingGeometrySystem.cxx:143
VP1TrackingGeometrySystem::Imp::checkBox_msEIvol
QCheckBox * checkBox_msEIvol
Definition: VP1TrackingGeometrySystem.cxx:227
VP1AthenaPtrs::eventStore
static StoreGateSvc * eventStore()
Definition: VP1AthenaPtrs.h:27
VP1QtInventorUtils::sbcol2qcol
static QColor sbcol2qcol(const SbColor &)
Definition: VP1QtInventorUtils.cxx:1140
grepfile.sep
sep
Definition: grepfile.py:38
Trk::TrackingVolume::volumeName
const std::string & volumeName() const
Returns the VolumeName - for debug reason, might be depreciated later.
IVP13DSystem::Imp::staticcameras
std::set< SoCamera * > staticcameras
Definition: IVP13DSystem.cxx:36
VP1TrackingGeometrySystem::Imp::checkBox_sctSurfBarrel
QCheckBox * checkBox_sctSurfBarrel
Definition: VP1TrackingGeometrySystem.cxx:194
VP1TrackingGeometrySystem::Imp::trtLayECASwitch
SoSwitch * trtLayECASwitch
Definition: VP1TrackingGeometrySystem.cxx:104
VP1TrackingGeometrySystem::Imp::passiveLayECASwitch
SoSwitch * passiveLayECASwitch
Definition: VP1TrackingGeometrySystem.cxx:112
IVP1System::messageDebug
void messageDebug(const QString &) const
Definition: IVP1System.cxx:347
python.selection.number
number
Definition: selection.py:20
IVP1System::detectorStore
StoreGateSvc * detectorStore() const
Definition: IVP1System.cxx:318
IVP13DSystemSimple::Imp::controllerBuilt
bool controllerBuilt
Definition: IVP13DSystemSimple.cxx:42
VP1AthenaPtrs::toolSvc
static IToolSvc * toolSvc()
Definition: VP1AthenaPtrs.h:30
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
VP1TrackingGeometrySystem::Imp::checkBox_trtLayECC
QCheckBox * checkBox_trtLayECC
Definition: VP1TrackingGeometrySystem.cxx:210
VP1TrackingGeometrySystem::Imp::sephelper_beamPipe
VP1ExtraSepLayerHelper * sephelper_beamPipe
Definition: VP1TrackingGeometrySystem.cxx:63
VP1TrackingGeometrySystem::Imp::pixSurfECASwitch
SoSwitch * pixSurfECASwitch
Definition: VP1TrackingGeometrySystem.cxx:67
Trk::BinnedArray::arrayObjects
virtual BinnedArraySpan< T *const > arrayObjects()=0
Return all objects of the Array non-const we can still modify the T.
VP1TrackingGeometrySystem::Imp::sephelper_msTG
VP1ExtraSepLayerHelper * sephelper_msTG
Definition: VP1TrackingGeometrySystem.cxx:161
IVP13DSystemSimple::Imp::getNodesWithDisabledNotifications
void getNodesWithDisabledNotifications(SoGroup *, QList< SoNode * > &) const
Definition: IVP13DSystemSimple.cxx:240
VP1TrackingGeometrySystem::Imp::msTGlayswitch
SoSwitch * msTGlayswitch
Definition: VP1TrackingGeometrySystem.cxx:138
IVP1System::Imp::controller
QWidget * controller
Definition: IVP1System.cxx:44
VP1Msg::prefix_debug
static const char * prefix_debug()
Definition: VP1Msg.h:57
VP1TrackingGeometrySystem::Imp::msBMlayswitch
SoSwitch * msBMlayswitch
Definition: VP1TrackingGeometrySystem.cxx:132
Trk::ITrackingGeometrySvc::trackingGeometry
virtual const Trk::TrackingGeometry * trackingGeometry() const =0
Provide the TrackingGeometry.
VP1TrackingGeometrySystem::processTrkSurface
void processTrkSurface(const Trk::Surface *, VP1ExtraSepLayerHelper *, unsigned int colorCode)
Definition: VP1TrackingGeometrySystem.cxx:1252
VP1TrackingGeometrySystem::Imp::sephelper_msCS
VP1ExtraSepLayerHelper * sephelper_msCS
Definition: VP1TrackingGeometrySystem.cxx:160
VP1TrackingGeometrySystem::Imp::sephelper_trtSurfBarrel
VP1ExtraSepLayerHelper * sephelper_trtSurfBarrel
Definition: VP1TrackingGeometrySystem.cxx:99
IVP1System::registerController
void registerController(QWidget *)
Definition: IVP1System.cxx:224
VP1TrackingGeometrySystem::Imp::sephelper_msBIlay
VP1ExtraSepLayerHelper * sephelper_msBIlay
Definition: VP1TrackingGeometrySystem.cxx:162
VP1TrackingGeometrySystem::Imp::checkBox_msFedl
QCheckBox * checkBox_msFedl
Definition: VP1TrackingGeometrySystem.cxx:245
VP1TrackingGeometrySystem::Imp::msBOlayswitch
SoSwitch * msBOlayswitch
Definition: VP1TrackingGeometrySystem.cxx:133
VP1TrackingGeometrySystem::Imp::sephelper_msShenv
VP1ExtraSepLayerHelper * sephelper_msShenv
Definition: VP1TrackingGeometrySystem.cxx:172
VP1TrackingGeometrySystem::Imp::checkBox_msFeenv
QCheckBox * checkBox_msFeenv
Definition: VP1TrackingGeometrySystem.cxx:240
VP1TrackingGeometrySystem::Imp::sephelper_passiveLayECC
VP1ExtraSepLayerHelper * sephelper_passiveLayECC
Definition: VP1TrackingGeometrySystem.cxx:116
VP1TrackingGeometrySystem::Imp::msCSlayswitch
SoSwitch * msCSlayswitch
Definition: VP1TrackingGeometrySystem.cxx:137
VP1TrackingGeometrySystem::Imp::sctLayECASwitch
SoSwitch * sctLayECASwitch
Definition: VP1TrackingGeometrySystem.cxx:89
VP1TrackingGeometrySystem::Imp::msETdlswitch
SoSwitch * msETdlswitch
Definition: VP1TrackingGeometrySystem.cxx:145
VP1TrackingGeometrySystem::Imp::sephelper_msETdl
VP1ExtraSepLayerHelper * sephelper_msETdl
Definition: VP1TrackingGeometrySystem.cxx:176
python.PyAthena.v
v
Definition: PyAthena.py:157
VP1TrackingGeometrySystem::Imp::sephelper_msEIlay
VP1ExtraSepLayerHelper * sephelper_msEIlay
Definition: VP1TrackingGeometrySystem.cxx:165
VP1TrackingGeometrySystem::Imp::checkBox_pixSurfECA
QCheckBox * checkBox_pixSurfECA
Definition: VP1TrackingGeometrySystem.cxx:192
VP1TrackingGeometrySystem::Imp::checkBox_msRadl
QCheckBox * checkBox_msRadl
Definition: VP1TrackingGeometrySystem.cxx:246
VP1Msg::prefix_verbose
static const char * prefix_verbose()
Definition: VP1Msg.h:59
IVP13DSystemSimple::updateGUI
void updateGUI()
Definition: IVP13DSystemSimple.h:89
VP1TrackingGeometrySystem::Imp::trackvol2sonode
TrackingVolumeToSoNode * trackvol2sonode
Definition: VP1TrackingGeometrySystem.cxx:181
VP1TrackingGeometrySystem::Imp::sctSurfECCSwitch
SoSwitch * sctSurfECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:83
VP1TrackingGeometrySystem::Imp::msShenvswitch
SoSwitch * msShenvswitch
Definition: VP1TrackingGeometrySystem.cxx:141
VP1TrackingGeometrySystem::Imp::sctLayECCSwitch
SoSwitch * sctLayECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:90
VP1TrackingGeometrySystem::retrieveTrackingGeometry
void retrieveTrackingGeometry()
Definition: VP1TrackingGeometrySystem.cxx:486
y
#define y
VP1TrackingGeometrySystem::Imp::pixLayBarrelSwitch
SoSwitch * pixLayBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:73
IVP13DSystem::Imp::made_deselection
static void made_deselection(void *userdata, SoPath *path)
Definition: IVP13DSystem.cxx:227
VP1TrackingGeometrySystem::Imp::msBIlayswitch
SoSwitch * msBIlayswitch
Definition: VP1TrackingGeometrySystem.cxx:131
VP1TrackingGeometrySystem::Imp::checkBox_MuonStaticFrameB
QCheckBox * checkBox_MuonStaticFrameB
Definition: VP1TrackingGeometrySystem.cxx:218
VP1TrackingGeometrySystem::Imp::checkBox_trtLayECA
QCheckBox * checkBox_trtLayECA
Definition: VP1TrackingGeometrySystem.cxx:209
VP1TrackingGeometrySystem::Imp::initialTrackingGeometrySvcName
QString initialTrackingGeometrySvcName
Definition: VP1TrackingGeometrySystem.cxx:249
IVP1System::updateGUI
void updateGUI()
Definition: IVP1System.cxx:262
IVP1System::Imp::channel
IVP1ChannelWidget * channel
Definition: IVP1System.cxx:40
IVP13DSystemSimple::warnOnDisabledNotifications
void warnOnDisabledNotifications() const
Definition: IVP13DSystemSimple.cxx:221
VP1TrackingGeometrySystem::Imp::sephelper_pixSurfBarrel
VP1ExtraSepLayerHelper * sephelper_pixSurfBarrel
Definition: VP1TrackingGeometrySystem.cxx:69
Trk::TrackingVolume::confinedVolumes
const TrackingVolumeArray * confinedVolumes() const
Return the subLayer array.
VP1TrackingGeometrySystem::Imp::checkBox_msBOlay
QCheckBox * checkBox_msBOlay
Definition: VP1TrackingGeometrySystem.cxx:226
DeMoScan.first
bool first
Definition: DeMoScan.py:534
VP1TrackingGeometrySystem::Imp::checkBox_sctLayBarrel
QCheckBox * checkBox_sctLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:205
VP1TrackingGeometrySystem::Imp::checkBox_msShenv
QCheckBox * checkBox_msShenv
Definition: VP1TrackingGeometrySystem.cxx:239
VP1TrackingGeometrySystem::Imp::pixSurfBarrelSwitch
SoSwitch * pixSurfBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:66
IVP13DSystem::Imp::selectionsWithDisabledNotifications
QSet< SoCooperativeSelection * > selectionsWithDisabledNotifications
Definition: IVP13DSystem.cxx:50
VP1TrackingGeometrySystem::Imp::sephelper_msBM
VP1ExtraSepLayerHelper * sephelper_msBM
Definition: VP1TrackingGeometrySystem.cxx:155
VP1TrackingGeometrySystem::Imp::sephelper_pixLayECA
VP1ExtraSepLayerHelper * sephelper_pixLayECA
Definition: VP1TrackingGeometrySystem.cxx:77
IVP13DSystemSimple::m_d
Imp * m_d
Definition: IVP13DSystemSimple.h:79
Trk::TrackingGeometry::trackingVolume
const TrackingVolume * trackingVolume(const std::string &name) const
return the tracking Volume by name, 0 if it doesn't exist
VP1TrackingGeometrySystem::Imp::sephelper_trtLayBarrel
VP1ExtraSepLayerHelper * sephelper_trtLayBarrel
Definition: VP1TrackingGeometrySystem.cxx:106
VP1TrackingGeometrySystem::Imp::sctLayBarrelSwitch
SoSwitch * sctLayBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:88
VP1TrackingGeometrySystem::Imp::sephelper_msRadl
VP1ExtraSepLayerHelper * sephelper_msRadl
Definition: VP1TrackingGeometrySystem.cxx:179
VP1TrackingGeometrySystem::Imp::sephelper_msBTenv
VP1ExtraSepLayerHelper * sephelper_msBTenv
Definition: VP1TrackingGeometrySystem.cxx:170
ColorCodeConverter::getMaterialFromColorCode
SoMaterial * getMaterialFromColorCode(unsigned int colorCode=red)
Definition: ColorCodeConverter.h:50
VP1TrackingGeometrySystem::Imp::msBMswitch
SoSwitch * msBMswitch
Definition: VP1TrackingGeometrySystem.cxx:124
IVP13DSystem::Imp::finished_changeselection
static void finished_changeselection(void *userdata, SoSelection *sel)
Definition: IVP13DSystem.cxx:121
VP1TrackingGeometrySystem::Imp::sephelper_sctLayECC
VP1ExtraSepLayerHelper * sephelper_sctLayECC
Definition: VP1TrackingGeometrySystem.cxx:93
VP1TrackingGeometrySystem::Imp::sephelper_sctSurfECA
VP1ExtraSepLayerHelper * sephelper_sctSurfECA
Definition: VP1TrackingGeometrySystem.cxx:85
VP1TrackingGeometrySystem::Imp::beamPipeSwitch
SoSwitch * beamPipeSwitch
Definition: VP1TrackingGeometrySystem.cxx:62
VP1TrackingGeometrySystem::Imp::msEOlayswitch
SoSwitch * msEOlayswitch
Definition: VP1TrackingGeometrySystem.cxx:136
VP1TrackingGeometrySystem::Imp::checkBox_msBIvol
QCheckBox * checkBox_msBIvol
Definition: VP1TrackingGeometrySystem.cxx:221
VP1TrackingGeometrySystem::Imp::sephelper_pixLayECC
VP1ExtraSepLayerHelper * sephelper_pixLayECC
Definition: VP1TrackingGeometrySystem.cxx:78
VP1TrackingGeometrySystem::Imp::msFedlswitch
SoSwitch * msFedlswitch
Definition: VP1TrackingGeometrySystem.cxx:147
str
Definition: BTagTrackIpAccessor.cxx:11
IVP13DSystem::userClickedOnBgd
virtual void userClickedOnBgd()
Definition: IVP13DSystem.cxx:62
VP1TrackingGeometrySystem::Imp::checkBox_pixSurfECC
QCheckBox * checkBox_pixSurfECC
Definition: VP1TrackingGeometrySystem.cxx:193
VP1TrackingGeometrySystem::Imp::sephelper_trtSurfECC
VP1ExtraSepLayerHelper * sephelper_trtSurfECC
Definition: VP1TrackingGeometrySystem.cxx:101
VP1Msg::verbose
static bool verbose()
Definition: VP1Msg.h:31
merge.status
status
Definition: merge.py:17
VP1TrackingGeometrySystem::Imp::checkBox_pixSurfBarrel
QCheckBox * checkBox_pixSurfBarrel
Definition: VP1TrackingGeometrySystem.cxx:191
VP1TrackingGeometrySystem::Imp::sctSurfBarrelSwitch
SoSwitch * sctSurfBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:81
VP1TrackingGeometrySystem::Imp::checkBox_MuonStaticFrameO
QCheckBox * checkBox_MuonStaticFrameO
Definition: VP1TrackingGeometrySystem.cxx:220
VP1TrackingGeometrySystem::Imp::sephelper_msI
VP1ExtraSepLayerHelper * sephelper_msI
Definition: VP1TrackingGeometrySystem.cxx:152
VP1TrackingGeometrySystem::Imp::sephelper_msBMlay
VP1ExtraSepLayerHelper * sephelper_msBMlay
Definition: VP1TrackingGeometrySystem.cxx:163
VP1TrackingGeometrySystem::Imp::checkBox_trtSurfBarrel
QCheckBox * checkBox_trtSurfBarrel
Definition: VP1TrackingGeometrySystem.cxx:197
VP1TrackingGeometrySystem::Imp::checkBox_sctLayECC
QCheckBox * checkBox_sctLayECC
Definition: VP1TrackingGeometrySystem.cxx:207
Trk::BinnedArray
Definition: BinnedArray.h:38
VP1TrackingGeometrySystem::Imp::msShdlswitch
SoSwitch * msShdlswitch
Definition: VP1TrackingGeometrySystem.cxx:146
VP1JobConfigInfo::hasPixelGeometry
static bool hasPixelGeometry()
Definition: VP1JobConfigInfo.cxx:127
IVP13DSystem::Imp::clickedoutsideScheduled
bool clickedoutsideScheduled
Definition: IVP13DSystem.cxx:53
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
VP1TrackingGeometrySystem::Imp::trtLayBarrelSwitch
SoSwitch * trtLayBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:103
IVP1System::Imp::canregistercontroller
bool canregistercontroller
Definition: IVP1System.cxx:46
VP1AthenaPtrs::detectorStore
static StoreGateSvc * detectorStore()
Definition: VP1AthenaPtrs.h:28
VP1TrackingGeometrySystem::Imp::checkBox_passiveLayECC
QCheckBox * checkBox_passiveLayECC
Definition: VP1TrackingGeometrySystem.cxx:213
VP1TrackingGeometrySystem::Imp::checkBox_sctSurfECA
QCheckBox * checkBox_sctSurfECA
Definition: VP1TrackingGeometrySystem.cxx:195
VP1TrackingGeometrySystem::Imp::sephelper_sctSurfBarrel
VP1ExtraSepLayerHelper * sephelper_sctSurfBarrel
Definition: VP1TrackingGeometrySystem.cxx:84
IVP13DSystemSimple::Imp::wascreated
bool wascreated
Definition: IVP13DSystemSimple.cxx:41
VP1TrackingGeometrySystem::Imp::trtSurfECASwitch
SoSwitch * trtSurfECASwitch
Definition: VP1TrackingGeometrySystem.cxx:97
VP1JobConfigInfo::hasMuonGeometry
static bool hasMuonGeometry()
Definition: VP1JobConfigInfo.cxx:134
VP1TrackingGeometrySystem::Imp::sepHelperContainer
std::vector< VP1ExtraSepLayerHelper * > sepHelperContainer
Definition: VP1TrackingGeometrySystem.cxx:55
Trk::TrackingVolume
Definition: TrackingVolume.h:121
IVP13DSystem::m_d
Imp * m_d
Definition: IVP13DSystem.h:116
python.compressB64.c
def c
Definition: compressB64.py:93
Trk::BinnedArraySpan
std::span< T > BinnedArraySpan
Definition: BinnedArray.h:34
VP1TrackingGeometrySystem::Imp::checkBox_ClipPlane
QCheckBox * checkBox_ClipPlane
Definition: VP1TrackingGeometrySystem.cxx:217
VP1TrackingGeometrySystem::Imp::msFeenvswitch
SoSwitch * msFeenvswitch
Definition: VP1TrackingGeometrySystem.cxx:142
VP1TrackingGeometrySystem::Imp::sephelper_msBI
VP1ExtraSepLayerHelper * sephelper_msBI
Definition: VP1TrackingGeometrySystem.cxx:154
IVP1System::message
void message(const QString &) const
Definition: IVP1System.cxx:336
IVP1System::OFF
@ OFF
Definition: IVP1System.h:144
IVP1System::Imp::state
State state
Definition: IVP1System.cxx:42
IVP1System::messageVerbose
void messageVerbose(const QString &) const
Definition: IVP1System.cxx:354
node
Definition: memory_hooks-stdcmalloc.h:74
IVP1System::ERASED
@ ERASED
Definition: IVP1System.h:143
IVP1System::Imp::name
const QString name
Definition: IVP1System.cxx:37
IVP13DSystemSimple::Imp::wasrefreshed
bool wasrefreshed
Definition: IVP13DSystemSimple.cxx:40
Trk::Layer
Definition: Layer.h:73
VP1TrackingGeometrySystem::Imp::checkBox_msBMlay
QCheckBox * checkBox_msBMlay
Definition: VP1TrackingGeometrySystem.cxx:224
VP1TrackingGeometrySystem::Imp::pixSurfECCSwitch
SoSwitch * pixSurfECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:68
VP1TrackingGeometrySystem::Imp::checkBox_MuonStaticFrameI
QCheckBox * checkBox_MuonStaticFrameI
Definition: VP1TrackingGeometrySystem.cxx:219
VP1TrackingGeometrySystem::Imp::checkBox_msBMvol
QCheckBox * checkBox_msBMvol
Definition: VP1TrackingGeometrySystem.cxx:223
VP1TrackingGeometrySystem::Imp::checkBox_msShdl
QCheckBox * checkBox_msShdl
Definition: VP1TrackingGeometrySystem.cxx:244