#include <RPixPlaneCombinatoryTracking.h>
Public Member Functions | |
void | findTracks (int run) override |
void | initialize () override |
RPixPlaneCombinatoryTracking (edm::ParameterSet const ¶meterSet) | |
~RPixPlaneCombinatoryTracking () override | |
Public Member Functions inherited from RPixDetTrackFinder | |
void | clear () |
std::vector< CTPPSPixelLocalTrack > const & | getLocalTracks () const |
RPixDetTrackFinder (edm::ParameterSet const ¶meterSet) | |
void | setGeometry (const CTPPSGeometry *geometry) |
void | setHits (std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > *hitMap) |
void | setListOfPlanes (std::vector< uint32_t > listOfAllPlanes) |
void | setRomanPotId (CTPPSPixelDetId rpId) |
void | setZ0 (double z0) |
virtual | ~RPixDetTrackFinder () |
Private Types | |
typedef std::map< CTPPSPixelDetId, size_t > | HitReferences |
typedef std::vector< std::vector< uint32_t > > | PlaneCombinations |
typedef std::map< HitReferences, PointInPlaneList > | PointAndReferenceMap |
typedef std::pair< HitReferences, PointInPlaneList > | PointAndReferencePair |
typedef std::vector< RPixDetPatternFinder::PointInPlane > | PointInPlaneList |
Private Member Functions | |
bool | calculatePointOnDetector (CTPPSPixelLocalTrack *track, CTPPSPixelDetId planeId, GlobalPoint &planeLineIntercept) |
uint32_t | factorial (uint32_t x) const |
CTPPSPixelLocalTrack | fitTrack (PointInPlaneList pointList) |
void | getHitCombinations (const std::map< CTPPSPixelDetId, PointInPlaneList > &mapOfAllHits, std::map< CTPPSPixelDetId, PointInPlaneList >::iterator mapIterator, HitReferences tmpHitPlaneMap, const PointInPlaneList &tmpHitVector, PointAndReferenceMap &outputMap) |
void | getPlaneCombinations (const std::vector< uint32_t > &inputPlaneList, uint32_t numberToExtract, PlaneCombinations &planeCombinations) const |
std::vector< PointAndReferencePair > | orderCombinationsPerNumberOrPoints (PointAndReferenceMap inputMap) |
PointAndReferenceMap | produceAllHitCombination (PlaneCombinations inputPlaneCombination) |
Static Private Member Functions | |
static bool | functionForPlaneOrdering (PointAndReferencePair a, PointAndReferencePair b) |
Private Attributes | |
double | maximumChi2OverNDF_ |
double | maximumXLocalDistanceFromTrack_ |
double | maximumYLocalDistanceFromTrack_ |
PlaneCombinations | possiblePlaneCombinations_ |
uint32_t | trackMinNumberOfPoints_ |
int | verbosity_ |
Additional Inherited Members | |
Protected Attributes inherited from RPixDetTrackFinder | |
const CTPPSGeometry * | geometry_ |
std::map< CTPPSPixelDetId, std::vector< RPixDetPatternFinder::PointInPlane > > * | hitMap_ |
std::vector< uint32_t > | listOfAllPlanes_ |
std::vector< CTPPSPixelLocalTrack > | localTrackVector_ |
uint32_t | numberOfPlanesPerPot_ |
CTPPSPixelDetId | romanPotId_ |
double | z0_ |
Definition at line 24 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 34 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 32 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 35 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 36 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 33 of file RPixPlaneCombinatoryTracking.h.
RPixPlaneCombinatoryTracking::RPixPlaneCombinatoryTracking | ( | edm::ParameterSet const & | parameterSet | ) |
Definition at line 17 of file RPixPlaneCombinatoryTracking.cc.
References Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), maximumChi2OverNDF_, maximumXLocalDistanceFromTrack_, maximumYLocalDistanceFromTrack_, RPixDetTrackFinder::numberOfPlanesPerPot_, edm::parameterSet(), trackMinNumberOfPoints_, parallelization::uint, and verbosity_.
|
override |
Definition at line 35 of file RPixPlaneCombinatoryTracking.cc.
References possiblePlaneCombinations_.
|
private |
Definition at line 647 of file RPixPlaneCombinatoryTracking.cc.
References bTagMiniDQMDeepCSV::denominator, RPixDetTrackFinder::geometry_, CTPPSGeometry::localToGlobal(), DetGeomDesc::rotation(), CTPPSGeometry::sensor(), HLT_2024v14_cff::track, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by findTracks(), and fitTrack().
|
inlineprivate |
Definition at line 61 of file RPixPlaneCombinatoryTracking.h.
References x.
Referenced by initialize().
|
overridevirtual |
Implements RPixDetTrackFinder.
Definition at line 161 of file RPixPlaneCombinatoryTracking.cc.
References CTPPSPixelLocalTrack::addHit(), allShiftedPlanes, CTPPSDetId::arm(), calculatePointOnDetector(), CTPPSPixelLocalTrack::chiSquaredOverNDF(), HLT_2024v14_cff::distance, Exception, spr::find(), fitTrack(), RPixDetTrackFinder::geometry_, getPlaneCombinations(), CTPPSPixelIndices::getROCId(), RPixDetTrackFinder::hitMap_, CTPPSPixelLocalTrack::hits(), mps_fire::i, invalid, CTPPSPixelLocalTrack::isValid(), RPixDetTrackFinder::listOfAllPlanes_, RPixDetTrackFinder::localTrackVector_, maximumChi2OverNDF_, maximumXLocalDistanceFromTrack_, maximumYLocalDistanceFromTrack_, mixedPlanes, CTPPSPixelLocalTrack::ndf(), noShiftedPlanes, notShiftedRun, orderCombinationsPerNumberOrPoints(), point, possiblePlaneCombinations_, produceAllHitCombination(), RPixDetTrackFinder::romanPotId_, DetGeomDesc::rotation(), CTPPSGeometry::rpTranslation(), writedatasetfile::run, CTPPSGeometry::sensor(), CTPPSPixelFittedRecHit::setIsRealHit(), CTPPSPixelDetId::setPlane(), mathSSE::sqrt(), CTPPSDetId::station(), HLT_2024v14_cff::track, trackMinNumberOfPoints_, findQualityFiles::v, verbosity_, PV3DBase< T, PVType, FrameType >::x(), hit::x, PV3DBase< T, PVType, FrameType >::y(), hit::y, z, hit::z, and HLTMuonOfflineAnalyzer_cfi::z0.
|
private |
Definition at line 559 of file RPixPlaneCombinatoryTracking.cc.
References calculatePointOnDetector(), simKBmtfDigis_cfi::chiSquare, spr::goodTrack(), CTPPSPixelFittedRecHit::setIsUsedForFit(), CTPPSPixelLocalTrack::setValid(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and RPixDetTrackFinder::z0_.
Referenced by findTracks().
|
inlinestaticprivate |
Definition at line 56 of file RPixPlaneCombinatoryTracking.h.
Referenced by orderCombinationsPerNumberOrPoints().
|
private |
Definition at line 88 of file RPixPlaneCombinatoryTracking.cc.
References mps_fire::i.
Referenced by produceAllHitCombination().
|
private |
Definition at line 62 of file RPixPlaneCombinatoryTracking.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by findTracks(), and initialize().
|
overridevirtual |
Implements RPixDetTrackFinder.
Definition at line 39 of file RPixPlaneCombinatoryTracking.cc.
References factorial(), getPlaneCombinations(), RPixDetTrackFinder::listOfAllPlanes_, EgammaValidation_cff::num, RPixDetTrackFinder::numberOfPlanesPerPot_, possiblePlaneCombinations_, trackMinNumberOfPoints_, and verbosity_.
|
private |
Definition at line 696 of file RPixPlaneCombinatoryTracking.cc.
References functionForPlaneOrdering(), and jetUpdater_cfi::sort.
Referenced by findTracks().
|
private |
Definition at line 110 of file RPixPlaneCombinatoryTracking.cc.
References CTPPSDetId::arm(), Exception, getHitCombinations(), RPixDetTrackFinder::hitMap_, CTPPSPixelDetId::plane(), RPixDetTrackFinder::romanPotId_, CTPPSDetId::rp(), CTPPSPixelDetId::setPlane(), CTPPSDetId::station(), and verbosity_.
Referenced by findTracks().
|
private |
Definition at line 40 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), and RPixPlaneCombinatoryTracking().
|
private |
Definition at line 41 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), and RPixPlaneCombinatoryTracking().
|
private |
Definition at line 42 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), and RPixPlaneCombinatoryTracking().
|
private |
Definition at line 43 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), initialize(), and ~RPixPlaneCombinatoryTracking().
|
private |
Definition at line 39 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), initialize(), and RPixPlaneCombinatoryTracking().
|
private |
Definition at line 38 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), initialize(), produceAllHitCombination(), and RPixPlaneCombinatoryTracking().