CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
MagGeoBuilderFromDDD::volumeHandle Class Reference

#include <volumeHandle.h>

Inheritance diagram for MagGeoBuilderFromDDD::volumeHandle:
magneticfield::BaseVolumeHandle

Public Member Functions

volumeHandle operator= (const volumeHandle &v)=delete
 
DDSolidShape shape () const override
 Shape of the solid. More...
 
std::vector< VolumeSidesides () const override
 The surfaces and they orientation, as required to build a MagVolume. More...
 
 volumeHandle (const DDExpandedView &fv, bool expand2Pi=false, bool debugVal=false)
 
 volumeHandle (const volumeHandle &v)=delete
 
- Public Member Functions inherited from magneticfield::BaseVolumeHandle
 BaseVolumeHandle (bool expand2Pi=false, bool debugVal=false)
 
 BaseVolumeHandle (const BaseVolumeHandle &v)=delete
 
const GlobalPointcenter () const
 Return the center of the volume. More...
 
bool isIron () const
 Temporary hack to pass information on material. Will eventually be replaced! More...
 
bool isPlaneMatched (int which_side) const
 if the specified surface has been matched. More...
 
Geom::Phi< float > maxPhi () const
 Maximum value of phi covered by the volume. More...
 
double maxZ () const
 
Geom::Phi< float > minPhi () const
 Minimum value of phi covered by the volume. More...
 
double minR () const
 Minimum R for any point within the volume. More...
 
double minZ () const
 Z limits. More...
 
const GloballyPositioned< float > * placement () const
 Position and rotation. More...
 
int references (int which_side) const
 
const double RN () const
 Distance of (x,y) plane from origin. More...
 
bool sameSurface (const Surface &s1, Sides which_side, float tolerance=0.01)
 Find out if two surfaces are the same physical surface. More...
 
bool setSurface (const Surface &s1, Sides which_side)
 Assign a shared surface perorming sanity checks. More...
 
const Surfacesurface (int which_side) const
 Get the current surface on specified side. More...
 
const Surfacesurface (Sides which_side) const
 
bool toExpand () const
 
virtual ~BaseVolumeHandle ()
 

Private Member Functions

void buildBox (double halfX, double halfY, double halfZ)
 
void buildCons (double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double startPhi, double deltaPhi)
 
void buildPseudoTrap (double x1, double x2, double y1, double y2, double halfZ, double radius, bool atMinusZ)
 
void buildTrap (double x1, double x2, double x3, double x4, double y1, double y2, double theta, double phi, double halfZ, double alpha1, double alpha2)
 
void buildTruncTubs (double zhalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside)
 
