#include <MTDSectorForwardLayer.h>
Public Member Functions | |
const std::vector< const GeomDet * > & | basicComponents () const override |
std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override |
const std::vector< const GeometricSearchDet * > & | components () const override |
Returns basic components, if any. More... | |
std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override |
MTDSectorForwardLayer (const std::vector< const MTDDetSector * > §ors) | |
Constructor, takes ownership of pointers. More... | |
virtual const std::vector< const MTDDetSector * > & | sectors () const |
Return the vector of sectors. More... | |
SubDetector | subDetector () const override |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
~MTDSectorForwardLayer () override | |
Public Member Functions inherited from ForwardDetLayer | |
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) |
~DetLayer () override | |
Public Member Functions inherited from GeometricSearchDet | |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
GeometricSearchDet (bool doHaveGroups) | |
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 () |
Private Attributes | |
std::vector< const GeomDet * > | theBasicComps |
std::vector< const GeometricSearchDet * > | theComponents |
std::vector< const MTDDetSector * > | theSectors |
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 Member Functions inherited from ForwardDetLayer | |
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 |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
Definition at line 9 of file MTDSectorForwardLayer.h.
MTDSectorForwardLayer::MTDSectorForwardLayer | ( | const std::vector< const MTDDetSector * > & | sectors | ) |
Constructor, takes ownership of pointers.
Definition at line 18 of file MTDSectorForwardLayer.cc.
References basicComponents(), alignBH_cfg::fixed, LogTrace, SiStripPI::max, min(), makeMuonMisalignmentScenario::rot, sectors(), ForwardDetLayer::setSurface(), ForwardDetLayer::specificSurface(), theBasicComps, and theSectors.
|
override |
Definition at line 56 of file MTDSectorForwardLayer.cc.
References mps_fire::i, and theSectors.
|
inlineoverridevirtual |
Implements GeometricSearchDet.
Definition at line 18 of file MTDSectorForwardLayer.h.
References theBasicComps.
Referenced by MTDSectorForwardLayer(), and MTDSectorForwardDoubleLayer::selfTest().
|
overridevirtual |
Returns all Dets compatible with a trajectory state according to the estimator est. The startingState should be propagated to the surface of each compatible Det using the Propagator passed as an argument. The default implementation should be overridden in dets with specific surface types to avoid propagation to a generic Surface
Reimplemented from GeometricSearchDet.
Definition at line 62 of file MTDSectorForwardLayer.cc.
References ForwardDetLayer::compatible(), alignBH_cfg::fixed, TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::localError(), LogDebug, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), LocalTrajectoryError::positionError(), mps_fire::result, ForwardDetLayer::specificSurface(), mathSSE::sqrt(), theSectors, toLocal(), LocalError::xx(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by MTDSectorForwardDoubleLayer::groupedCompatibleDets().
|
overridevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 140 of file MTDSectorForwardLayer.cc.
References theComponents.
|
overridevirtual |
Similar to compatibleDets(), but the compatible Dets are grouped in one or more groups. Dets are put in the same group if they are mutually exclusive for track crossing, i.e. a reconstructible track cannot cross more than one Det from a group. Pathological tracks (spirals etc.) can of course violate this rule.
The DetGroups are sorted in the sequence of crossing by a track. In order to define the direction of crossing the Propagator used in this method should have a defined direction() : either "alongMomentum" or "oppositeToMomentum" but not "anyDirection".
The three signatures of this method differ by the input trajectory state arguments: the starting state can be a TrajectoryStateOnSurface or a FreeTrajectoryState, and the state on this CompositeDet may be already known or not. The last two arguments are as for the method compatibleDets().
First signature: The first argument is a TrajectoryStateOnSurface, usually not on the surface of this CompositeDet.
Reimplemented from GeometricSearchDet.
Definition at line 128 of file MTDSectorForwardLayer.cc.
|
inlinevirtual |
Return the vector of sectors.
Definition at line 36 of file MTDSectorForwardLayer.h.
References theSectors.
Referenced by MTDSectorForwardLayer().
|
overridevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 136 of file MTDSectorForwardLayer.cc.
References theBasicComps.
Referenced by MTDSectorForwardDoubleLayer::subDetector().
|
private |
Definition at line 41 of file MTDSectorForwardLayer.h.
Referenced by basicComponents(), MTDSectorForwardLayer(), and subDetector().
|
private |
Definition at line 40 of file MTDSectorForwardLayer.h.
Referenced by components().
|
private |
Definition at line 39 of file MTDSectorForwardLayer.h.
Referenced by compatibleDets(), MTDSectorForwardLayer(), sectors(), and ~MTDSectorForwardLayer().