10 #ifndef RecoPPS_Local_RPixPlaneCombinatoryTracking_H
11 #define RecoPPS_Local_RPixPlaneCombinatoryTracking_H
46 uint32_t numberToExtract,
49 void getHitCombinations(
const std::map<CTPPSPixelDetId, PointInPlaneList> &mapOfAllHits,
50 std::map<CTPPSPixelDetId, PointInPlaneList>::iterator mapIterator,
57 return (a.second.size() > b.second.size());
64 return (x == 1 ? x : x *
factorial(x - 1));
~RPixPlaneCombinatoryTracking() override
double maximumYLocalDistanceFromTrack_
RPixPlaneCombinatoryTracking(edm::ParameterSet const ¶meterSet)
std::map< CTPPSPixelDetId, size_t > HitReferences
bool calculatePointOnDetector(CTPPSPixelLocalTrack *track, CTPPSPixelDetId planeId, GlobalPoint &planeLineIntercept)
std::vector< PointAndReferencePair > orderCombinationsPerNumberOrPoints(PointAndReferenceMap inputMap)
double maximumChi2OverNDF_
uint32_t factorial(uint32_t x) const
std::map< HitReferences, PointInPlaneList > PointAndReferenceMap
double maximumXLocalDistanceFromTrack_
void getHitCombinations(const std::map< CTPPSPixelDetId, PointInPlaneList > &mapOfAllHits, std::map< CTPPSPixelDetId, PointInPlaneList >::iterator mapIterator, HitReferences tmpHitPlaneMap, const PointInPlaneList &tmpHitVector, PointAndReferenceMap &outputMap)
CTPPSPixelLocalTrack fitTrack(PointInPlaneList pointList)
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
std::vector< RPixDetPatternFinder::PointInPlane > PointInPlaneList
void initialize() override
void findTracks(int run) override
uint32_t trackMinNumberOfPoints_
std::pair< HitReferences, PointInPlaneList > PointAndReferencePair
PointAndReferenceMap produceAllHitCombination(PlaneCombinations inputPlaneCombination)
static bool functionForPlaneOrdering(PointAndReferencePair a, PointAndReferencePair b)
PlaneCombinations possiblePlaneCombinations_
std::vector< std::vector< uint32_t > > PlaneCombinations
void getPlaneCombinations(const std::vector< uint32_t > &inputPlaneList, uint32_t numberToExtract, PlaneCombinations &planeCombinations) const