Go to the documentation of this file.
9 #ifndef RecoPPS_Local_FastLineRecognition
10 #define RecoPPS_Local_FastLineRecognition
42 static const double sigma0;
74 Point(
unsigned int _d = 0,
const TotemRPRecHit *_hit =
nullptr,
double _h = 0.,
double _z = 0.,
double _w = 0.)
Reconstructed hit in TOTEM RP.
static const double sigma0
the uncertainty of 1-hit cluster, in mm
double chw_a
cluster half widths in a and b
static const std::string input
The manager class for TOTEM RP geometry.
const CTPPSGeometry * geometry
pointer to the geometry
void resetGeometry(const CTPPSGeometry *_g)
const TotemRPRecHit * hit
pointer to original reco hit
GeomData getGeomData(unsigned int id)
expects raw detector id
double threshold
weight threshold for accepting pattern candidates (clusters)
Point(unsigned int _d=0, const TotemRPRecHit *_hit=nullptr, double _h=0., double _z=0., double _w=0.)
bool operator<(const Cluster &c) const
FastLineRecognition(double cw_a=0., double cw_b=0.)
bool usable
whether the point can still be used
cluster of intersection points
unsigned int detId
raw detector id
double s
sensor's centre projected to its read-out direction
double z
z position of a sensor (wrt. IP)
std::vector< const Point * > contents
void add(const Point *p1, const Point *p2, double a, double b, double w)
std::map< unsigned int, GeomData > geometryMap
map: raw detector id --> GeomData
Class performing optimized hough transform to recognize lines.
void getPatterns(const edm::DetSetVector< TotemRPRecHit > &input, double _z0, double threshold, edm::DetSet< TotemRPUVPattern > &patterns)
double z
z position with respect to z0
double h
hit position in global coordinate system
bool getOneLine(const std::vector< Point > &points, double threshold, Cluster &result)