1 #ifndef CloudMakerAlgorithm_h
2 #define CloudMakerAlgorithm_h
103 double d0,
double phi0,
double k0,
Roads::type roadType,
double ringPhi,
109 double d0,
double phi0,
double k0,
Roads::type roadType,
double ringPhi,
123 void makecircle(
double x1_cs,
double y1_cs,
double x2_cs,
double y2_cs,
124 double x3_cs,
double y3_cs);
129 double iPhi2,
double iZ2,
double oPhi2,
double oZ2);
131 double ZPhiDeltaPhi(
double phi1,
double phi2,
double phiExpect);
139 double k0,
double phi0);
unsigned int maxRecHitsInCloud_
bool isBarrelSensor(DetId id)
double map_phi2(double phi)
double maxFractionOfMissedLayersPerCloud
double scalefactorRoadSeedWindow_
SiStripMatchedRecHit2D * CorrectMatchedHit(const TrackingRecHit *originalRH, const GluedGeomDet *gluedDet, const TrackerGeometry *tracker, const SiStripRecHitMatcher *theHitMatcher, double k0, double phi0)
unsigned int FillRecHitsIntoCloud(DetId id, const SiStripRecHit2DCollection *inputRecHits, double d0, double phi0, double k0, Roads::type roadType, double ringPhi, const TrackerGeometry *tracker, RoadSearchCloud &cloud)
double theMinimumHalfRoad
double phiMax(Roads::type roadType, double phi0, double k0)
double minFractionOfUsedLayersPerCloud
RoadSearchCloudCollection Clean(RoadSearchCloudCollection *rawColl)
double maxFractionOfConsecutiveMissedLayersPerCloud
double map_phi(double phi)
void run(edm::Handle< RoadSearchSeedCollection > input, const SiStripRecHit2DCollection *rphiRecHits, const SiStripRecHit2DCollection *stereoRecHits, const SiStripMatchedRecHit2DCollection *matchedRecHits, const SiPixelRecHitCollection *pixRecHits, const edm::EventSetup &es, RoadSearchCloudCollection &output)
Runs the algorithm.
double CheckZPhiIntersection(double iPhi1, double iZ1, double oPhi1, double oZ1, double iPhi2, double iZ2, double oPhi2, double oZ2)
void makecircle(double x1_cs, double y1_cs, double x2_cs, double y2_cs, double x3_cs, double y3_cs)
unsigned int maxDetHitsInCloudPerDetId
double CheckXYIntersection(LocalPoint &ip1, LocalPoint &op1, LocalPoint &ip2, LocalPoint &op2)
double phiFromExtrapolation(double d0, double phi0, double k0, double ringRadius, Roads::type roadType)
double ZPhiDeltaPhi(double phi1, double phi2, double phiExpect)
std::ostringstream output_
bool isSingleLayer(DetId id)
RoadSearchCloudMakerAlgorithm(const edm::ParameterSet &conf)
const SiPixelRecHitCollection thePixRecHits
~RoadSearchCloudMakerAlgorithm()
unsigned int FillRecHitsIntoCloudGeneral(DetId id, double d0, double phi0, double k0, double phi1, double k1, Roads::type roadType, double ringPhi, const TrackerGeometry *tracker, const SiStripRecHitMatcher *theHitMatcher, RoadSearchCloud &cloud)
DetHitAccess recHitVectorClass
unsigned int FillPixRecHitsIntoCloud(DetId id, const SiPixelRecHitCollection *inputRecHits, double d0, double phi0, double k0, Roads::type roadType, double ringPhi, const TrackerGeometry *tracker, RoadSearchCloud &cloud)
unsigned int increaseMaxNumberOfConsecutiveMissedLayersPerCloud
unsigned int increaseMaxNumberOfMissedLayersPerCloud
std::vector< RoadSearchCloud > RoadSearchCloudCollection