void buildTubs (double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
 
void referencePlane (const DDExpandedView &fv)
 

Private Attributes

DDSolid solid
 

Additional Inherited Members

- Public Types inherited from magneticfield::BaseVolumeHandle
typedef Surface::GlobalPoint GlobalPoint
 
typedef Surface::LocalPoint LocalPoint
 
typedef Surface::LocalVector LocalVector
 
typedef SurfaceOrientation::GlobalFace Sides
 
- Public Attributes inherited from magneticfield::BaseVolumeHandle
unsigned short copyno
 copy number More...
 
std::string magFile
 Name of magnetic field table file. More...
 
MagVolume6FacesmagVolume
 Pointer to the final MagVolume (must be set from outside) More...
 
int masterSector
 The sector for which an interpolator for this class of volumes should be built. More...
 
std::string name
 Name of the volume. More...
 
unsigned short volumeno
 volume number More...
 
- Protected Types inherited from magneticfield::BaseVolumeHandle
typedef ConstReferenceCountingPointer< SurfaceRCPS
 
- Protected Member Functions inherited from magneticfield::BaseVolumeHandle
void buildPhiZSurf (double startPhi, double deltaPhi, double zhalf, double rCentr)
 
- Protected Attributes inherited from magneticfield::BaseVolumeHandle
GlobalPoint center_
 
const bool debug
 
bool expand
 
bool isAssigned [6]
 
bool isIronFlag
 
GloballyPositioned< float > * refPlane
 
RCPS surfaces [6]
 
Geom::Phi< float > thePhiMin
 
double theRMax
 
double theRMin
 
double theRN
 

Detailed Description

A temporary container to cache info on a six-surface volume during the processing. Used to sort, organise, and build shared planes. One instance is created for each DDVolume. The parameters of the boundary surfaces are calculated during construction.

Author
N. Amapane - INFN Torino (original developer)

Definition at line 23 of file volumeHandle.h.

Constructor & Destructor Documentation

◆ volumeHandle() [1/2]

MagGeoBuilderFromDDD::volumeHandle::volumeHandle ( const DDExpandedView fv,
bool  expand2Pi = false,
bool  debugVal = false 
)

Definition at line 41 of file volumeHandle.cc.

42  : magneticfield::BaseVolumeHandle(expand2Pi, debugVal) {
43  name = fv.logicalPart().name().name();
44  copyno = fv.copyno();
45  solid = fv.logicalPart().solid();
46  center_ = GlobalPoint(fv.translation().x() / cm, fv.translation().y() / cm, fv.translation().z() / cm);
47 
48  // ASSUMPTION: volume names ends with "_NUM" where NUM is the volume number
49  string volName = name;
50  volName.erase(0, volName.rfind('_') + 1);
51  volumeno = boost::lexical_cast<unsigned short>(volName);
52 
53  for (int i = 0; i < 6; ++i) {
54  isAssigned[i] = false;
55  }
56 
57  if (debug) {
58  cout.precision(7);
59  }
60 
61  referencePlane(fv);
62 
63  if (solid.shape() == DDSolidShape::ddbox) {
64  DDBox box(solid);
65  double halfX = convertUnits(box.halfX());
66  double halfY = convertUnits(box.halfY());
67  double halfZ = convertUnits(box.halfZ());
68  buildBox(halfX, halfY, halfZ);
69  } else if (solid.shape() == DDSolidShape::ddtrap) {
70  DDTrap trap(solid);
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);
83  } else if (solid.shape() == DDSolidShape::ddcons) {
84  DDCons cons(solid);
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();
91  double deltaPhi = cons.deltaPhi();
92  buildCons(zhalf, rInMinusZ, rOutMinusZ, rInPlusZ, rOutPlusZ, startPhi, deltaPhi);
93  } else if (solid.shape() == DDSolidShape::ddtubs) {
94  DDTubs tubs(solid);
95  double zhalf = convertUnits(tubs.zhalf());
96  double rIn = convertUnits(tubs.rIn());
97  double rOut = convertUnits(tubs.rOut());
98  double startPhi = tubs.startPhi();
99  double deltaPhi = tubs.deltaPhi();
100  buildTubs(zhalf, rIn, rOut, startPhi, deltaPhi);
101  } else if (solid.shape() == DDSolidShape::ddpseudotrap) {
102  DDPseudoTrap ptrap(solid);
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();
110  buildPseudoTrap(x1, x2, y1, y2, halfZ, radius, atMinusZ);
111  } else if (solid.shape() == DDSolidShape::ddtrunctubs) {
112  DDTruncTubs tubs(solid);
113  double zhalf = convertUnits(tubs.zHalf()); // half of the z-Axis
114  double rIn = convertUnits(tubs.rIn()); // inner radius
115  double rOut = convertUnits(tubs.rOut()); // outer radius
116  double startPhi = tubs.startPhi(); // angular start of the tube-section
117  double deltaPhi = tubs.deltaPhi(); // angular span of the tube-section
118  double cutAtStart = convertUnits(tubs.cutAtStart()); // truncation at begin of the tube-section
119  double cutAtDelta = convertUnits(tubs.cutAtDelta()); // truncation at end of the tube-section
120  bool cutInside = tubs.cutInside(); // true, if truncation is on the inner side of the tube-section
121  buildTruncTubs(zhalf, rIn, rOut, startPhi, deltaPhi, cutAtStart, cutAtDelta, cutInside);
122  } else {
123  cout << "volumeHandle ctor: Unexpected solid: " << DDSolidShapesName::name(solid.shape()) << endl;
124  }
125 
126  // NOTE: Table name and master sector are no longer taken from xml!
127  // DDsvalues_type sv(fv.mergedSpecifics());
128 
129  // { // Extract the name of associated field file.
130  // std::vector<std::string> temp;
131  // std::string pname = "table";
132  // DDValue val(pname);
133  // DDsvalues_type sv(fv.mergedSpecifics());
134  // if (DDfetch(&sv,val)) {
135  // temp = val.strings();
136  // if (temp.size() != 1) {
137  // cout << "*** WARNING: volume has > 1 SpecPar " << pname << endl;
138  // }
139  // magFile = temp[0];
140 
141  // string find="[copyNo]";
142  // std::size_t j;
143  // for ( ; (j = magFile.find(find)) != string::npos ; ) {
144  // stringstream conv;
145  // conv << setfill('0') << setw(2) << copyno;
146  // string repl;
147  // conv >> repl;
148  // magFile.replace(j, find.length(), repl);
149  // }
150 
151  // } else {
152  // cout << "*** WARNING: volume does not have a SpecPar " << pname << endl;
153  // cout << " DDsvalues_type: " << fv.mergedSpecifics() << endl;
154  // }
155  // }
156 
157  // { // Extract the number of the master sector.
158  // std::vector<double> temp;
159  // const std::string pname = "masterSector";
160  // DDValue val(pname);
161  // if (DDfetch(&sv,val)) {
162  // temp = val.doubles();
163  // if (temp.size() != 1) {
164  // cout << "*** WARNING: volume has > 1 SpecPar " << pname << endl;
165  // }
166  // masterSector = int(temp[0]+.5);
167  // } else {
168  // if (MagGeoBuilderFromDDD::debug) {
169  // cout << "Volume does not have a SpecPar " << pname
170  // << " using: " << copyno << endl;
171  // cout << " DDsvalues_type: " << fv.mergedSpecifics() << endl;
172  // }
173  // masterSector = copyno;
174  // }
175  // }
176 
177  // Get material for this volume
178  if (fv.logicalPart().material().name().name() == "Iron")
179  isIronFlag = true;
180 
181  if (debug) {
182  cout << " RMin = " << theRMin << endl;
183  cout << " RMax = " << theRMax << endl;
184 
185  if (theRMin < 0 || theRN < theRMin || theRMax < theRN)
186  cout << "*** WARNING: wrong RMin/RN/RMax , shape: " << DDSolidShapesName::name(shape()) << endl;
187 
188  cout << "Summary: " << name << " " << copyno << " Shape= " << DDSolidShapesName::name(shape()) << " trasl "
189  << center() << " R " << center().perp() << " phi " << center().phi() << " magFile " << magFile
190  << " Material= " << fv.logicalPart().material().name() << " isIron= " << isIronFlag
191  << " masterSector= " << masterSector << std::endl;
192 
193  cout << " Orientation of surfaces:";
194  std::string sideName[3] = {"positiveSide", "negativeSide", "onSurface"};
195  for (int i = 0; i < 6; ++i) {
196  cout << " " << i << ":" << sideName[surfaces[i]->side(center_, 0.3)];
197  }
198  cout << endl;
199  }
200 }

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().

