22#include <Inventor/nodes/SoSeparator.h>
23#include <Inventor/nodes/SoSwitch.h>
24#include <Inventor/SoPath.h>
37 "System showing Calorimeter Clusters",
38 "Thomas.Kittelmann@cern.ch"),
53 m_d->controller->collWidget()->clear();
59 root->addChild(
m_d->controller->drawOptions());
67 root->addChild(col->collSwitch());
74 return m_d->controller;
81 if (col->visible()&&pickedPath->containsNode(col->collSep())) {
82 message(col->infoOnClicked(pickedPath));
86 message(
"Error: Does not have cluster information for picked node");
97 serialise.save(
m_d->controller->collWidget());
98 serialise.save(
m_d->controller->saveSettings());
100 serialise.disableUnsavedChecks();
102 return serialise.result();
110 message(
"Warning: State data in .vp1 file is in wrong format - ignoring!");
116 state.restore(
m_d->controller->collWidget());
117 if (
state.version()>=1)
118 m_d->controller->restoreSettings(
state.restoreByteArray());
120 state.disableUnrestoredChecks();
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
void ensureBuildController()
virtual void restoreFromState(QByteArray)
void message(const QString &) const
virtual QByteArray saveState()
The Athena Transient Store API.
static QList< VP1CaloClusterCollection * > createCollections(IVP1System *, CaloClusterSysController *)
CaloClusterSysController * controller
VP1CaloClusterSystem * theclass
Imp(VP1CaloClusterSystem *tc)
void restoreFromState(QByteArray)
virtual QWidget * buildController()
void userPickedNode(SoNode *pickedNode, SoPath *pickedPath)
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
virtual ~VP1CaloClusterSystem()