#include <PixelForwardLayer.h>
Classes | |
struct | SubTurbineCrossings |
Public Member Functions | |
virtual const std::vector< const GeomDet * > & | basicComponents () const |
virtual const std::vector< const GeometricSearchDet * > & | components () const __attribute__((cold)) |
Returns basic components, if any. More... | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot)) |
PixelForwardLayer (std::vector< const PixelBlade * > &blades) | |
virtual SubDetector | subDetector () const |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
~PixelForwardLayer () | |
Public Member Functions inherited from ForwardDetLayer | |
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 | ~DetLayer () |
Public Member Functions inherited from GeometricSearchDet | |
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 |
GeometricSearchDet (bool doHaveGroups) | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
bool | hasGroups () const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Private Types | |
typedef PeriodicBinFinderInPhi< float > | BinFinderType |
Private Member Functions | |
SubTurbineCrossings | computeCrossings (const TrajectoryStateOnSurface &startingState, PropagationDirection propDir) const __attribute__((hot)) |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubTurbineCrossings &crossings, float window, std::vector< DetGroup > &result) const __attribute__((hot)) |
Static Private Member Functions | |
static int | computeHelicity (const GeometricSearchDet *firstBlade, const GeometricSearchDet *secondBlade) |
static float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) |
Private Attributes | |
std::vector< const GeomDet * > | theBasicComps |
BinFinderType | theBinFinder |
std::vector< const GeometricSearchDet * > | theComps |
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 |
A concrete implementation for PixelForward layer built out of ForwardPixelBlade
Definition at line 15 of file PixelForwardLayer.h.
|
private |
Definition at line 66 of file PixelForwardLayer.h.
PixelForwardLayer::PixelForwardLayer | ( | std::vector< const PixelBlade * > & | blades | ) |
Definition at line 23 of file PixelForwardLayer.cc.
References ForwardDetLayer::computeSurface(), LogDebug, PV3DBase< T, PVType, FrameType >::phi(), GloballyPositioned< T >::position(), ForwardDetLayer::setSurface(), ForwardDetLayer::specificSurface(), ForwardDetLayer::surface(), theBasicComps, theBinFinder, theComps, and PV3DBase< T, PVType, FrameType >::z().
PixelForwardLayer::~PixelForwardLayer | ( | ) |
Definition at line 65 of file PixelForwardLayer.cc.
References mps_fire::i, and theComps.
|
inlinevirtual |
Implements GeometricSearchDet.
Definition at line 22 of file PixelForwardLayer.h.
References theBasicComps.
|
inlinevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 24 of file PixelForwardLayer.h.
References groupedCompatibleDetsV(), mps_fire::result, and theComps.
|
private |
Definition at line 182 of file PixelForwardLayer.cc.
References funct::abs(), PeriodicBinFinderInPhi< T >::binIndex(), HelixArbitraryPlaneCrossing::direction(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), HelixArbitraryPlaneCrossing::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), GloballyPositioned< T >::phi(), HelixArbitraryPlaneCrossing::position(), HelixArbitraryPlaneCrossing2Order::position(), rho, ForwardDetLayer::specificSurface(), ForwardDetLayer::surface(), theBinFinder, theComps, GloballyPositioned< T >::toLocal(), TrajectoryStateOnSurface::transverseCurvature(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by groupedCompatibleDetsV().
|
staticprivate |
Definition at line 176 of file PixelForwardLayer.cc.
References funct::abs(), GeometricSearchDet::position(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV(), searchNeighbors(), and subDetector().
|
staticprivate |
Definition at line 239 of file PixelForwardLayer.cc.
References MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), and x.
Referenced by groupedCompatibleDetsV().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 73 of file PixelForwardLayer.cc.
References Clusterizer1DCommons::add(), PeriodicBinFinderInPhi< T >::binIndex(), PixelForwardLayer::SubTurbineCrossings::closestIndex, computeCrossings(), computeHelicity(), computeWindowSize(), LayerCrossingSide::endcapSide(), PixelForwardLayer::SubTurbineCrossings::isValid, eostools::move(), PixelForwardLayer::SubTurbineCrossings::nextIndex, DetGroupMerger::orderAndMergeTwoLevels(), Propagator::propagationDirection(), mps_fire::result, searchNeighbors(), theBinFinder, theComps, and svgfig::window().
Referenced by components().
|
private |
Definition at line 131 of file PixelForwardLayer.cc.
References Clusterizer1DCommons::add(), PeriodicBinFinderInPhi< T >::binIndex(), PixelForwardLayer::SubTurbineCrossings::closestIndex, computeHelicity(), LayerCrossingSide::endcapSide(), hpstanc_transforms::max, trackerDrivenElectronSeeds_cff::Merger, min(), eostools::move(), neighbor(), PixelForwardLayer::SubTurbineCrossings::nextIndex, theBinFinder, and theComps.
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 32 of file PixelForwardLayer.h.
References computeHelicity(), GeomDetEnumerators::PixelEndcap, and GeomDetEnumerators::subDetGeom.
|
private |
Definition at line 70 of file PixelForwardLayer.h.
Referenced by basicComponents(), and PixelForwardLayer().
|
private |
Definition at line 67 of file PixelForwardLayer.h.
Referenced by computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayer(), and searchNeighbors().
|
private |
Definition at line 69 of file PixelForwardLayer.h.
Referenced by components(), computeCrossings(), groupedCompatibleDetsV(), PixelForwardLayer(), searchNeighbors(), and ~PixelForwardLayer().