◆ volumeHandle() [2/2]

MagGeoBuilderFromDDD::volumeHandle::volumeHandle ( const volumeHandle v)
delete

Member Function Documentation

◆ buildBox()

void MagGeoBuilderFromDDD::volumeHandle::buildBox ( double  halfX,
double  halfY,
double  halfZ 
)
private

Referenced by volumeHandle().

◆ buildCons()

void MagGeoBuilderFromDDD::volumeHandle::buildCons ( double  zhalf,
double  rInMinusZ,
double  rOutMinusZ,
double  rInPlusZ,
double  rOutPlusZ,
double  startPhi,
double  deltaPhi 
)
private

Referenced by volumeHandle().

◆ buildPseudoTrap()

void MagGeoBuilderFromDDD::volumeHandle::buildPseudoTrap ( double  x1,
double  x2,
double  y1,
double  y2,
double  halfZ,
double  radius,
bool  atMinusZ 
)
private

Referenced by volumeHandle().

◆ buildTrap()

void MagGeoBuilderFromDDD::volumeHandle::buildTrap ( double  x1,
double  x2,
double  x3,
double  x4,
double  y1,
double  y2,
double  theta,
double  phi,
double  halfZ,
double  alpha1,
double  alpha2 
)
private

Referenced by volumeHandle().

◆ buildTruncTubs()

