test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemRPUVPattern.cc
Go to the documentation of this file.
1 /****************************************************************************
2 *
3 * This is a part of TOTEM offline software.
4 * Authors:
5 * Jan Kašpar (jan.kaspar@gmail.com)
6 *
7 ****************************************************************************/
8 
10 
11 //----------------------------------------------------------------------------------------------------
12 
14 {
15  if (l.projection < r.projection)
16  return true;
17  if (l.projection > r.projection)
18  return false;
19 
20  if (l.a < r.a)
21  return true;
22  if (l.a > r.a)
23  return false;
24 
25  if (l.b < r.b)
26  return true;
27  if (l.b > r.b)
28  return false;
29 
30  if (l.w < r.w)
31  return true;
32  if (l.w > r.w)
33  return false;
34 
35  if (l.fittable < r.fittable)
36  return true;
37  if (l.fittable > r.fittable)
38  return false;
39 
40  return false;
41 }
ProjectionType projection
projection
bool fittable
whether this pattern is worth including in track fits
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
double a
slope in rad
double b
intercept in mm
A linear pattern in U or V projection. The intercept b is taken at the middle of a RP: (geometry-&gt;Get...
double w
weight