Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
FP420Cluster
interface
TrackFP420.h
Go to the documentation of this file.
1
#ifndef TrackFP420_h
2
#define TrackFP420_h
3
4
#include <vector>
5
6
class
TrackFP420
{
7
public
:
8
9
TrackFP420
() :
ax_
(0),
bx_
(0),
chi2x_
(0),
nclusterx_
(0),
ay_
(0),
by_
(0),
chi2y_
(0),
nclustery_
(0) {}
10
11
TrackFP420
(
double
ax
,
double
bx
,
double
chi2x
,
int
nclusterx
,
double
ay
,
double
by
,
double
chi2y
,
int
nclustery
) :
ax_
(ax),
bx_
(bx),
chi2x_
(chi2x),
nclusterx_
(nclusterx),
ay_
(ay),
by_
(by),
chi2y_
(chi2y),
nclustery_
(nclustery) {}
12
13
// Access to track information
14
double
ax
()
const
{
return
ax_
;}
15
double
bx
()
const
{
return
bx_
;}
16
double
chi2x
()
const
{
return
chi2x_
;}
17
int
nclusterx
()
const
{
return
nclusterx_
;}
18
double
ay
()
const
{
return
ay_
;}
19
double
by
()
const
{
return
by_
;}
20
double
chi2y
()
const
{
return
chi2y_
;}
21
int
nclustery
()
const
{
return
nclustery_
;}
22
23
private
:
24
double
ax_
;
25
double
bx_
;
26
double
chi2x_
;
27
int
nclusterx_
;
28
double
ay_
;
29
double
by_
;
30
double
chi2y_
;
31
int
nclustery_
;
32
};
33
34
// Comparison operators
35
inline
bool
operator<
(
const
TrackFP420
& one,
const
TrackFP420
& other) {
36
return
( one.
nclusterx
() + one.
nclustery
() ) < ( other.
nclusterx
() + other.
nclustery
() );
37
}
38
#endif
TrackFP420::ay_
double ay_
Definition:
TrackFP420.h:28
TrackFP420::nclusterx
int nclusterx() const
Definition:
TrackFP420.h:17
TrackFP420::TrackFP420
TrackFP420(double ax, double bx, double chi2x, int nclusterx, double ay, double by, double chi2y, int nclustery)
Definition:
TrackFP420.h:11
TrackFP420::nclusterx_
int nclusterx_
Definition:
TrackFP420.h:27
TrackFP420::chi2x_
double chi2x_
Definition:
TrackFP420.h:26
TrackFP420::ax
double ax() const
Definition:
TrackFP420.h:14
TrackFP420::TrackFP420
TrackFP420()
Definition:
TrackFP420.h:9
TrackFP420::by
double by() const
Definition:
TrackFP420.h:19
TrackFP420::chi2x
double chi2x() const
Definition:
TrackFP420.h:16
TrackFP420::chi2y
double chi2y() const
Definition:
TrackFP420.h:20
TrackFP420::bx_
double bx_
Definition:
TrackFP420.h:25
operator<
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
Definition:
FedChannelConnection.cc:75
TrackFP420::ay
double ay() const
Definition:
TrackFP420.h:18
TrackFP420::bx
double bx() const
Definition:
TrackFP420.h:15
TrackFP420::chi2y_
double chi2y_
Definition:
TrackFP420.h:30
TrackFP420::ax_
double ax_
Definition:
TrackFP420.h:24
TrackFP420::nclustery_
int nclustery_
Definition:
TrackFP420.h:31
TrackFP420::by_
double by_
Definition:
TrackFP420.h:29
TrackFP420::nclustery
int nclustery() const
Definition:
TrackFP420.h:21
TrackFP420
Definition:
TrackFP420.h:6
Generated for CMSSW Reference Manual by
1.8.5