#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 35 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 33 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 36 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 37 of file RPixPlaneCombinatoryTracking.h.
|
private |
Definition at line 34 of file RPixPlaneCombinatoryTracking.h.
RPixPlaneCombinatoryTracking::RPixPlaneCombinatoryTracking | ( | edm::ParameterSet const & | parameterSet | ) |
Definition at line 16 of file RPixPlaneCombinatoryTracking.cc.
References Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), maximumChi2OverNDF_, maximumXLocalDistanceFromTrack_, maximumYLocalDistanceFromTrack_, RPixDetTrackFinder::numberOfPlanesPerPot_, trackMinNumberOfPoints_, parallelization::uint(), and verbosity_.
|
override |
Definition at line 35 of file RPixPlaneCombinatoryTracking.cc.
References possiblePlaneCombinations_.
|
private |
Definition at line 572 of file RPixPlaneCombinatoryTracking.cc.
References pfDeepCMVADiscriminatorsJetTags_cfi::denominator, RPixDetTrackFinder::geometry_, CTPPSPixelLocalTrack::getDirectionVector(), CTPPSPixelLocalTrack::getParameterVector(), CTPPSGeometry::getSensor(), CTPPSPixelLocalTrack::getZ0(), CTPPSGeometry::localToGlobal(), DetGeomDesc::rotation(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by findTracks(), and fitTrack().
|
inlineprivate |
Definition at line 64 of file RPixPlaneCombinatoryTracking.h.
Referenced by initialize().
|
overridevirtual |
Implements RPixDetTrackFinder.
Definition at line 163 of file RPixPlaneCombinatoryTracking.cc.
References CTPPSPixelLocalTrack::addHit(), allShiftedPlanes, CTPPSDetId::arm(), calculatePointOnDetector(), SoftLeptonByDistance_cfi::distance, Exception, spr::find(), fitTrack(), RPixDetTrackFinder::geometry_, CTPPSPixelLocalTrack::getChiSquaredOverNDF(), CTPPSPixelLocalTrack::getHits(), CTPPSPixelLocalTrack::getNDF(), getPlaneCombinations(), CTPPSPixelIndices::getROCId(), CTPPSGeometry::getSensor(), RPixDetTrackFinder::hitMap_, mps_fire::i, invalid, CTPPSPixelLocalTrack::isValid(), RPixDetTrackFinder::listOfAllPlanes_, RPixDetTrackFinder::localTrackVector_, maximumChi2OverNDF_, maximumXLocalDistanceFromTrack_, maximumYLocalDistanceFromTrack_, mixedPlanes, noShiftedPlanes, notShiftedRun, orderCombinationsPerNumberOrPoints(), point, possiblePlaneCombinations_, produceAllHitCombination(), RPixDetTrackFinder::romanPotId_, DetGeomDesc::rotation(), CTPPSPixelDetId::setPlane(), mathSSE::sqrt(), CTPPSDetId::station(), HiIsolationCommonParameters_cff::track, trackMinNumberOfPoints_, verbosity_, PV3DBase< T, PVType, FrameType >::x(), hit::x, PV3DBase< T, PVType, FrameType >::y(), and hit::y.
|
private |
Definition at line 481 of file RPixPlaneCombinatoryTracking.cc.
References CTPPSPixelLocalTrack::addHit(), calculatePointOnDetector(), 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.
References orderCombinationsPerNumberOrPoints().
Referenced by orderCombinationsPerNumberOrPoints().
|
private |
Definition at line 89 of file RPixPlaneCombinatoryTracking.cc.
References mps_fire::i.
Referenced by produceAllHitCombination().
|
private |
Definition at line 64 of file RPixPlaneCombinatoryTracking.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by findTracks(), and initialize().
|
overridevirtual |
Implements RPixDetTrackFinder.
Definition at line 41 of file RPixPlaneCombinatoryTracking.cc.
References factorial(), getPlaneCombinations(), RPixDetTrackFinder::listOfAllPlanes_, pileupDistInMC::num, RPixDetTrackFinder::numberOfPlanesPerPot_, possiblePlaneCombinations_, trackMinNumberOfPoints_, and verbosity_.
|
private |
Definition at line 616 of file RPixPlaneCombinatoryTracking.cc.
References functionForPlaneOrdering(), and jetUpdater_cfi::sort.
Referenced by findTracks(), and functionForPlaneOrdering().
|
private |
Definition at line 115 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 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(), and RPixPlaneCombinatoryTracking().
|
private |
Definition at line 44 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), initialize(), and ~RPixPlaneCombinatoryTracking().
|
private |
Definition at line 40 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), initialize(), and RPixPlaneCombinatoryTracking().
|
private |
Definition at line 39 of file RPixPlaneCombinatoryTracking.h.
Referenced by findTracks(), initialize(), produceAllHitCombination(), and RPixPlaneCombinatoryTracking().