void MagGeoBuilderFromDDD::volumeHandle::buildTruncTubs ( double  zhalf,
double  rIn,
double  rOut,
double  startPhi,
double  deltaPhi,
double  cutAtStart,
double  cutAtDelta,
bool  cutInside 
)
private

Referenced by volumeHandle().

◆ buildTubs()

void MagGeoBuilderFromDDD::volumeHandle::buildTubs ( double  zhalf,
double  rIn,
double  rOut,
double  startPhi,
double  deltaPhi 
)
private

Referenced by volumeHandle().

◆ operator=()

volumeHandle MagGeoBuilderFromDDD::volumeHandle::operator= ( const volumeHandle v)
delete

◆ referencePlane()

void MagGeoBuilderFromDDD::volumeHandle::referencePlane ( const DDExpandedView fv)
private

Definition at line 202 of file volumeHandle.cc.

202  {
203  // The refPlane is the "main plane" for the solid. It corresponds to the
204  // x,y plane in the DDD local frame, and defines a frame where the local
205  // coordinates are the same as in DDD.
206  // In the geometry version 85l_030919, this plane is normal to the
207  // beam line for all volumes but pseudotraps, so that global R is along Y,
208  // global phi is along -X and global Z along Z:
209  //
210  // Global(for vol at pi/2) Local
211  // +R (+Y) +Y
212  // +phi(-X) -X
213  // +Z +Z
214  //
215  // For pseudotraps the refPlane is parallel to beam line and global R is
216  // along Z, global phi is along +-X and and global Z along Y:
217  //
218  // Global(for vol at pi/2) Local
219  // +R (+Y) +Z
220  // +phi(-X) +X
221  // +Z +Y
222  //
223  // Note that the frame is centered in the DDD volume center, which is
224  // inside the volume for DDD boxes and (pesudo)trapezoids, on the beam line
225  // for tubs, cons and trunctubs.
226 
227  // In geometry version 1103l, trapezoids have X and Z in the opposite direction
228  // than the above. Boxes are either oriented as described above or in some case
229  // have opposite direction for Y and X.
230 
231  // The global position
232  Surface::PositionType &posResult = center_;
233 
234  // The reference plane rotation
235  DD3Vector x, y, z;
236  fv.rotation().GetComponents(x, y, z);
237  if (debug) {
238  if (x.Cross(y).Dot(z) < 0.5) {
239  cout << "*** WARNING: Rotation is not RH " << endl;
240  }
241  }
242 
243  // The global rotation
244  Surface::RotationType rotResult(float(x.X()),
245  float(x.Y()),
246  float(x.Z()),
247  float(y.X()),
248  float(y.Y()),
249  float(y.Z()),
250  float(z.X()),
251  float(z.Y()),
252  float(z.Z()));
253 
254  refPlane = new GloballyPositioned<float>(posResult, rotResult);
255 
256  // Check correct orientation
257  if (debug) {
258  cout << "Refplane pos " << refPlane->position() << endl;
259 
260  // See comments above for the conventions for orientation.
261  LocalVector globalZdir(0., 0., 1.); // Local direction of the axis along global Z
263  globalZdir = LocalVector(0., 1., 0.);
264  }
265  if (refPlane->toGlobal(globalZdir).z() < 0.) {
266  globalZdir = -globalZdir;
267  }
268 
269  float chk = refPlane->toGlobal(globalZdir).dot(GlobalVector(0, 0, 1));
270  if (chk < .999)
271  cout << "*** WARNING RefPlane check failed!***" << chk << endl;
272  }
273 }

References gather_cfg::cout, ddpseudotrap, MagGeoBuilderFromDDD::debug, Vector3DBase< T, FrameTag >::dot(), DDExpandedView::rotation(), x, y, and z.

Referenced by volumeHandle().

◆ shape()

DDSolidShape MagGeoBuilderFromDDD::volumeHandle::shape ( ) const
inlineoverridevirtual

Shape of the solid.

Implements magneticfield::BaseVolumeHandle.

Definition at line 32 of file volumeHandle.h.

32 { return solid.shape(); }

References DDSolid::shape(), and solid.

Referenced by volumeHandle().

◆ sides()

std::vector< VolumeSide > MagGeoBuilderFromDDD::volumeHandle::sides ( void  ) const
overridevirtual

