#include <BarrelDetLayer.h>
Public Member Functions | |
BarrelDetLayer (bool doHaveGroup) | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const |
bool | contains (const Local3DPoint &p) const |
virtual Location | location () const |
DetLayer interface. More... | |
virtual const BoundCylinder & | specificSurface () const |
Extension of the interface. More... | |
virtual const BoundSurface & | surface () const |
GeometricSearchDet interface. More... | |
virtual | ~BarrelDetLayer () |
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 | |
SimpleCylinderBounds const & | bounds () const |
virtual BoundCylinder * | computeSurface () |
virtual void | initialize () |
void | setSurface (BoundCylinder *cp) |
Private Attributes | |
ReferenceCountingPointer < BoundCylinder > | theCylinder |
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 barrel layers. Barrel layers are cylinders with their axes parallel to the global Z axis. The methods that have a common implementation for all BarrelDetLayers are implemented in this class, but some methods are left abstract.
Definition at line 23 of file BarrelDetLayer.h.
|
inline |
Definition at line 26 of file BarrelDetLayer.h.
|
virtual |
Definition at line 10 of file BarrelDetLayer.cc.
|
inlineprotected |
Definition at line 56 of file BarrelDetLayer.h.
References theCylinder.
|
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 74 of file BarrelDetLayer.cc.
References funct::abs(), TrajectoryStateOnSurface::cartesianError(), GlobalErrorBase< T, ErrorWeightType >::czz(), TrajectoryStateOnSurface::globalDirection(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::perp(), CartesianTrajectoryError::position(), Propagator::propagate(), mathSSE::sqrt(), unlikely, and PV3DBase< T, PVType, FrameType >::z().
|
protectedvirtual |
Definition at line 31 of file BarrelDetLayer.cc.
References Cylinder::computeRadius(), BoundingBox::corners(), F(), bookConverter::max, min(), alignCSCRings::r, makeMuonMisalignmentScenario::rot, and detailsBasic3DVector::z.
bool BarrelDetLayer::contains | ( | const Local3DPoint & | p | ) | const |
Definition at line 19 of file BarrelDetLayer.cc.
|
protectedvirtual |
Definition at line 23 of file BarrelDetLayer.cc.
Referenced by TBPLayer::construct(), MuRodBarrelLayer::MuRodBarrelLayer(), and TIBLayer::TIBLayer().
|
inlinevirtual |
DetLayer interface.
Implements DetLayer.
Definition at line 39 of file BarrelDetLayer.h.
References GeomDetEnumerators::barrel.
|
protected |
Definition at line 15 of file BarrelDetLayer.cc.
References CommonMethods::cp().
|
inlinevirtual |
Extension of the interface.
Definition at line 43 of file BarrelDetLayer.h.
References theCylinder.
Referenced by MuonNavigationSchool::addBarrelLayer(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugger::analyseRecHitNotFound(), DirectMuonNavigation::checkCompatible(), DirectTrackerNavigation::checkCompatible(), PixelHitMatcher::compatibleHits(), MuonShowerInformationFiller::crossingPoint(), MultipleScatteringGeometry::detLayers(), RectangularEtaPhiTrackingRegion::estimator(), HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius(), PixelTripletNoTipGenerator::hitTriplets(), InnerDeltaPhi::initBarrelLayer(), ThirdHitRZPredictionBase::initLayer(), ThirdHitPrediction::initLayer(), TkLayerLess::insideOutLess(), TkLayerLess::insideOutLessSigned(), SimpleNavigationSchool::linkNextForwardLayer(), OutInConversionSeedFinder::makeEstimator(), MSLayer::MSLayer(), MuonDetLayerComp::operator()(), ExtractBarrelDetLayerR::operator()(), MuonNavigationPrinter::printLayers(), TIBLayer::TIBLayer(), and SimpleNavigableLayer::wellInside().
|
inlinevirtual |
GeometricSearchDet interface.
Implements GeometricSearchDet.
Definition at line 32 of file BarrelDetLayer.h.
References theCylinder.
Referenced by TkLayerLess::barrelForwardLess(), RectangularEtaPhiTrackingRegion::estimator(), PixelTripletNoTipGenerator::hitTriplets(), ThirdHitRZPredictionBase::initLayer(), ThirdHitPrediction::initLayer(), SimpleNavigationSchool::linkNextForwardLayer(), MSLayer::MSLayer(), and ValidHitPairFilter::operator()().
|
private |
Definition at line 61 of file BarrelDetLayer.h.
Referenced by bounds(), specificSurface(), and surface().