#include <Cylinder.h>
Public Types | |
typedef ReferenceCountingPointer < Cylinder > | BoundCylinderPointer |
typedef ConstReferenceCountingPointer < Cylinder > | ConstBoundCylinderPointer |
typedef ConstReferenceCountingPointer < Cylinder > | ConstCylinderPointer |
typedef ReferenceCountingPointer < Cylinder > | CylinderPointer |
Public Types inherited from Surface | |
using | Base = GloballyPositioned< float > |
using | Side = SurfaceOrientation::Side |
Public Types inherited from GloballyPositioned< float > | |
typedef Point3DBase< float, GlobalTag > | GlobalPoint |
typedef Vector3DBase< float, GlobalTag > | GlobalVector |
typedef Point3DBase< float, LocalTag > | LocalPoint |
typedef Vector3DBase< float, LocalTag > | LocalVector |
typedef Point3DBase< float, GlobalTag > | PositionType |
typedef TkRotation< float > | RotationType |
typedef float | Scalar |
Static Public Member Functions | |
static CylinderPointer | build (const PositionType &pos, const RotationType &rot, Scalar radius, Bounds *bounds=nullptr) |
static CylinderPointer | build (Scalar radius, const PositionType &pos, const RotationType &rot, Bounds *bounds=nullptr) |
static float | computeRadius (Bounds const &bounds) |
Static Public Member Functions inherited from GloballyPositioned< float > | |
static float | iniEta () |
static float | iniPhi () |
Private Attributes | |
Scalar | theRadius |
Additional Inherited Members | |
Protected Member Functions inherited from Surface | |
Surface () | |
Surface (const PositionType &pos, const RotationType &rot) | |
Surface (const PositionType &pos, const RotationType &rot, Bounds *bounds) | |
Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp) | |
Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp, Bounds *bounds) | |
Surface (const Surface &iSurface) | |
Surface (Surface &&iSurface) | |
Protected Attributes inherited from Surface | |
extstd::clone_ptr< Bounds > | theBounds |
MediumProperties | theMediumProperties |
A Cylinder.
Definition at line 19 of file Cylinder.h.
Definition at line 32 of file Cylinder.h.
Definition at line 33 of file Cylinder.h.
Definition at line 31 of file Cylinder.h.
Definition at line 30 of file Cylinder.h.
|
inline |
Definition at line 24 of file Cylinder.h.
|
inlineoverride |
Definition at line 59 of file Cylinder.h.
|
inlinestatic |
Construct a cylinder with the specified radius. The reference frame is defined by pos and rot; the cylinder axis is parallel to the local Z axis.
Definition at line 45 of file Cylinder.h.
References Surface::bounds(), and Cylinder().
Referenced by EMEnrichingFilterAlgo::applyBFieldCurv(), CosmicGenFilterHelix::CosmicGenFilterHelix(), L1MuonRecoTreeProducer::cylExtrapTrkSam(), ResidualRefitting::cylExtrapTrkSam(), CachedTrajectory::getTrajectory(), SmartPropagator::initTkVolume(), PropagateToCal::propagate(), spr::propagateCalo(), spr::propagateHCAL(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), TrackExtrapolator::propagateTrackToVolume(), psClasses.BuildThread::run(), and TrackEfficiencyMonitor::trackerAcceptance().
|
inlinestatic |
Definition at line 52 of file Cylinder.h.
References Surface::bounds(), and Cylinder().
Referenced by psClasses.BuildThread::run().
|
inlinestatic |
Definition at line 28 of file Cylinder.h.
References Bounds::thickness(), and Bounds::width().
Referenced by CylinderBuilderFromDet::build(), BarrelDetLayer::computeSurface(), initCylinder(), CylinderBuilderFromDet::operator()(), and TkConvValidator::recalculateMomentumAtFittedVertex().
|
inline |
tangent plane to surface from global point
Definition at line 77 of file Cylinder.h.
References Vector3DBase< T, FrameTag >::cross(), GloballyPositioned< float >::position(), GloballyPositioned< float >::rotation(), and z.
|
inline |
tangent plane to surface from local point
Definition at line 84 of file Cylinder.h.
References fastTangent(), and Surface::toGlobal().
Referenced by fastTangent().
|
inline |
Radius of the cylinder.
Definition at line 64 of file Cylinder.h.
References theRadius.
Referenced by MuonShowerInformationFiller::crossingPoint(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), MagCylinder::MagCylinder(), RKPropagatorInR::myPropagate(), PropagationDirectionChooser::operator()(), StraightLineCylinderCrossing::pathLength(), StraightLineBarrelCylinderCrossing::pathLength(), SteppingHelixPropagator::propagate(), StraightLinePropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnCylinder(), SteppingHelixPropagator::refToMagVolume(), magneticfield::BaseVolumeHandle::sameSurface(), side(), and Geant4ePropagator::transformToG4SurfaceTarget().
|
overridevirtual |
Returns the side of the surface on which the point is. Not defined for 1-sided surfaces (Moebius leaf etc.) For normal 2-sided surfaces the meaning of side is surface type dependent.
Implements Surface.
Definition at line 9 of file Cylinder.cc.
References SurfaceOrientation::negativeSide, SurfaceOrientation::onSurface, PV3DBase< T, PVType, FrameType >::perp(), SurfaceOrientation::positiveSide, and radius().
Referenced by Geant4ePropagator::configureAnyPropagation().
|
overridevirtual |
tangent plane to surface from global point
Implements Surface.
Definition at line 19 of file Cylinder.cc.
References funct::abs(), Vector3DBase< T, FrameTag >::cross(), SiStripPI::max, GloballyPositioned< float >::position(), GloballyPositioned< float >::rotation(), findQualityFiles::size, and z.
Referenced by tangentPlane().
|
overridevirtual |
tangent plane to surface from local point
Implements Surface.
Definition at line 15 of file Cylinder.cc.
References tangentPlane(), and Surface::toGlobal().
|
private |
Definition at line 87 of file Cylinder.h.
Referenced by radius().