|
ATLAS Offline Software
|
Go to the documentation of this file.
28 #include <Inventor/nodes/SoSeparator.h>
29 #include <Inventor/nodes/SoSwitch.h>
30 #include <Inventor/nodes/SoTransform.h>
31 #include <Inventor/SoPath.h>
43 QList<VP1RawDataCollBase*>
l;
44 for (
const QString&
name : T::availableCollections(
theclass)) {
53 QList<VP1RawDataCollBase*>
l;
54 l << createSpecificCollections<VP1RawDataColl_PixelRDO>();
55 l << createSpecificCollections<VP1RawDataColl_SCT_RDO>();
56 l << createSpecificCollections<VP1RawDataColl_TRT_RDO>();
57 l << createSpecificCollections<VP1RawDataColl_BCM_RDO>();
58 l << createSpecificCollections<VP1RawDataColl_LUCID>();
74 "System showing Raw Data (RDO's, BCM hits, ...)",
75 "Thomas.Kittelmann@cern.ch"),
115 root->addChild(
col->collSwitch());
133 for (;
i < pickedPath->getLength(); ++
i) {
134 if (pickedPath->getNodeFromTail(
i)->getTypeId()==SoSeparator::getClassTypeId()) {
135 SoSeparator *
sep =
static_cast<SoSeparator*
>(pickedPath->getNodeFromTail(
i));
136 if (
sep->getNumChildren()>0&&
sep->getChild(0)->getTypeId()==SoTransform::getClassTypeId()) {
137 SoTransform *
transform =
static_cast<SoTransform*
>(
sep->getChild(0));
144 for (
int j=0;j<
i;++j)
148 message(
"WARNING: Unknown node clicked.");
185 message(
"Warning: State data in .vp1 file is in wrong format - ignoring!");
194 state.disableUnrestoredChecks();
JetConstituentVector::iterator iterator
QList< VP1RawDataCollBase * > createCollections()
VP1RawDataSystem * theclass
void serialise(const std::vector< const IRoiDescriptor * > &rois, roiserial_type &s)
serialise an entire vector of IRoiDescriptors
VP1RawDataHandleBase * getHandle(SoTransform *)
virtual QStringList clicked(bool verbose) const =0
void restoreSettings(const QByteArray &)
void userPickedNode(SoNode *pickedNode, SoPath *pickedPath)
QList< VP1RawDataCollBase * > createSpecificCollections()
static VP1CameraHelper * animatedZoomToPath(SoCamera *camera, SoGroup *sceneroot, SoPath *path, double duration_in_secs=1.0, double clipVolPercent=100.0, double slack=1.0, const SbVec3f &lookat=SbVec3f(999, 999, 999), const SbVec3f &upvec=SbVec3f(999, 999, 999), bool varySpeed=true, bool forceCircular=false)
Imp(VP1RawDataSystem *tc)
QByteArray saveSettings() const
virtual QByteArray saveState()
The Athena Transient Store API.
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
void buildEventSceneGraph(StoreGateSvc *sg, SoSeparator *root)
const QString & name() const
void restoreFromState(QByteArray)
void ensureBuildController()
bool printInfoOnClick() const
void ensureInitCommonData()
virtual QWidget * buildController()
VP1RawDataSysController * controller
bool printVerboseInfoOnClick() const
virtual ~VP1RawDataSystem()
VP1CollectionWidget * collWidget() const
SoSeparator * collSep() const
All 3D objects from this coll.
VP1RawDataCollBase * coll() const
VP1RawDataCommonData * common
SoGroup * drawOptions() const
void message(const QString &) const
void messageVerbose(const QString &) const
virtual void restoreFromState(QByteArray)