Classes | |
struct | RingPar |
Functions | |
float | calculatePhiWindow (const MeasurementEstimator::Local2DVector &imaxDistance, const TrajectoryStateOnSurface &ts, const Plane &plane) |
template<class T > | |
BoundDisk * | computeDisk (const std::vector< const T *> &structures) |
float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) |
float | computeYdirWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) |
RingPar | fillRingParametersFromDisk (const BoundDisk &ringDisk) |
std::array< int, 3 > | findThreeClosest (const std::vector< RingPar > &ringParams, const std::vector< GlobalPoint > &ringCrossing, const int ringSize) |
template<class T > | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result, const int ringSize, const std::vector< const T *> &diskComponents, const std::vector< RingPar > &ringParams) |
bool | overlapInPhi (float phi, const GeomDet &det, float phiWindow) |
bool | overlapInPhi (GlobalPoint crossPoint, const GeomDet &det, float phiWindow) |
bool | overlapInR (const TrajectoryStateOnSurface &tsos, int index, double ymax, const std::vector< RingPar > &ringParams) |
template<class T > | |
std::array< int, 3 > | ringIndicesByCrossingProximity (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const int ringSize, const T &diskComponents, const std::vector< RingPar > &ringParams) |
float tkDetUtil::calculatePhiWindow | ( | const MeasurementEstimator::Local2DVector & | imaxDistance, |
const TrajectoryStateOnSurface & | ts, | ||
const Plane & | plane | ||
) |
Definition at line 16 of file TkDetUtil.cc.
References funct::abs(), PV3DBase< T, PVType, FrameType >::barePhi(), f, mps_fire::i, LIKELY, TrajectoryStateOnSurface::localPosition(), M_PI, SiStripPI::max, particleFlowClusterHGC_cfi::maxDistance, SiStripPI::min, Plane::normalVector(), Geom::phiLess(), phimax, phimin, trackingPOGFilters_cfi::phiWindow, Geom::pi(), mathSSE::sqrt(), Surface::toGlobal(), tolerance, GloballyPositioned< T >::toLocal(), PV2DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeWindowSize().
Definition at line 236 of file TkDetUtil.h.
References mps_fire::i, SiStripPI::max, SiStripPI::min, makeMuonMisalignmentScenario::rot, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
Referenced by Phase2EndcapLayerDoubleDisk::computeDisk(), Phase2EndcapSubDisk::computeDisk(), Phase2EndcapLayer::computeDisk(), and TECLayer::TECLayer().
float tkDetUtil::computeWindowSize | ( | const GeomDet * | det, |
const TrajectoryStateOnSurface & | tsos, | ||
const MeasurementEstimator & | est | ||
) |
Definition at line 10 of file TkDetUtil.cc.
References calculatePhiWindow(), particleFlowClusterHGC_cfi::maxDistance, MeasurementEstimator::maximalLocalDisplacement(), and GeomDet::surface().
Referenced by TECLayer::groupedCompatibleDetsV(), TIDRing::groupedCompatibleDetsV(), CompositeTECWedge::groupedCompatibleDetsV(), Phase2EndcapSingleRing::groupedCompatibleDetsV(), and Phase2EndcapRing::groupedCompatibleDetsV().
float tkDetUtil::computeYdirWindowSize | ( | const GeomDet * | det, |
const TrajectoryStateOnSurface & | tsos, | ||
const MeasurementEstimator & | est | ||
) |
Definition at line 71 of file TkDetUtil.cc.
References particleFlowClusterHGC_cfi::maxDistance, MeasurementEstimator::maximalLocalDisplacement(), and GeomDet::surface().
Referenced by Phase2EndcapSubDisk::computeWindowSize(), Phase2EndcapLayer::computeWindowSize(), and groupedCompatibleDetsV().
Definition at line 124 of file TkDetUtil.cc.
References funct::abs(), tkDetUtil::RingPar::theRingR, tkDetUtil::RingPar::thetaRingMax, and tkDetUtil::RingPar::thetaRingMin.
Referenced by Phase2EndcapSubDisk::fillRingPars(), and Phase2EndcapLayer::fillRingPars().
std::array< int, 3 > tkDetUtil::findThreeClosest | ( | const std::vector< RingPar > & | ringParams, |
const std::vector< GlobalPoint > & | ringCrossing, | ||
const int | ringSize | ||
) |
Definition at line 79 of file TkDetUtil.cc.
References funct::abs(), mps_fire::i, perp(), and pfIsolationCalculator_cfi::ringSize.
Referenced by ringIndicesByCrossingProximity().
void tkDetUtil::groupedCompatibleDetsV | ( | const TrajectoryStateOnSurface & | startingState, |
const Propagator & | prop, | ||
const MeasurementEstimator & | est, | ||
std::vector< DetGroup > & | result, | ||
const int | ringSize, | ||
const std::vector< const T *> & | diskComponents, | ||
const std::vector< RingPar > & | ringParams | ||
) |
Definition at line 100 of file TkDetUtil.h.
References funct::abs(), DetGroupMerger::addSameLevel(), alongMomentum, computeYdirWindowSize(), ntuplemaker::fill, TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, eostools::move(), DetGroupMerger::orderAndMergeTwoLevels(), overlapInR(), position, Propagator::propagationDirection(), mps_fire::result, ringIndicesByCrossingProximity(), pfIsolationCalculator_cfi::ringSize, and PV3DBase< T, PVType, FrameType >::z().
Referenced by Phase2EndcapLayer::groupedCompatibleDetsV(), and Phase2EndcapSubDisk::groupedCompatibleDetsV().
|
inline |
Definition at line 32 of file TkDetUtil.h.
References Geom::phiLess(), Surface::phiSpan(), trackingPOGFilters_cfi::phiWindow, rangesIntersect(), GeomDet::surface(), and x.
Referenced by overlapInPhi(), CompositeTECWedge::searchNeighbors(), Phase2EndcapSingleRing::searchNeighbors(), TIDRing::searchNeighbors(), and Phase2EndcapRing::searchNeighbors().
|
inline |
Definition at line 37 of file TkDetUtil.h.
References PV3DBase< T, PVType, FrameType >::barePhi(), overlapInPhi(), and trackingPOGFilters_cfi::phiWindow.
bool tkDetUtil::overlapInR | ( | const TrajectoryStateOnSurface & | tsos, |
int | index, | ||
double | ymax, | ||
const std::vector< RingPar > & | ringParams | ||
) |
Definition at line 112 of file TkDetUtil.cc.
References funct::abs(), f, TrajectoryStateOnSurface::globalPosition(), SiStripPI::max, PV3DBase< T, PVType, FrameType >::perp(), L1TOccupancyClient_cfi::ymax, and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV(), Phase2EndcapSubDisk::overlapInR(), and Phase2EndcapLayer::overlapInR().
std::array<int, 3> tkDetUtil::ringIndicesByCrossingProximity | ( | const TrajectoryStateOnSurface & | startingState, |
const Propagator & | prop, | ||
const int | ringSize, | ||
const T & | diskComponents, | ||
const std::vector< RingPar > & | ringParams | ||
) |
Definition at line 60 of file TkDetUtil.h.
References findThreeClosest(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, Propagator::propagationDirection(), pfIsolationCalculator_cfi::ringSize, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV().