ATLAS Offline Software
AODSystemController.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class AODSystemController //
9 // //
10 // Description: Controller widget for the AOD system //
11 // Keeps all nasty gui stuff internally, and //
12 // only presents the actual interesting data //
13 // with specialised access methods and signals. //
14 // //
15 // //
17 
18 #ifndef VP1AODSYSTEMS_AODSYSTEMCONTROLLER_H
19 #define VP1AODSYSTEMS_AODSYSTEMCONTROLLER_H
20 
21 #include "VP1Base/VP1Controller.h"
22 #include <QFlags>
23 #ifndef BUILDVP1LIGHT
24  #include "GaudiKernel/ServiceHandle.h"
25 #endif
26 
27 class SoMaterial;
28 class SoDrawStyle;
29 class SoComplexity;
30 class AODSysCommonData;
31 class QTreeWidget;
32 class QTreeWidgetItem;
33 
34 namespace Trk {
35  class IExtrapolator;
36  class ITrackFitter;
37  class Track;
38  class Volume;
39 }
40 
41 class AODCollWidget;
42 
44 
45  Q_OBJECT
46 
47 public:
48 
50  virtual ~AODSystemController();
51 
53  int currentSettingsVersion() const;
54  void actualSaveSettings(VP1Serialise&) const;
55 
57  AODCollWidget * collWidget() const;
59 
60  //Interactions:
62  //No associated signals for the next four (only queried on-click):
63  bool orientAndZoomOnSingleSelection() const;
64  bool printInfoOnSingleSelection() const;
67 
68  QTreeWidget* objBrowser() const;
69  AODSysCommonData * common() const;
71 
73  // Signals for changes in settings //
75 signals:
76 
77 
78 private:
79 
80  class Imp;
81  Imp * m_d;
82 
83 private Q_SLOTS:
84  void objectBrowserClicked(QTreeWidgetItem * item, int);
85 };
86 
87 #endif
AODSystemController::setCommonData
void setCommonData(AODSysCommonData *)
set pointer to the common data
Definition: AODSystemController.cxx:298
AODSystemController::Imp
Definition: AODSystemController.cxx:56
AODSystemController::objBrowser
QTreeWidget * objBrowser() const
Returns a pointer to the Track Object Browser (if it exists)
Definition: AODSystemController.cxx:290
VP1Serialise
Definition: VP1Serialise.h:45
AODSysCommonData
Definition: AODSysCommonData.h:42
AODSystemController::AODSystemController
AODSystemController(IVP1System *sys)
Definition: AODSystemController.cxx:103
AODSystemController::m_d
Imp * m_d
Definition: AODSystemController.h:80
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
AODSystemController::showTotMomentumOnMultiTrackSelection
bool showTotMomentumOnMultiTrackSelection() const
Definition: AODSystemController.cxx:284
AODSystemController::currentSettingsVersion
int currentSettingsVersion() const
Definition: AODSystemController.cxx:174
IVP1System
Definition: IVP1System.h:36
AODSystemController
Definition: AODSystemController.h:43
AODSystemController::~AODSystemController
virtual ~AODSystemController()
Definition: AODSystemController.cxx:166
AODSystemController::printTotMomentumOnMultiTrackSelection
bool printTotMomentumOnMultiTrackSelection() const
Definition: AODSystemController.cxx:277
AODSystemController::common
AODSysCommonData * common() const
Returns a pointer to the common data (if it exists)
Definition: AODSystemController.cxx:295
AODCollWidget
Definition: AODCollWidget.h:23
VP1Deserialise
Definition: VP1Deserialise.h:44
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
VP1Controller
Definition: VP1Controller.h:45
AODSystemController::actualRestoreSettings
void actualRestoreSettings(VP1Deserialise &)
Definition: AODSystemController.cxx:190
AODSystemController::actualSaveSettings
void actualSaveSettings(VP1Serialise &) const
Definition: AODSystemController.cxx:182
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
AODSystemController::cutOnlyVertexAssocTracks
bool cutOnlyVertexAssocTracks() const
item
Definition: ItemListSvc.h:43
AODSystemController::printInfoOnSingleSelection
bool printInfoOnSingleSelection() const
Definition: AODSystemController.cxx:263
AODSystemController::printVerboseInfoOnSingleSelection
bool printVerboseInfoOnSingleSelection() const
Definition: AODSystemController.cxx:270
AODSystemController::objectBrowserClicked
void objectBrowserClicked(QTreeWidgetItem *item, int)
Definition: AODSystemController.cxx:302
AODSystemController::orientAndZoomOnSingleSelection
bool orientAndZoomOnSingleSelection() const
Definition: AODSystemController.cxx:256
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
VP1Controller.h
AODSystemController::collWidget
AODCollWidget * collWidget() const
Return widget which fills the collection selection list in the GUI (i.e. which finds and lists the av...
Definition: AODSystemController.cxx:196