10 #ifndef RecoCTPPS_PixelLocal_RPixPlaneCombinatoryTracking_H 11 #define RecoCTPPS_PixelLocal_RPixPlaneCombinatoryTracking_H 46 void getPlaneCombinations(
const std::vector<uint32_t> &inputPlaneList, uint32_t numberToExtract, PlaneCombinations &planeCombinations)
const;
49 const std::map<CTPPSPixelDetId, PointInPlaneList > &mapOfAllHits,
50 std::map<CTPPSPixelDetId, PointInPlaneList >::iterator mapIterator,
51 HitReferences tmpHitPlaneMap,
52 const PointInPlaneList &tmpHitVector,
53 PointAndReferenceMap &outputMap);
57 PointAndReferencePair
a,
58 PointAndReferencePair
b) {
59 return (a.second.size() > b.second.size()); }
61 PointAndReferenceMap inputMap);
66 return (x == 1 ? x : x *
factorial(x - 1));
~RPixPlaneCombinatoryTracking() override
std::map< HitReferences, PointInPlaneList > PointAndReferenceMap
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
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)
std::vector< RPixDetPatternFinder::PointInPlane > PointInPlaneList
void initialize() override
void findTracks(int run) override
uint32_t trackMinNumberOfPoints_
PointAndReferenceMap produceAllHitCombination(PlaneCombinations inputPlaneCombination)
std::pair< HitReferences, PointInPlaneList > PointAndReferencePair
static bool functionForPlaneOrdering(PointAndReferencePair a, PointAndReferencePair b)
PlaneCombinations possiblePlaneCombinations_
std::vector< std::vector< uint32_t > > PlaneCombinations
ParameterSet const & parameterSet(Provenance const &provenance)
void getPlaneCombinations(const std::vector< uint32_t > &inputPlaneList, uint32_t numberToExtract, PlaneCombinations &planeCombinations) const