Definition at line 41 of file volumeHandle.cc.
49 string volName =
name;
50 volName.erase(0, volName.rfind(
'_') + 1);
51 volumeno = boost::lexical_cast<unsigned short>(volName);
53 for (
int i = 0;
i < 6; ++
i) {
65 double halfX = convertUnits(box.halfX());
66 double halfY = convertUnits(box.halfY());
67 double halfZ = convertUnits(box.halfZ());
71 double x1 = convertUnits(trap.x1());
72 double x2 = convertUnits(trap.x2());
73 double x3 = convertUnits(trap.x3());
74 double x4 = convertUnits(trap.x4());
75 double y1 = convertUnits(trap.y1());
76 double y2 = convertUnits(trap.y2());
77 double theta = trap.theta();
78 double phi = trap.phi();
79 double halfZ = convertUnits(trap.halfZ());
80 double alpha1 = trap.alpha1();
81 double alpha2 = trap.alpha2();
82 buildTrap(
x1,
x2, x3, x4,
y1,
y2,
theta,
phi, halfZ, alpha1, alpha2);
85 double zhalf = convertUnits(cons.zhalf());
86 double rInMinusZ = convertUnits(cons.rInMinusZ());
87 double rOutMinusZ = convertUnits(cons.rOutMinusZ());
88 double rInPlusZ = convertUnits(cons.rInPlusZ());
89 double rOutPlusZ = convertUnits(cons.rOutPlusZ());
90 double startPhi = cons.phiFrom();
95 double zhalf = convertUnits(tubs.zhalf());
96 double rIn = convertUnits(tubs.rIn());
97 double rOut = convertUnits(tubs.rOut());
98 double startPhi = tubs.startPhi();
103 double x1 = convertUnits(ptrap.x1());
104 double x2 = convertUnits(ptrap.x2());
105 double y1 = convertUnits(ptrap.y1());
106 double y2 = convertUnits(ptrap.y2());
107 double halfZ = convertUnits(ptrap.halfZ());
108 double radius = convertUnits(ptrap.radius());
109 bool atMinusZ = ptrap.atMinusZ();
113 double zhalf = convertUnits(tubs.zHalf());
114 double rIn = convertUnits(tubs.rIn());
115 double rOut = convertUnits(tubs.rOut());
116 double startPhi = tubs.startPhi();
118 double cutAtStart = convertUnits(tubs.cutAtStart());
119 double cutAtDelta = convertUnits(tubs.cutAtDelta());
120 bool cutInside = tubs.cutInside();
193 cout <<
" Orientation of surfaces:";
194 std::string sideName[3] = {
"positiveSide",
"negativeSide",
"onSurface"};
195 for (
int i = 0;
i < 6; ++
i) {
References DDTrap::alpha1(), DDTrap::alpha2(), DDPseudoTrap::atMinusZ(), buildBox(), buildCons(), buildPseudoTrap(), buildTrap(), buildTruncTubs(), buildTubs(), magneticfield::BaseVolumeHandle::center(), magneticfield::BaseVolumeHandle::center_, magneticfield::BaseVolumeHandle::copyno, DDExpandedView::copyno(), gather_cfg::cout, DDTruncTubs::cutAtDelta(), DDTruncTubs::cutAtStart(), DDTruncTubs::cutInside(), ddbox, ddcons, ddpseudotrap, ddtrap, ddtrunctubs, ddtubs, magneticfield::BaseVolumeHandle::debug, SiPixelRawToDigiRegional_cfi::deltaPhi, DDTruncTubs::deltaPhi(), DDTubs::deltaPhi(), DDCons::deltaPhi(), DDBox::halfX(), DDBox::halfY(), DDTrap::halfZ(), DDPseudoTrap::halfZ(), DDBox::halfZ(), mps_fire::i, magneticfield::BaseVolumeHandle::isAssigned, magneticfield::BaseVolumeHandle::isIronFlag, DDExpandedView::logicalPart(), magneticfield::BaseVolumeHandle::magFile, magneticfield::BaseVolumeHandle::masterSector, DDLogicalPart::material(), DDSolidShapesName::name(), DDName::name(), DDBase< N, C >::name(), magneticfield::BaseVolumeHandle::name, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), DDTrap::phi(), DDCons::phiFrom(), DDPseudoTrap::radius(), CosmicsPD_Skims::radius, referencePlane(), DDTruncTubs::rIn(), DDTubs::rIn(), DDCons::rInMinusZ(), DDCons::rInPlusZ(), DDTruncTubs::rOut(), DDTubs::rOut(), DDCons::rOutMinusZ(), DDCons::rOutPlusZ(), shape(), DDSolid::shape(), solid, DDLogicalPart::solid(), DDTruncTubs::startPhi(), DDTubs::startPhi(), AlCaHLTBitMon_QueryRunRegistry::string, magneticfield::BaseVolumeHandle::surfaces, magneticfield::BaseVolumeHandle::theRMax, magneticfield::BaseVolumeHandle::theRMin, magneticfield::BaseVolumeHandle::theRN, DDTrap::theta(), theta(), DDExpandedView::translation(), magneticfield::BaseVolumeHandle::volumeno, testProducerWithPsetDescEmpty_cfi::x1, DDTrap::x1(), DDPseudoTrap::x1(), testProducerWithPsetDescEmpty_cfi::x2, DDTrap::x2(), DDPseudoTrap::x2(), DDTrap::x3(), DDTrap::x4(), testProducerWithPsetDescEmpty_cfi::y1, DDTrap::y1(), DDPseudoTrap::y1(), testProducerWithPsetDescEmpty_cfi::y2, DDTrap::y2(), DDPseudoTrap::y2(), DDTruncTubs::zHalf(), DDTubs::zhalf(), and DDCons::zhalf().