#include <ForwardDetLayer.h>
Public Member Functions | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const |
bool | contains (const Local3DPoint &p) const |
ForwardDetLayer (bool doHaveGroups) | |
virtual Location | location () const final |
Which part of the detector (barrel, endcap) More... | |
virtual const BoundDisk & | specificSurface () const final |
virtual const BoundSurface & | surface () const final |
The surface of the GeometricSearchDet. More... | |
virtual | ~ForwardDetLayer () |
Public Member Functions inherited from DetLayer | |
DetLayer (bool doHaveGroup, bool ibar) | |
bool | isBarrel () const |
bool | isForward () const |
int | seqNum () const |
void | setSeqNum (int sq) |
virtual SubDetector | subDetector () const =0 |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
virtual | ~DetLayer () |
Public Member Functions inherited from GeometricSearchDet | |
virtual const std::vector < const GeomDet * > & | basicComponents () const =0 |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
virtual const std::vector < const GeometricSearchDet * > & | components () const =0 |
Returns basic components, if any. More... | |
GeometricSearchDet (bool doHaveGroups) | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
bool | hasGroups () const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Protected Member Functions | |
SimpleDiskBounds const & | bounds () const |
virtual BoundDisk * | computeSurface () |
virtual void | initialize () |
float | rmax () const |
float | rmin () const |
void | setSurface (BoundDisk *cp) |
float | zmax () const |
float | zmin () const |
Private Attributes | |
ReferenceCountingPointer < BoundDisk > | theDisk |
Additional Inherited Members | |
Public Types inherited from DetLayer | |
typedef GeomDetEnumerators::Location | Location |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Types inherited from GeometricSearchDet | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef BoundSurface::PositionType | PositionType |
typedef BoundSurface::RotationType | RotationType |
typedef TrajectoryStateOnSurface | TrajectoryState |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A specialization of the DetLayer interface for forward layers. Forward layers are disks with their axes parallel to the global Z axis. The methods that have a common implementation for all ForwardDetLayers are implemented in this class, but some methods are left abstract.
Definition at line 23 of file ForwardDetLayer.h.
|
inline |
Definition at line 26 of file ForwardDetLayer.h.
|
virtual |
Definition at line 10 of file ForwardDetLayer.cc.
|
inlineprotected |
Definition at line 58 of file ForwardDetLayer.h.
References theDisk.
Referenced by zmax(), and zmin().
|
virtual |
tests the geometrical compatibility of the Det with the predicted state. The FreeTrajectoryState argument is propagated to the Det surface using the Propagator argument. The resulting TrajectoryStateOnSurface is tested for compatibility with the surface bounds. If compatible, a std::pair< true, propagatedState> is returned. If the propagation fails, or if the state is not compatible, a std::pair< false, propagatedState> is returned.
Implements GeometricSearchDet.
Definition at line 104 of file ForwardDetLayer.cc.
References funct::abs(), deltaR(), f, TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), bookConverter::max, HLT_FULL_cff::nSigma, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), LocalTrajectoryError::positionError(), Propagator::propagate(), diffTwoXMLs::r2, mathSSE::sqrt(), unlikely, LocalError::xx(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
|
protectedvirtual |
Definition at line 29 of file ForwardDetLayer.cc.
References makeMuonMisalignmentScenario::components, BoundingBox::corners(), Vector3DBase< T, FrameTag >::dot(), F(), LogDebug, bookConverter::max, min(), alignCSCRings::r, makeMuonMisalignmentScenario::rot, Vector3DBase< T, FrameTag >::unit(), and create_public_lumi_plots::width.
Referenced by PixelForwardLayer::PixelForwardLayer(), and PixelForwardLayerPhase1::PixelForwardLayerPhase1().
bool ForwardDetLayer::contains | ( | const Local3DPoint & | p | ) | const |
Definition at line 19 of file ForwardDetLayer.cc.
|
protectedvirtual |
Definition at line 24 of file ForwardDetLayer.cc.
|
inlinefinalvirtual |
Which part of the detector (barrel, endcap)
Implements DetLayer.
Definition at line 38 of file ForwardDetLayer.h.
References GeomDetEnumerators::endcap.
|
inlineprotected |
Definition at line 51 of file ForwardDetLayer.h.
References theDisk.
|
inlineprotected |
Definition at line 50 of file ForwardDetLayer.h.
References theDisk.
|
protected |
Definition at line 15 of file ForwardDetLayer.cc.
References SimDataFormats::CaloAnalysis::cp.
Referenced by PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), and TECLayer::TECLayer().
|
inlinefinalvirtual |
Definition at line 41 of file ForwardDetLayer.h.
References theDisk.
Referenced by MuonNavigationSchool::addEndcapLayer(), DirectMuonNavigation::checkCompatible(), DirectTrackerNavigation::checkCompatible(), PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), MuonShowerInformationFiller::crossingPoint(), MultipleScatteringGeometry::detLayers(), RectangularEtaPhiTrackingRegion::estimator(), ThirdHitCorrection::init(), InnerDeltaPhi::initForwardLayer(), InnerDeltaPhi::initForwardMS(), SimpleNavigationSchool::linkNextBarrelLayer(), OutInConversionSeedFinder::makeEstimator(), SymmetricLayerFinder::mirrorPartner(), MSLayer::MSLayer(), DiskLessInnerRadius::operator()(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), TECLayer::TECLayer(), and SimpleNavigableLayer::wellInside().
|
inlinefinalvirtual |
The surface of the GeometricSearchDet.
Implements GeometricSearchDet.
Definition at line 31 of file ForwardDetLayer.h.
References theDisk.
Referenced by PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), RectangularEtaPhiTrackingRegion::estimator(), PixelTripletNoTipGenerator::hitTriplets(), ThirdHitRZPredictionBase::initLayer(), ThirdHitPrediction::initLayer(), OutInConversionSeedFinder::makeEstimator(), ValidHitPairFilter::operator()(), MuonDetLayerComp::operator()(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), MuonNavigationPrinter::printLayers(), TECLayer::searchNeighbors(), and SimpleNavigableLayer::wellInside().
|
inlineprotected |
Definition at line 53 of file ForwardDetLayer.h.
References bounds(), theDisk, and SimpleDiskBounds::thickness().
|
inlineprotected |
Definition at line 52 of file ForwardDetLayer.h.
References bounds(), theDisk, and SimpleDiskBounds::thickness().
|
private |
Definition at line 61 of file ForwardDetLayer.h.
Referenced by bounds(), rmax(), rmin(), specificSurface(), surface(), zmax(), and zmin().