ATLAS Offline Software
VP1TrackingGeometrySystem.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Implementation of class VP1TrackingGeometrySystem //
8 // //
9 // Author: Andreas Salzburger <Andreas.Salzburger@cern.ch> (primary) //
10 // Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
11 // //
12 // Initial version: June 2007 //
13 // //
15 
20 #include "ui_trackinggeometrycontrollerform.h"
21 
23 
24 #include <Inventor/nodes/SoRotationXYZ.h>
25 #include <Inventor/nodes/SoSeparator.h>
26 #include <Inventor/nodes/SoMaterial.h>
27 #include <Inventor/nodes/SoSwitch.h>
28 #include <Inventor/nodes/SoClipPlane.h>
29 
33 #include "StoreGate/StoreGateSvc.h"
34 #include "GaudiKernel/ISvcLocator.h"
36 
37 #include <vector>
38 #include <map>
39 #include <string>
40 
41 // Qt
42 #include <QInputDialog>
43 #include <QLineEdit>
44 #include <QCheckBox>
45 #include <QString>
46 #include <QBuffer>
47 
49 {
50  bool retrieveSuccess = false;
51 
52  // for signal handling
53  bool senderMapFilled = false;
54  std::map<QObject*,std::pair<SoSwitch*,bool> > checkBoxSwitchMap;
55  std::vector<VP1ExtraSepLayerHelper*> sepHelperContainer;
56 
57  // Tracking volumes
58  SoSwitch* volswitch = nullptr;
60 
61  // Beam pipe
62  SoSwitch* beamPipeSwitch = nullptr;
64 
65  // Pixel section
66  SoSwitch* pixSurfBarrelSwitch = nullptr;
67  SoSwitch* pixSurfECASwitch = nullptr;
68  SoSwitch* pixSurfECCSwitch = nullptr;
72 
73  SoSwitch* pixLayBarrelSwitch = nullptr;
74  SoSwitch* pixLayECASwitch = nullptr;
75  SoSwitch* pixLayECCSwitch = nullptr;
79 
80  // SCT section
81  SoSwitch* sctSurfBarrelSwitch = nullptr;
82  SoSwitch* sctSurfECASwitch = nullptr;
83  SoSwitch* sctSurfECCSwitch = nullptr;
87 
88  SoSwitch* sctLayBarrelSwitch = nullptr;
89  SoSwitch* sctLayECASwitch = nullptr;
90  SoSwitch* sctLayECCSwitch = nullptr;
94 
95  // TRT section
96  SoSwitch* trtSurfBarrelSwitch = nullptr;
97  SoSwitch* trtSurfECASwitch = nullptr;
98  SoSwitch* trtSurfECCSwitch = nullptr;
102 
103  SoSwitch* trtLayBarrelSwitch = nullptr;
104  SoSwitch* trtLayECASwitch = nullptr;
105  SoSwitch* trtLayECCSwitch = nullptr;
109 
110  // Passive layers
111  SoSwitch* passiveLayBarrelSwitch = nullptr;
112  SoSwitch* passiveLayECASwitch = nullptr;
113  SoSwitch* passiveLayECCSwitch = nullptr;
117 
118 
119  SoSwitch* clipswitch = nullptr;
120  SoSwitch* msBswitch = nullptr;
121  SoSwitch* msIswitch = nullptr;
122  SoSwitch* msOswitch = nullptr;
123  SoSwitch* msBIswitch = nullptr;
124  SoSwitch* msBMswitch = nullptr;
125  SoSwitch* msBOswitch = nullptr;
126  SoSwitch* msEIswitch = nullptr;
127  SoSwitch* msEMswitch = nullptr;
128  SoSwitch* msEOswitch = nullptr;
129  SoSwitch* msCSswitch = nullptr;
130  SoSwitch* msTGswitch = nullptr;
131  SoSwitch* msBIlayswitch = nullptr;
132  SoSwitch* msBMlayswitch = nullptr;
133  SoSwitch* msBOlayswitch = nullptr;
134  SoSwitch* msEIlayswitch = nullptr;
135  SoSwitch* msEMlayswitch = nullptr;
136  SoSwitch* msEOlayswitch = nullptr;
137  SoSwitch* msCSlayswitch = nullptr;
138  SoSwitch* msTGlayswitch = nullptr;
139  SoSwitch* msBTenvswitch = nullptr;
140  SoSwitch* msETenvswitch = nullptr;
141  SoSwitch* msShenvswitch = nullptr;
142  SoSwitch* msFeenvswitch = nullptr;
143  SoSwitch* msRaenvswitch = nullptr;
144  SoSwitch* msBTdlswitch = nullptr;
145  SoSwitch* msETdlswitch = nullptr;
146  SoSwitch* msShdlswitch = nullptr;
147  SoSwitch* msFedlswitch = nullptr;
148  SoSwitch* msRadlswitch = nullptr;
149 
150 
180 
183 
184  // widgets for the sidepane
185  QLineEdit* lineEdit_TrackingGeometrySvcName = nullptr;
186  QLineEdit* lineEdit_TrackingGeometryName = nullptr;
187 
188  QPushButton* pushButton_Retrieve = nullptr;
189  QCheckBox* checkBox_TrackingVolumes = nullptr;
190 
191  QCheckBox* checkBox_pixSurfBarrel = nullptr;
192  QCheckBox* checkBox_pixSurfECA = nullptr;
193  QCheckBox* checkBox_pixSurfECC = nullptr;
194  QCheckBox* checkBox_sctSurfBarrel = nullptr;
195  QCheckBox* checkBox_sctSurfECA = nullptr;
196  QCheckBox* checkBox_sctSurfECC = nullptr;
197  QCheckBox* checkBox_trtSurfBarrel = nullptr;
198  QCheckBox* checkBox_trtSurfECA = nullptr;
199  QCheckBox* checkBox_trtSurfECC = nullptr;
200 
201  QCheckBox* checkBox_beamPipe = nullptr;
202  QCheckBox* checkBox_pixLayBarrel = nullptr;
203  QCheckBox* checkBox_pixLayECA = nullptr;
204  QCheckBox* checkBox_pixLayECC = nullptr;
205  QCheckBox* checkBox_sctLayBarrel = nullptr;
206  QCheckBox* checkBox_sctLayECA = nullptr;
207  QCheckBox* checkBox_sctLayECC = nullptr;
208  QCheckBox* checkBox_trtLayBarrel = nullptr;
209  QCheckBox* checkBox_trtLayECA = nullptr;
210  QCheckBox* checkBox_trtLayECC = nullptr;
211  QCheckBox* checkBox_passiveLayBarrel = nullptr;
212  QCheckBox* checkBox_passiveLayECA = nullptr;
213  QCheckBox* checkBox_passiveLayECC = nullptr;
214 
215  std::vector<std::string> surfacesNames;
216 
217  QCheckBox* checkBox_ClipPlane = nullptr;
218  QCheckBox* checkBox_MuonStaticFrameB = nullptr;
219  QCheckBox* checkBox_MuonStaticFrameI = nullptr;
220  QCheckBox* checkBox_MuonStaticFrameO = nullptr;
221  QCheckBox* checkBox_msBIvol = nullptr;
222  QCheckBox* checkBox_msBIlay = nullptr;
223  QCheckBox* checkBox_msBMvol = nullptr;
224  QCheckBox* checkBox_msBMlay = nullptr;
225  QCheckBox* checkBox_msBOvol = nullptr;
226  QCheckBox* checkBox_msBOlay = nullptr;
227  QCheckBox* checkBox_msEIvol = nullptr;
228  QCheckBox* checkBox_msEIlay = nullptr;
229  QCheckBox* checkBox_msEMvol = nullptr;
230  QCheckBox* checkBox_msEMlay = nullptr;
231  QCheckBox* checkBox_msEOvol = nullptr;
232  QCheckBox* checkBox_msEOlay = nullptr;
233  QCheckBox* checkBox_msCSvol = nullptr;
234  QCheckBox* checkBox_msCSlay = nullptr;
235  QCheckBox* checkBox_msTGvol = nullptr;
236  QCheckBox* checkBox_msTGlay = nullptr;
237  QCheckBox* checkBox_msBTenv = nullptr;
238  QCheckBox* checkBox_msETenv = nullptr;
239  QCheckBox* checkBox_msShenv = nullptr;
240  QCheckBox* checkBox_msFeenv = nullptr;
241  QCheckBox* checkBox_msRaenv = nullptr;
242  QCheckBox* checkBox_msBTdl = nullptr;
243  QCheckBox* checkBox_msETdl = nullptr;
244  QCheckBox* checkBox_msShdl = nullptr;
245  QCheckBox* checkBox_msFedl = nullptr;
246  QCheckBox* checkBox_msRadl = nullptr;
247 
248  // variables keeping some defaults
251 
252  // global stuff
253  StoreGateSvc* detStore = nullptr;
254  SoSeparator* root = nullptr;
255 
257 };
258 
259 //_____________________________________________________________________________________
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 }
458 
459 //_____________________________________________________________________________________
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 }
477 
478 //_____________________________________________________________________________________
480 {
481  m_d->detStore = detstore;
482  m_d->root = root;
483 }
484 
485 //_____________________________________________________________________________________
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 }
1005 
1006 //_____________________________________________________________________________________
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 }
1139 
1140 //_____________________________________________________________________________________
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 }
1237 
1238 //_____________________________________________________________________________________
1240  VP1ExtraSepLayerHelper* sepLayerHelper,
1241  unsigned int colorCode)
1242 {
1243  if (!tlayer) return;
1245  if (node) {
1247  std::cout << "Adding Layer to Separator helper: " << sepLayerHelper << std::endl;
1248  }
1249 }
1250 
1251 //_____________________________________________________________________________________
1253  VP1ExtraSepLayerHelper* sepLayerHelper,
1254  unsigned int colorCode)
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 }
1260 
1261 //_____________________________________________________________________________________
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 }
1314 
1315 //_____________________________________________________________________________________
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 }
1487 
1488 
1489 //_____________________________________________________________________________________
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 }
1566 
1567 QByteArray
1569 {
1570  //TK: BAD!!!!
1571  messageDebug("WARNING: VP1TrackingGeometrySystem persistification disabled for now due to crashes!");
1572  return {};
1602 }
1603 
1604 void
1605 VP1TrackingGeometrySystem::restoreFromState( QByteArray /*ba*/) //unused parameter
1606 {
1607  messageDebug("WARNING: VP1TrackingGeometrySystem persistification disabled for now due to crashes!");
1635 }
VP1TrackingGeometrySystem::Imp::msETenvswitch
SoSwitch * msETenvswitch
Definition: VP1TrackingGeometrySystem.cxx:140
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
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
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
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
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
IVP13DSystemSimple
Definition: IVP13DSystemSimple.h:24
VP1TrackingGeometrySystem::restoreFromState
void restoreFromState(QByteArray ba)
Definition: VP1TrackingGeometrySystem.cxx:1605
VP1TrackingGeometrySystem::Imp::pushButton_Retrieve
QPushButton * pushButton_Retrieve
Definition: VP1TrackingGeometrySystem.cxx:188
VP1TrackingGeometrySystem::Imp::sephelper_sctLayECA
VP1ExtraSepLayerHelper * sephelper_sctLayECA
Definition: VP1TrackingGeometrySystem.cxx:92
VP1TrackingGeometrySystem::Imp::msEMswitch
SoSwitch * msEMswitch
Definition: VP1TrackingGeometrySystem.cxx:127
VP1TrackingGeometrySystem::Imp::trtSurfECCSwitch
SoSwitch * trtSurfECCSwitch
Definition: VP1TrackingGeometrySystem.cxx:98
VP1TrackingGeometrySystem::Imp::sephelper_msEMlay
VP1ExtraSepLayerHelper * sephelper_msEMlay
Definition: VP1TrackingGeometrySystem.cxx:166
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
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
VP1TrackingGeometrySystem::buildController
QWidget * buildController()
Definition: VP1TrackingGeometrySystem.cxx:1316
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
BinnedArray.h
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
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
VP1TrackingGeometrySystem::Imp::sephelper_msEOlay
VP1ExtraSepLayerHelper * sephelper_msEOlay
Definition: VP1TrackingGeometrySystem.cxx:167
VP1TrackingGeometrySystem::Imp::msRadlswitch
SoSwitch * msRadlswitch
Definition: VP1TrackingGeometrySystem.cxx:148
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
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.
VP1TrackingGeometrySystem::Imp::lineEdit_TrackingGeometrySvcName
QLineEdit * lineEdit_TrackingGeometrySvcName
Definition: VP1TrackingGeometrySystem.cxx:185
VP1TrackingGeometrySystem::changeTopLevelView
void changeTopLevelView()
Definition: VP1TrackingGeometrySystem.cxx:1490
VP1TrackingGeometrySystem::Imp::sephelper_msCSlay
VP1ExtraSepLayerHelper * sephelper_msCSlay
Definition: VP1TrackingGeometrySystem.cxx:168
sendEI_SPB.root
root
Definition: sendEI_SPB.py:34
VP1TrackingGeometrySystem::Imp::msEMlayswitch
SoSwitch * msEMlayswitch
Definition: VP1TrackingGeometrySystem.cxx:135
VP1TrackingGeometrySystem::Imp::checkBox_msEOlay
QCheckBox * checkBox_msEOlay
Definition: VP1TrackingGeometrySystem.cxx:232
VP1TrackingGeometrySystem::Imp::sephelper_msO
VP1ExtraSepLayerHelper * sephelper_msO
Definition: VP1TrackingGeometrySystem.cxx:153
VP1TrackingGeometrySystem::~VP1TrackingGeometrySystem
virtual ~VP1TrackingGeometrySystem()
Definition: VP1TrackingGeometrySystem.cxx:460
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
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::buildPermanentSceneGraph
void buildPermanentSceneGraph(StoreGateSvc *detstore, SoSeparator *root)
Definition: VP1TrackingGeometrySystem.cxx:479
VP1TrackingGeometrySystem::Imp::msBTdlswitch
SoSwitch * msBTdlswitch
Definition: VP1TrackingGeometrySystem.cxx:144
VP1TrackingGeometrySystem::Imp::sephelper_trtLayECA
VP1ExtraSepLayerHelper * sephelper_trtLayECA
Definition: VP1TrackingGeometrySystem.cxx:107
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
ColorCodeConverter.h
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
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
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.
VP1ExtraSepLayerHelper
Definition: VP1ExtraSepLayerHelper.h:22
VP1TrackingGeometrySystem::Imp::surface2sonode
SurfaceToSoNode * surface2sonode
Definition: VP1TrackingGeometrySystem.cxx:182
VP1TrackingGeometrySystem::Imp::msEIlayswitch
SoSwitch * msEIlayswitch
Definition: VP1TrackingGeometrySystem.cxx:134
VP1TrackingGeometrySystem::Imp::checkBox_beamPipe
QCheckBox * checkBox_beamPipe
Definition: VP1TrackingGeometrySystem.cxx:201
Trk::LayerIndex
Definition: LayerIndex.h:37
Trk::ArraySpan
std::span< T > ArraySpan
Definition: DetachedTrackingVolume.h:34
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
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
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
VP1TrackingGeometrySystem::Imp::surfacesNames
std::vector< std::string > surfacesNames
Definition: VP1TrackingGeometrySystem.cxx:215
VP1TrackingGeometrySystem::Imp::checkBox_msEMlay
QCheckBox * checkBox_msEMlay
Definition: VP1TrackingGeometrySystem.cxx:230
VP1TrackingGeometrySystem::Imp::detStore
StoreGateSvc * detStore
Definition: VP1TrackingGeometrySystem.cxx:253
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
VP1JobConfigInfo::hasTRTGeometry
static bool hasTRTGeometry()
Definition: VP1JobConfigInfo.cxx:129
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
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
VP1TrackingGeometrySystem::Imp::msRaenvswitch
SoSwitch * msRaenvswitch
Definition: VP1TrackingGeometrySystem.cxx:143
VP1TrackingGeometrySystem::Imp::checkBox_msEIvol
QCheckBox * checkBox_msEIvol
Definition: VP1TrackingGeometrySystem.cxx:227
ColorCodeConverter
Definition: ColorCodeConverter.h:24
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.
VP1TrackingGeometrySystem.h
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
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
VP1TrackingGeometrySystem::Imp::msTGlayswitch
SoSwitch * msTGlayswitch
Definition: VP1TrackingGeometrySystem.cxx:138
TrackingVolumeToSoNode.h
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
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
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
VP1TrackingGeometrySystem::VP1TrackingGeometrySystem
VP1TrackingGeometrySystem()
Definition: VP1TrackingGeometrySystem.cxx:260
VP1TrackingGeometrySystem::saveState
QByteArray saveState()
Definition: VP1TrackingGeometrySystem.cxx:1568
TrackingVolume.h
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
VP1TrackingGeometrySystem::Imp::pixLayBarrelSwitch
SoSwitch * pixLayBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:73
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
ITrackingGeometrySvc.h
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
VP1TrackingGeometrySystem::Imp::sephelper_msBM
VP1ExtraSepLayerHelper * sephelper_msBM
Definition: VP1TrackingGeometrySystem.cxx:155
VP1TrackingGeometrySystem::Imp::sephelper_pixLayECA
VP1ExtraSepLayerHelper * sephelper_pixLayECA
Definition: VP1TrackingGeometrySystem.cxx:77
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
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
TrackingGeometry.h
VP1TrackingGeometrySystem::Imp::sephelper_pixLayECC
VP1ExtraSepLayerHelper * sephelper_pixLayECC
Definition: VP1TrackingGeometrySystem.cxx:78
VP1TrackingGeometrySystem::Imp::msFedlswitch
SoSwitch * msFedlswitch
Definition: VP1TrackingGeometrySystem.cxx:147
VP1JobConfigInfo.h
VP1TrackingGeometrySystem::Imp::checkBox_pixSurfECC
QCheckBox * checkBox_pixSurfECC
Definition: VP1TrackingGeometrySystem.cxx:193
VP1TrackingGeometrySystem::Imp::sephelper_trtSurfECC
VP1ExtraSepLayerHelper * sephelper_trtSurfECC
Definition: VP1TrackingGeometrySystem.cxx:101
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
SurfaceToSoNode.h
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
VP1TrackingGeometrySystem::Imp::trtLayBarrelSwitch
SoSwitch * trtLayBarrelSwitch
Definition: VP1TrackingGeometrySystem.cxx:103
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
VP1TrackingGeometrySystem::Imp::trtSurfECASwitch
SoSwitch * trtSurfECASwitch
Definition: VP1TrackingGeometrySystem.cxx:97
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
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
StoreGateSvc.h
Trk::BinnedArraySpan
std::span< T > BinnedArraySpan
Definition: BinnedArray.h:34
VP1TrackingGeometrySystem::Imp::checkBox_ClipPlane
QCheckBox * checkBox_ClipPlane
Definition: VP1TrackingGeometrySystem.cxx:217
VP1TrackingGeometrySystem::Imp
Definition: VP1TrackingGeometrySystem.cxx:49
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::messageVerbose
void messageVerbose(const QString &) const
Definition: IVP1System.cxx:354
node
Definition: memory_hooks-stdcmalloc.h:74
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