test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
FP420Cluster
interface
RecoFP420.h
Go to the documentation of this file.
1
#ifndef RecoFP420_h
2
#define RecoFP420_h
3
4
#include <vector>
5
6
class
RecoFP420
{
7
public
:
8
9
RecoFP420
() :
e0_
(0),
x0_
(0),
y0_
(0),
tx0_
(0),
ty0_
(0),
q20_
(0),
direction_
(0) {}
10
11
RecoFP420
(
double
e0
,
double
x0
,
double
y0
,
double
tx0
,
double
ty0
,
double
q20
,
int
direction
) :
e0_
(e0),
x0_
(x0),
y0_
(y0),
tx0_
(tx0),
ty0_
(ty0),
q20_
(q20),
direction_
(direction) {}
12
13
// Access to track information
14
double
e0
()
const
{
return
e0_
;}
15
double
x0
()
const
{
return
x0_
;}
16
double
y0
()
const
{
return
y0_
;}
17
double
tx0
()
const
{
return
tx0_
;}
18
double
ty0
()
const
{
return
ty0_
;}
19
double
q20
()
const
{
return
q20_
;}
20
int
direction
()
const
{
return
direction_
;}
21
22
private
:
23
double
e0_
;
24
double
x0_
;
25
double
y0_
;
26
double
tx0_
;
27
double
ty0_
;
28
double
q20_
;
29
int
direction_
;
30
};
31
32
// Comparison operators
33
inline
bool
operator<
(
const
RecoFP420
& one,
const
RecoFP420
& other) {
34
return
( one.
e0
() ) < ( other.
e0
() );
35
// return ( one.x0() + one.y0() ) < ( other.x0() + other.y0() );
36
}
37
#endif
RecoFP420::ty0
double ty0() const
Definition:
RecoFP420.h:18
RecoFP420::RecoFP420
RecoFP420()
Definition:
RecoFP420.h:9
RecoFP420::e0_
double e0_
Definition:
RecoFP420.h:23
RecoFP420::tx0_
double tx0_
Definition:
RecoFP420.h:26
RecoFP420::q20
double q20() const
Definition:
RecoFP420.h:19
operator<
bool operator<(const FedChannelConnection &, const FedChannelConnection &)
Definition:
FedChannelConnection.cc:75
RecoFP420
Definition:
RecoFP420.h:6
RecoFP420::direction
int direction() const
Definition:
RecoFP420.h:20
RecoFP420::RecoFP420
RecoFP420(double e0, double x0, double y0, double tx0, double ty0, double q20, int direction)
Definition:
RecoFP420.h:11
RecoFP420::y0_
double y0_
Definition:
RecoFP420.h:25
RecoFP420::x0_
double x0_
Definition:
RecoFP420.h:24
RecoFP420::direction_
int direction_
Definition:
RecoFP420.h:29
RecoFP420::x0
double x0() const
Definition:
RecoFP420.h:15
RecoFP420::tx0
double tx0() const
Definition:
RecoFP420.h:17
RecoFP420::ty0_
double ty0_
Definition:
RecoFP420.h:27
RecoFP420::y0
double y0() const
Definition:
RecoFP420.h:16
RecoFP420::q20_
double q20_
Definition:
RecoFP420.h:28
RecoFP420::e0
double e0() const
Definition:
RecoFP420.h:14
Generated for CMSSW Reference Manual by
1.8.5