The surfaces and they orientation, as required to build a MagVolume.

Implements magneticfield::BaseVolumeHandle.

Definition at line 275 of file volumeHandle.cc.

275  {
276  std::vector<VolumeSide> result;
277  for (int i = 0; i < 6; ++i) {
278  // If this is just a master volume out of wich a 2pi volume
279  // should be built (e.g. central cylinder), skip the phi boundaries.
280  if (expand && (i == phiplus || i == phiminus))
281  continue;
282 
283  // FIXME: Skip null inner degenerate cylindrical surface
285  continue;
286 
287  ReferenceCountingPointer<Surface> s = const_cast<Surface *>(surfaces[i].get());
288  result.push_back(VolumeSide(s, GlobalFace(i), surfaces[i]->side(center_, 0.3)));
289  }
290  return result;
291 }

References ddtubs, get, mps_fire::i, SurfaceOrientation::inner, SurfaceOrientation::phiminus, SurfaceOrientation::phiplus, mps_fire::result, and alignCSCRings::s.

Referenced by MagGeoBuilderFromDDD::buildInterpolator().

Member Data Documentation

◆ solid

DDSolid MagGeoBuilderFromDDD::volumeHandle::solid
private

Definition at line 78 of file volumeHandle.h.

Referenced by shape(), and volumeHandle().

