Definition at line 25 of file VP1TrackingVolumes.cxx.
◆ Imp()
| VP1TrackingVolumes::Imp::Imp |
( |
VP1TrackingVolumes * | tc, |
|
|
SoMaterial * | materialID, |
|
|
SoMaterial * | materialCalo, |
|
|
SoMaterial * | materialMS, |
|
|
SoSeparator * | attachsep, |
|
|
bool | showID, |
|
|
bool | showCalo, |
|
|
bool | showMS ) |
Definition at line 86 of file VP1TrackingVolumes.cxx.
91{
93}
SoCylinder * innerDetector
SoMaterial * materialCalo
VP1TrackingVolumes * theclass
SoCylinder * muonSpectrometer
◆ ensureInit3DObjects()
| void VP1TrackingVolumes::Imp::ensureInit3DObjects |
( |
| ) |
|
Definition at line 96 of file VP1TrackingVolumes.cxx.
97{
99 return;
100 theclass->messageVerbose(
"Building 3D objects");
101
102 sep =
new SoSeparator;
104 SoRotationXYZ * rotz = new SoRotationXYZ;
105 rotz->axis.setValue(SoRotationXYZ::X);
106 rotz->angle.setValue(0.5*
M_PI);
108
109 sepID =
new SoSeparator;
116
120 calos =
new SoCylinder;
121 calos->radius.setValue(4250.0);
122 calos->height.setValue( 6779.0*2.0 );
124
125 sepMS =
new SoSeparator;
132
133
134
135}
◆ updateFields()
| void VP1TrackingVolumes::Imp::updateFields |
( |
| ) |
|
Definition at line 138 of file VP1TrackingVolumes.cxx.
139{
141 theclass->messageVerbose(
"Updating fields");
142
143 const bool save =
sep->enableNotify(
false);
144
148 } else {
150 }
151
155 } else {
157 }
158
162 } else {
164 }
165
166 if (save) {
167 sep->enableNotify(
true);
169 }
170}
void ensureInit3DObjects()
◆ attachSep
| SoSeparator* VP1TrackingVolumes::Imp::attachSep |
◆ calos
| SoCylinder* VP1TrackingVolumes::Imp::calos |
◆ innerDetector
| SoCylinder* VP1TrackingVolumes::Imp::innerDetector |
◆ materialCalo
| SoMaterial* VP1TrackingVolumes::Imp::materialCalo |
◆ materialID
| SoMaterial* VP1TrackingVolumes::Imp::materialID |
◆ materialMS
| SoMaterial* VP1TrackingVolumes::Imp::materialMS |
◆ muonSpectrometer
| SoCylinder* VP1TrackingVolumes::Imp::muonSpectrometer |
◆ sep
| SoSeparator* VP1TrackingVolumes::Imp::sep |
◆ sepCalo
| SoSeparator* VP1TrackingVolumes::Imp::sepCalo |
◆ sepID
| SoSeparator* VP1TrackingVolumes::Imp::sepID |
◆ sepMS
| SoSeparator* VP1TrackingVolumes::Imp::sepMS |
◆ shown
| bool VP1TrackingVolumes::Imp::shown |
◆ shownCalo
| bool VP1TrackingVolumes::Imp::shownCalo |
◆ shownID
| bool VP1TrackingVolumes::Imp::shownID |
◆ shownMS
| bool VP1TrackingVolumes::Imp::shownMS |
◆ theclass
The documentation for this class was generated from the following file: