ATLAS Offline Software
graphics
VP1
VP1Plugins
VP1GeometryPlugin
src
VP1GeometryChannel.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// //
7
// Implementation of class VP1GeometryChannel //
8
// //
9
// Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10
// //
11
// Initial version: May 2007 //
12
// //
14
15
#include "
VP1GeometryPlugin/VP1GeometryChannel.h
"
16
#include "
VP1GeometrySystems/VP1GeometrySystem.h
"
17
#include "
VP1GuideLineSystems/VP1GuideLineSystem.h
"
18
#include "
VP1Base/VP1QtUtils.h
"
19
20
VP1GeometryChannel::VP1GeometryChannel
()
21
:
IVP13DStandardChannelWidget
(
VP1CHANNELNAMEINPLUGIN
(
VP1GeometryChannel
,
"Geometry"
),
22
"This channel shows the geometry as defined in GeoModel."
,
23
"Thomas.Kittelmann@cern.ch;Riccardo.Maria.Bianchi@cern.ch"
)
24
{
25
}
26
27
void
VP1GeometryChannel::init
()
28
{
29
addSystem
(
new
VP1GuideLineSystem
);
30
addSystem
(
new
VP1GeometrySystem
);
31
if
(
VP1QtUtils::environmentVariableIsOn
(
"VP1_SECOND_GEOMSYS"
))
32
addSystem
(
new
VP1GeometrySystem
(
VP1GeoFlags::None
,
"AltGeo"
),
IVP13DStandardChannelWidget::StartDisabled
);
33
}
IVP13DStandardChannelWidget::StartDisabled
@ StartDisabled
Definition:
IVP13DStandardChannelWidget.h:38
VP1QtUtils.h
VP1CHANNELNAMEINPLUGIN
#define VP1CHANNELNAMEINPLUGIN(cls, nme)
Definition:
IVP1ChannelWidget.h:139
VP1GuideLineSystem
Definition:
VP1GuideLineSystem.h:22
VP1GeometryChannel::VP1GeometryChannel
VP1GeometryChannel()
Definition:
VP1GeometryChannel.cxx:20
VP1GeometrySystem
Definition:
VP1GeometrySystem.h:33
VP1QtUtils::environmentVariableIsOn
static bool environmentVariableIsOn(const QString &name)
Definition:
VP1QtUtils.cxx:127
IVP13DStandardChannelWidget
Definition:
IVP13DStandardChannelWidget.h:24
VP1GeoFlags::None
@ None
Definition:
VP1GeoFlags.h:32
VP1GeometryChannel::init
void init()
Definition:
VP1GeometryChannel.cxx:27
IVP13DStandardChannelWidget::addSystem
void addSystem(IVP13DSystem *, const SystemOptions &options=AllowAll)
Definition:
IVP13DStandardChannelWidget.cxx:135
VP1GeometryChannel.h
VP1GeometrySystem.h
VP1GuideLineSystem.h
VP1GeometryChannel
Definition:
VP1GeometryChannel.h:20
Generated on Mon Dec 23 2024 21:22:50 for ATLAS Offline Software by
1.8.18