ATLAS Offline Software
Loading...
Searching...
No Matches
VP1AODSystem.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
24class SoMaterial;
26
27
28#ifndef Q_MOC_RUN
30// #include "xAODCaloEvent/CaloClusterContainer.h"
32#endif
33
35
36 Q_OBJECT
37
38public:
39
40 VP1AODSystem(const 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*, const QSet<SoNode*> &, QSet<SoPath*>);//TOGGLE/SHIFT
58 void userClickedOnBgd();
59
60public 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
71private Q_SLOTS:
75
76private:
77
78 class Imp;
80};
81
82#endif
83//
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
const QString & name() const
The Athena Transient Store API.
void updateShownTotMomentum()
void updateAssociatedObjects(const QList< const xAOD::TrackParticle * > &)
VP1AODSystem(const QString &name="Analysis")
void userSelectedSingleNode(SoCooperativeSelection *, SoNode *, SoPath *)
virtual ~VP1AODSystem()
QWidget * buildController()
void userChangedSelection(SoCooperativeSelection *, const QSet< SoNode * > &, QSet< SoPath * >)
void userDeselectedSingleNode(SoCooperativeSelection *, SoNode *, SoPath *)
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
void userPickedNode(SoNode *pickedNode, SoPath *pickedPath)
Reimplementing methods declared in IVP13DSystem.
void restoreFromState(QByteArray)
SoCooperativeSelection * selObjects() const
void systemcreate(StoreGateSvc *detstore)
void updateSelectionMode()
void systemuncreate()
void visibleObjectsChanged()
QByteArray saveState()
void userClickedOnBgd()