#include <TBPLayer.h>
Public Types | |
typedef PeriodicBinFinderInPhi < float > | BinFinderType |
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 |
Public Member Functions | |
BoundCylinder * | cylinder (const std::vector< const GeometricSearchDet * > &rods) const __attribute__((cold)) |
TBPLayer (std::vector< const PixelRod * > &inner, std::vector< const PixelRod * > &outer) __attribute__((cold)) | |
TBPLayer (std::vector< const TOBRod * > &inner, std::vector< const TOBRod * > &outer) __attribute__((cold)) | |
TBPLayer (std::vector< const Phase2OTBarrelRod * > &inner, std::vector< const Phase2OTBarrelRod * > &outer) __attribute__((cold)) | |
~TBPLayer () __attribute__((cold)) | |
Public Member Functions inherited from TBLayer | |
virtual const std::vector < const GeomDet * > & | basicComponents () const final |
virtual const std::vector < const GeometricSearchDet * > & | components () const final __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)) |
virtual SubDetector | subDetector () const final |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
template<typename TDET > | |
TBLayer (std::vector< const TDET * > &inner, std::vector< const TDET * > &outer, GeomDetEnumerators::SubDetector ime) | |
~TBLayer () __attribute__((cold)) | |
Public Member Functions inherited from BarrelDetLayer | |
BarrelDetLayer (bool doHaveGroup) | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const final |
bool | contains (const Local3DPoint &p) const |
virtual Location | location () const final |
DetLayer interface. More... | |
virtual const BoundCylinder & | specificSurface () const final |
Extension of the interface. More... | |
virtual const BoundSurface & | surface () const final |
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 | ~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 Member Functions | |
std::tuple< bool, int, int > | computeIndexes (GlobalPoint gInnerPoint, GlobalPoint gOuterPoint) const __attribute__((hot)) |
float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot)) |
void | construct () __attribute__((cold)) |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const __attribute__((hot)) |
Static Private Member Functions | |
static float | calculatePhiWindow (float Xmax, const GeomDet &det, const TrajectoryStateOnSurface &state) __attribute__((hot)) |
Private Attributes | |
BinFinderType | theInnerBinFinder |
BinFinderType | theOuterBinFinder |
A concrete implementation for TOB layer or PixelBarrel layer or a Phase 2 OT Barrel layer as long as it is similar to the previous ones
Definition at line 16 of file TBPLayer.h.
typedef PeriodicBinFinderInPhi<float> TBPLayer::BinFinderType |
Definition at line 18 of file TBPLayer.h.
|
inline |
Definition at line 21 of file TBPLayer.h.
References construct().
|
inline |
Definition at line 25 of file TBPLayer.h.
References construct().
|
inline |
Definition at line 29 of file TBPLayer.h.
References construct().
TBPLayer::~TBPLayer | ( | ) |
Definition at line 85 of file TBPLayer.cc.
|
staticprivate |
|
privatevirtual |
Implements TBLayer.
Definition at line 99 of file TBPLayer.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), f, and Geom::ftwoPi().
|
privatevirtual |
Implements TBLayer.
Definition at line 117 of file TBPLayer.cc.
References barrelUtil::computeWindowSize().
|
private |
Definition at line 23 of file TBPLayer.cc.
References i, BarrelDetLayer::initialize(), and LogDebug.
Referenced by TBPLayer().
BoundCylinder * TBPLayer::cylinder | ( | const std::vector< const GeometricSearchDet * > & | rods | ) | const |
Definition at line 87 of file TBPLayer.cc.
References tmp.
Referenced by Phase2OTtiltedBarrelLayer::Phase2OTtiltedBarrelLayer().
|
privatevirtual |
Implements TBLayer.
Definition at line 126 of file TBPLayer.cc.
References Clusterizer1DCommons::add(), PV3DBase< T, PVType, FrameType >::barePhi(), PeriodicBinFinderInPhi< T >::binIndex(), SubLayerCrossing::closestDetIndex(), barrelUtil::overlap(), muon::overlap(), phi(), SubLayerCrossing::position(), and SubLayerCrossing::subLayerIndex().
|
private |
Definition at line 68 of file TBPLayer.h.
|
private |
Definition at line 69 of file TBPLayer.h.