ATLAS Offline Software
VP1AODSystem.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 VP1AODSystem //
9 // //
10 // Description: System displaying all AOD objects //
11 // //
13 
14 #ifndef VP1AODSYSTEMS_VP1AODSYSTEM_H
15 #define VP1AODSYSTEMS_VP1AODSYSTEM_H
16 
18 
19 #include <QList>
20 
21 #include <vector>
22 #include <map>
23 
24 class SoMaterial;
26 
27 
28 #ifndef Q_MOC_RUN
30 // #include "xAODCaloEvent/CaloClusterContainer.h"
31 #include "xAODMuon/MuonSegment.h"
32 #endif
33 
35 
36  Q_OBJECT
37 
38 public:
39 
40  VP1AODSystem(QString name="Analysis");
41  virtual ~VP1AODSystem();
42 
43  void systemcreate(StoreGateSvc* detstore);
44  void systemuncreate();
45  QWidget * buildController();
46  void buildEventSceneGraph(StoreGateSvc* sg, SoSeparator *root);
47  void systemerase();
48  QByteArray saveState();
49  void restoreFromState(QByteArray);
50 
52 
54  void userPickedNode(SoNode* pickedNode, SoPath *pickedPath);
55  void userSelectedSingleNode(SoCooperativeSelection*, SoNode* , SoPath*);//SINGLE
56  void userDeselectedSingleNode(SoCooperativeSelection*, SoNode* , SoPath*);//SINGLE
57  void userChangedSelection(SoCooperativeSelection*, QSet<SoNode*>, QSet<SoPath*>);//TOGGLE/SHIFT
58  void userClickedOnBgd();
59 
60 public Q_SLOTS:
61 // FIXME - might be best to make a helper tool to do this, so we don't need to expose the xAOD objects in the interface here.
62 // (Of course, that means we would then need to think of an alternate design to fill the collections in the system...)
63 #ifndef BUILDVP1LIGHT
64  void updateAssociatedObjects(const QList<const xAOD::TrackParticle*>&);
65  // void updateAssociatedObjects(QList<xAOD::CaloCluster*>&);
66  void updateAssociatedObjects(const QList<const xAOD::MuonSegment*>&);
67 #endif // BUILDVP1LIGHT
68 
69  void dumpToJSON();
70 
71 private Q_SLOTS:
72  void visibleObjectsChanged();
73  void updateSelectionMode();
75 
76 private:
77 
78  class Imp;
79  Imp * m_d;
80 };
81 
82 #endif
83 //
IVP13DSystemSimple
Definition: IVP13DSystemSimple.h:24
VP1AODSystem::userClickedOnBgd
void userClickedOnBgd()
Definition: VP1AODSystem.cxx:546
VP1AODSystem
Definition: VP1AODSystem.h:34
VP1AODSystem::systemuncreate
void systemuncreate()
Definition: VP1AODSystem.cxx:198
MuonSegment.h
VP1AODSystem::systemcreate
void systemcreate(StoreGateSvc *detstore)
Definition: VP1AODSystem.cxx:169
VP1AODSystem::updateSelectionMode
void updateSelectionMode()
Definition: VP1AODSystem.cxx:415
sendEI_SPB.root
root
Definition: sendEI_SPB.py:34
IVP13DSystemSimple.h
VP1AODSystem::Imp
Definition: VP1AODSystem.cxx:79
VP1AODSystem::userDeselectedSingleNode
void userDeselectedSingleNode(SoCooperativeSelection *, SoNode *, SoPath *)
Definition: VP1AODSystem.cxx:555
VP1AODSystem::updateShownTotMomentum
void updateShownTotMomentum()
Definition: VP1AODSystem.cxx:608
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
VP1AODSystem::saveState
QByteArray saveState()
Definition: VP1AODSystem.cxx:329
VP1AODSystem::userSelectedSingleNode
void userSelectedSingleNode(SoCooperativeSelection *, SoNode *, SoPath *)
Definition: VP1AODSystem.cxx:457
VP1AODSystem::updateAssociatedObjects
void updateAssociatedObjects(const QList< const xAOD::TrackParticle * > &)
Definition: VP1AODSystem.cxx:677
IVP1System::name
const QString & name() const
Definition: IVP1System.cxx:50
VP1AODSystem::userChangedSelection
void userChangedSelection(SoCooperativeSelection *, QSet< SoNode * >, QSet< SoPath * >)
Definition: VP1AODSystem.cxx:652
VP1AODSystem::visibleObjectsChanged
void visibleObjectsChanged()
Definition: VP1AODSystem.cxx:382
VP1AODSystem::dumpToJSON
void dumpToJSON()
Definition: VP1AODSystem.cxx:726
VP1AODSystem::systemerase
void systemerase()
Definition: VP1AODSystem.cxx:292
TrackParticleFwd.h
VP1AODSystem::userPickedNode
void userPickedNode(SoNode *pickedNode, SoPath *pickedPath)
Reimplementing methods declared in IVP13DSystem.
Definition: VP1AODSystem.cxx:445
VP1AODSystem::m_d
Imp * m_d
Definition: VP1AODSystem.h:78
VP1AODSystem::~VP1AODSystem
virtual ~VP1AODSystem()
Definition: VP1AODSystem.cxx:154
VP1AODSystem::buildEventSceneGraph
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
Definition: VP1AODSystem.cxx:230
VP1AODSystem::restoreFromState
void restoreFromState(QByteArray)
Definition: VP1AODSystem.cxx:355
VP1AODSystem::buildController
QWidget * buildController()
Definition: VP1AODSystem.cxx:213
VP1AODSystem::VP1AODSystem
VP1AODSystem(QString name="Analysis")
Definition: VP1AODSystem.cxx:139
SoCooperativeSelection
Definition: SoCooperativeSelection.h:29
VP1AODSystem::selObjects
SoCooperativeSelection * selObjects() const
Definition: VP1AODSystem.cxx:602