Vector3DBase< float, LocalTag >
GloballyPositioned< float >
magneticfield::BaseVolumeHandle::magFile
std::string magFile
Name of magnetic field table file.
Definition: BaseVolumeHandle.h:66
MagGeoBuilderFromDDD::volumeHandle::shape
DDSolidShape shape() const override
Shape of the solid.
Definition: volumeHandle.h:32
SurfaceOrientation::phiplus
Definition: Surface.h:19
TkRotation< float >
DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:428
DDExpandedView::rotation
const DDRotationMatrix & rotation() const
The absolute rotation of the current node.
Definition: DDExpandedView.cc:48
DDCons
Definition: DDSolid.h:281
DDSolidShape::ddtrap
magneticfield::BaseVolumeHandle::debug
const bool debug
Definition: BaseVolumeHandle.h:151
MagGeoBuilderFromDDD::volumeHandle::buildTruncTubs
void buildTruncTubs(double zhalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside)
testProducerWithPsetDescEmpty_cfi.x2
x2
Definition: testProducerWithPsetDescEmpty_cfi.py:28
DDSolidShape::ddpseudotrap
magneticfield::BaseVolumeHandle::center
const GlobalPoint & center() const
Return the center of the volume.
Definition: BaseVolumeHandle.cc:42
gather_cfg.cout
cout
Definition: gather_cfg.py:144
DDLogicalPart::material
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
Definition: DDLogicalPart.cc:118
magneticfield::BaseVolumeHandle::isAssigned
bool isAssigned[6]
Definition: BaseVolumeHandle.h:122
ReferenceCountingPointer< Surface >
DDAxes::x
MagGeoBuilderFromDDD::volumeHandle::solid
DDSolid solid
Definition: volumeHandle.h:78
GlobalVector
Global3DVector GlobalVector
Definition: GlobalVector.h:10
magneticfield::BaseVolumeHandle::volumeno
unsigned short volumeno
volume number
Definition: BaseVolumeHandle.h:69
magneticfield::BaseVolumeHandle::expand
bool expand
Definition: BaseVolumeHandle.h:146
MagGeoBuilderFromDDD::volumeHandle::referencePlane
void referencePlane(const DDExpandedView &fv)
Definition: volumeHandle.cc:202
VolumeSide
Definition: VolumeSide.h:15
DDPseudoTrap
Definition: DDSolid.h:106
magneticfield::BaseVolumeHandle::theRMin
double theRMin
Definition: BaseVolumeHandle.h:132
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
DDExpandedView::copyno
int copyno() const
Copy number associated with the current node.
Definition: DDExpandedView.cc:54
DDSolid::shape
DDSolidShape shape(void) const
The type of the solid.
Definition: DDSolid.cc:119
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
alignCSCRings.s
s
Definition: alignCSCRings.py:92
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
DDTruncTubs
A truncated tube section.
Definition: DDSolid.h:128
magneticfield::BaseVolumeHandle::theRN
double theRN
Definition: BaseVolumeHandle.h:128
DDSolidShape::ddtubs
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
DDBox
Interface to a Box.
Definition: DDSolid.h:156
magneticfield::BaseVolumeHandle::isIronFlag
bool isIronFlag
Definition: BaseVolumeHandle.h:149
SurfaceOrientation::inner
Definition: Surface.h:19
DDSolidShape::ddtrunctubs
magneticfield::BaseVolumeHandle::theRMax
double theRMax
Definition: BaseVolumeHandle.h:133
DDBase::name
const N & name() const
Definition: DDBase.h:59
DDAxes::z
magneticfield::BaseVolumeHandle::GlobalPoint
Surface::GlobalPoint GlobalPoint
Definition: BaseVolumeHandle.h:24
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
Point3DBase< float, GlobalTag >
magneticfield::BaseVolumeHandle::masterSector
int masterSector
The sector for which an interpolator for this class of volumes should be built.
Definition: BaseVolumeHandle.h:111
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DDSolidShapesName::name
static const char *const name(DDSolidShape s)
Definition: DDSolidShapes.h:32
DD3Vector
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DD3Vector
Definition: PGeometricDetBuilder.cc:19
testProducerWithPsetDescEmpty_cfi.y2
y2
Definition: testProducerWithPsetDescEmpty_cfi.py:30
MagGeoBuilderFromDDD::volumeHandle::buildBox
void buildBox(double halfX, double halfY, double halfZ)
magneticfield::BaseVolumeHandle::center_
GlobalPoint center_
Definition: BaseVolumeHandle.h:142
DDTrap
Interface to a Trapezoid.
Definition: DDSolid.h:77
MagGeoBuilderFromDDD::volumeHandle::buildPseudoTrap
void buildPseudoTrap(double x1, double x2, double y1, double y2, double halfZ, double radius, bool atMinusZ)
MagGeoBuilderFromDDD::volumeHandle::buildCons
void buildCons(double zhalf, double rInMinusZ, double rOutMinusZ, double rInPlusZ, double rOutPlusZ, double startPhi, double deltaPhi)
DDSolidShape::ddcons
magneticfield::BaseVolumeHandle::LocalVector
Surface::LocalVector LocalVector
Definition: BaseVolumeHandle.h:26
DDName::name
const std::string & name() const
Returns the name.
Definition: DDName.cc:41
magneticfield::BaseVolumeHandle
Definition: BaseVolumeHandle.h:22
get
#define get
magneticfield::BaseVolumeHandle::copyno
unsigned short copyno
copy number
Definition: BaseVolumeHandle.h:72
DDAxes::phi
MagGeoBuilderFromDDD::volumeHandle::buildTubs
void buildTubs(double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
GloballyPositioned::position
const PositionType & position() const
Definition: GloballyPositioned.h:36
DDSolidShape::ddbox
magneticfield::BaseVolumeHandle::name
std::string name
Name of the volume.
Definition: BaseVolumeHandle.h:63
MagGeoBuilderFromDDD::volumeHandle::buildTrap
void buildTrap(double x1, double x2, double x3, double x4, double y1, double y2, double theta, double phi, double halfZ, double alpha1, double alpha2)
magneticfield::BaseVolumeHandle::surfaces
RCPS surfaces[6]
Definition: BaseVolumeHandle.h:120
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
SurfaceOrientation::GlobalFace
GlobalFace
Definition: Surface.h:19
DDExpandedView::logicalPart
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the expanded-view.
Definition: DDExpandedView.cc:42
SurfaceOrientation::phiminus
Definition: Surface.h:19
mps_fire.result
result
Definition: mps_fire.py:311
magneticfield::BaseVolumeHandle::refPlane
GloballyPositioned< float > * refPlane
Definition: BaseVolumeHandle.h:139
DDExpandedView::translation
const DDTranslation & translation() const
The absolute translation of the current node.
Definition: DDExpandedView.cc:46
DDLogicalPart::solid
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
Definition: DDLogicalPart.cc:120
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
GloballyPositioned::toGlobal
GlobalPoint toGlobal(const LocalPoint &lp) const
Definition: GloballyPositioned.h:66
DDTubs
Definition: DDSolid.h:255