35 const GlobalPoint &
center()
const;
66 handles::const_iterator
end,
bool uniq=
true);
100 std::vector<VolumeSide>
sides()
const;
unsigned short copyno
copy number
const GloballyPositioned< float > * placement() const
FIXME: currently returns max RN (to be fixed?). Used by: bLayer::maxR()
void buildBox(const DDExpandedView &fv)
void buildPhiZSurf(double startPhi, double deltaPhi, double zhalf, double rCentr)
bool operator()(const volumeHandle *v1, const volumeHandle *v2) const
bool isPlaneMatched(int which_side) const
if the specified surface has been matched.
GloballyPositioned< float > * refPlane
void buildTubs(const DDExpandedView &fv)
std::vector< VolumeSide > sides() const
The surfaces and they orientation, as required to build a MagVolume.
Geom::Phi< T > phi() const
void buildPseudoTrap(const DDExpandedView &fv)
const GlobalPoint & center() const
Return the center of the volume.
Geom::Phi< float > maxPhi() const
Maximum value of phi covered by the volume.
Geom::Phi< float > minPhi() const
Minimum value of phi covered by the volume.
std::string name
Name of the volume.
DDSolidShape shape() const
Shape of the solid.
volumeHandle operator=(const volumeHandle &v)
A DDSolid represents the shape of a part.
bool isIron() const
Temporary hack to pass information on material. Will eventually be replaced!
const double RN() const
Distance of (x,y) plane from origin.
Surface::LocalPoint LocalPoint
Surface::GlobalPoint GlobalPoint
std::string magFile
Name of magnetic field table file.
DDSolidShape shape(void) const
The type of the solid.
void buildCons(const DDExpandedView &fv)
void referencePlane(const DDExpandedView &fv)
volumeHandle(const DDExpandedView &fv, bool expand2Pi=false)
Surface::LocalVector LocalVector
double minZ() const
Z limits.
unsigned short volumeno
volume number
static void printUniqueNames(handles::const_iterator begin, handles::const_iterator end, bool uniq=true)
Just for debugging...
SurfaceOrientation::GlobalFace Sides
const Surface & surface(int which_side) const
Get the current surface on specified side.
double minR() const
Minimum R for any point within the volume.
bool operator()(double phi1, double phi2) const
void buildTrap(const DDExpandedView &fv)
int masterSector
The sector for which an interpolator for this class of volumes should be built.
int references(int which_side) const
std::unary_function< const volumeHandle *, double > uFcn
MagVolume6Faces * magVolume
Pointer to the final MagVolume (must be set from outside)
Geom::Phi< float > thePhiMin
const PositionType & position() const
Provides an exploded view of the detector (tree-view)
bool setSurface(const Surface &s1, Sides which_side)
Assign a shared surface perorming sanity checks.
bool sameSurface(const Surface &s1, Sides which_side, float tolerance=0.01)
Find out if two surfaces are the same physical surface.
void buildTruncTubs(const DDExpandedView &fv)