#include <ForwardDetLayer.h>
Public Member Functions | |
std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const override |
bool | contains (const Local3DPoint &p) const |
ForwardDetLayer (bool doHaveGroups) | |
Location | location () const final |
Which part of the detector (barrel, endcap) More... | |
virtual const BoundDisk & | specificSurface () const final |
const BoundSurface & | surface () const final |
The surface of the GeometricSearchDet. More... | |
~ForwardDetLayer () override | |
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... | |
~DetLayer () override | |
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 22 of file ForwardDetLayer.h.
|
inline |
Definition at line 24 of file ForwardDetLayer.h.
|
override |
Definition at line 10 of file ForwardDetLayer.cc.
|
inlineprotected |
Definition at line 54 of file ForwardDetLayer.h.
References runTheMatrix::const, and theDisk.
Referenced by zmax(), and zmin().
|
overridevirtual |
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 84 of file ForwardDetLayer.cc.
References funct::abs(), PbPb_ZMuSkimMuonDPG_cff::deltaR, submitPVResolutionJobs::err, f, TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localDirection(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), SiStripPI::max, HLTSiStripMonitoring_cff::nSigma, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), LocalTrajectoryError::positionError(), Propagator::propagate(), diffTwoXMLs::r2, mathSSE::sqrt(), UNLIKELY, and PV3DBase< T, PVType, FrameType >::z().
Referenced by MTDSectorForwardLayer::compatibleDets().
|
protectedvirtual |
Reimplemented in MTDSectorForwardDoubleLayer.
Definition at line 19 of file ForwardDetLayer.cc.
References makeMuonMisalignmentScenario::components, BoundingBox::corners(), F(), LogDebug, SiStripPI::max, SiStripPI::min, makeMuonMisalignmentScenario::rot, Vector3DBase< T, FrameTag >::unit(), ApeEstimator_cff::width, HLT_2023v12_cff::xAxis, and HLT_2023v12_cff::yAxis.
Referenced by PixelForwardLayer::PixelForwardLayer(), and PixelForwardLayerPhase1::PixelForwardLayerPhase1().
bool ForwardDetLayer::contains | ( | const Local3DPoint & | p | ) | const |
Definition at line 15 of file ForwardDetLayer.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
protectedvirtual |
Definition at line 17 of file ForwardDetLayer.cc.
|
inlinefinalvirtual |
Which part of the detector (barrel, endcap)
Implements DetLayer.
Definition at line 36 of file ForwardDetLayer.h.
References GeomDetEnumerators::endcap.
|
inlineprotected |
Definition at line 47 of file ForwardDetLayer.h.
References theDisk.
Referenced by MTDSectorForwardDoubleLayer::compatible(), and MTDSectorForwardDoubleLayer::computeSurface().
|
inlineprotected |
Definition at line 46 of file ForwardDetLayer.h.
References theDisk.
Referenced by MTDSectorForwardDoubleLayer::compatible(), and MTDSectorForwardDoubleLayer::computeSurface().
|
protected |
Definition at line 13 of file ForwardDetLayer.cc.
References CommonMethods::cp().
Referenced by MTDSectorForwardDoubleLayer::MTDSectorForwardDoubleLayer(), MTDSectorForwardLayer::MTDSectorForwardLayer(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), and TECLayer::TECLayer().
|
inlinefinalvirtual |
Definition at line 39 of file ForwardDetLayer.h.
References theDisk.
Referenced by MuonNavigationSchool::addEndcapLayer(), MuonGEMDetLayerGeometryBuilder::buildEndcapLayers(), DirectMuonNavigation::checkCompatible(), DirectTrackerNavigation::checkCompatible(), MTDSectorForwardDoubleLayer::compatible(), MTDSectorForwardLayer::compatibleDets(), PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), MTDSectorForwardDoubleLayer::computeSurface(), MuonShowerInformationFiller::crossingPoint(), MultipleScatteringGeometry::detLayers(), ThirdHitCorrection::init(), InnerDeltaPhi::initForwardLayer(), InnerDeltaPhi::initForwardMS(), SimpleNavigationSchool::linkNextBarrelLayer(), OutInConversionSeedFinder::makeEstimator(), MSLayer::MSLayer(), MTDSectorForwardDoubleLayer::MTDSectorForwardDoubleLayer(), MTDSectorForwardLayer::MTDSectorForwardLayer(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), TECLayer::TECLayer(), and SimpleNavigableLayer::wellInside().
|
inlinefinalvirtual |
The surface of the GeometricSearchDet.
Implements GeometricSearchDet.
Definition at line 29 of file ForwardDetLayer.h.
References theDisk.
Referenced by MTDSectorForwardDoubleLayer::compatible(), PixelForwardLayer::computeCrossings(), PixelForwardLayerPhase1::computeCrossings(), PixelTripletNoTipGenerator::hitTriplets(), ThirdHitRZPredictionBase::initLayer(), ThirdHitPrediction::initLayer(), OutInConversionSeedFinder::makeEstimator(), MuonDetLayerComp::operator()(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), TECLayer::searchNeighbors(), and SimpleNavigableLayer::wellInside().
|
inlineprotected |
Definition at line 49 of file ForwardDetLayer.h.
References bounds(), theDisk, and SimpleDiskBounds::thickness().
Referenced by MTDSectorForwardDoubleLayer::compatible(), and MTDSectorForwardDoubleLayer::computeSurface().
|
inlineprotected |
Definition at line 48 of file ForwardDetLayer.h.
References bounds(), theDisk, and SimpleDiskBounds::thickness().
Referenced by MTDSectorForwardDoubleLayer::compatible(), and MTDSectorForwardDoubleLayer::computeSurface().
|
private |
Definition at line 57 of file ForwardDetLayer.h.
Referenced by bounds(), rmax(), rmin(), specificSurface(), surface(), zmax(), and zmin().