Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
JetReco
interface
PattRecoPeak.h
Go to the documentation of this file.
1
12
#ifndef DataFormats_JetReco_PattRecoPeak_h
13
#define DataFormats_JetReco_PattRecoPeak_h
14
15
namespace
reco
{
16
template
<
class
Real>
17
class
PattRecoPeak
18
{
19
public
:
20
inline
PattRecoPeak
()
21
:
eta_
(0),
22
phi_
(0),
23
magnitude_
(0),
24
speed_
(-1),
25
magSpeed_
(-5),
26
lifetime_
(-1),
27
scale_
(-1),
28
nearestD_
(-1),
29
clusterRadius_
(-1),
30
clusterSeparation_
(-1)
31
{
32
hessian_
[0] = 0;
33
hessian_
[1] = 0;
34
hessian_
[2] = 0;
35
}
36
37
inline
PattRecoPeak
(
double
eta
,
double
phi
,
double
mag
,
38
const
double
hessianIn[3],
double
driftSpeed
,
39
double
magSpeed
,
double
lifetime
,
40
double
scale
,
double
nearestDistance,
41
double
clusterRadius
,
double
clusterSeparation
)
42
:
eta_
(eta),
43
phi_
(phi),
44
magnitude_
(mag),
45
speed_
(driftSpeed),
46
magSpeed_
(magSpeed),
47
lifetime_
(lifetime),
48
scale_
(scale),
49
nearestD_
(nearestDistance),
50
clusterRadius_
(clusterRadius),
51
clusterSeparation_
(clusterSeparation)
52
{
53
hessian_
[0] = hessianIn[0];
54
hessian_
[1] = hessianIn[1];
55
hessian_
[2] = hessianIn[2];
56
}
57
58
inline
Real
eta
()
const
{
return
eta_
;}
59
inline
Real
phi
()
const
{
return
phi_
;}
60
inline
Real
magnitude
()
const
{
return
magnitude_
;}
61
inline
Real
driftSpeed
()
const
{
return
speed_
;}
62
inline
Real
magSpeed
()
const
{
return
magSpeed_
;}
63
inline
Real
lifetime
()
const
{
return
lifetime_
;}
64
inline
Real
scale
()
const
{
return
scale_
;}
65
inline
Real
nearestNeighborDistance
()
const
{
return
nearestD_
;}
66
inline
Real
clusterRadius
()
const
{
return
clusterRadius_
;}
67
inline
Real
clusterSeparation
()
const
{
return
clusterSeparation_
;}
68
inline
void
hessian
(
double
hessianArray[3])
const
69
{
70
hessianArray[0] =
hessian_
[0];
71
hessianArray[1] =
hessian_
[1];
72
hessianArray[2] =
hessian_
[2];
73
}
74
75
private
:
76
Real
eta_
;
77
Real
phi_
;
78
Real
magnitude_
;
79
Real
speed_
;
80
Real
magSpeed_
;
81
Real
lifetime_
;
82
Real
scale_
;
83
Real
nearestD_
;
84
Real
clusterRadius_
;
85
Real
clusterSeparation_
;
86
Real
hessian_
[3];
87
};
88
}
89
90
#endif // DataFormats_JetReco_PattRecoPeak_h
reco::PattRecoPeak::scale
Real scale() const
Definition:
PattRecoPeak.h:64
reco::PattRecoPeak::PattRecoPeak
PattRecoPeak(double eta, double phi, double mag, const double hessianIn[3], double driftSpeed, double magSpeed, double lifetime, double scale, double nearestDistance, double clusterRadius, double clusterSeparation)
Definition:
PattRecoPeak.h:37
reco::PattRecoPeak::eta
Real eta() const
Definition:
PattRecoPeak.h:58
reco::PattRecoPeak::phi
Real phi() const
Definition:
PattRecoPeak.h:59
reco::PattRecoPeak
Preclusters from FFTJet pattern recognition stage.
Definition:
PattRecoPeak.h:17
mag
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition:
Basic3DVectorLD.h:149
reco::PattRecoPeak::clusterRadius_
Real clusterRadius_
Definition:
PattRecoPeak.h:84
reco::PattRecoPeak::driftSpeed
Real driftSpeed() const
Definition:
PattRecoPeak.h:61
reco::PattRecoPeak::nearestNeighborDistance
Real nearestNeighborDistance() const
Definition:
PattRecoPeak.h:65
reco::PattRecoPeak::lifetime_
Real lifetime_
Definition:
PattRecoPeak.h:81
reco::PattRecoPeak::lifetime
Real lifetime() const
Definition:
PattRecoPeak.h:63
reco::PattRecoPeak::eta_
Real eta_
Definition:
PattRecoPeak.h:76
reco::PattRecoPeak::speed_
Real speed_
Definition:
PattRecoPeak.h:79
L1Trigger_dataformats.reco
dictionary reco
Definition:
L1Trigger_dataformats.py:9
reco::PattRecoPeak::PattRecoPeak
PattRecoPeak()
Definition:
PattRecoPeak.h:20
reco::PattRecoPeak::clusterSeparation
Real clusterSeparation() const
Definition:
PattRecoPeak.h:67
reco::PattRecoPeak::phi_
Real phi_
Definition:
PattRecoPeak.h:77
reco::PattRecoPeak::nearestD_
Real nearestD_
Definition:
PattRecoPeak.h:83
reco::PattRecoPeak::magSpeed
Real magSpeed() const
Definition:
PattRecoPeak.h:62
reco::PattRecoPeak::clusterSeparation_
Real clusterSeparation_
Definition:
PattRecoPeak.h:85
reco::PattRecoPeak::magSpeed_
Real magSpeed_
Definition:
PattRecoPeak.h:80
fftjetcms::Real
double Real
Definition:
fftjetTypedefs.h:21
reco::PattRecoPeak::hessian_
Real hessian_[3]
Definition:
PattRecoPeak.h:86
reco::PattRecoPeak::clusterRadius
Real clusterRadius() const
Definition:
PattRecoPeak.h:66
reco::PattRecoPeak::magnitude_
Real magnitude_
Definition:
PattRecoPeak.h:78
reco::PattRecoPeak::magnitude
Real magnitude() const
Definition:
PattRecoPeak.h:60
reco::PattRecoPeak::hessian
void hessian(double hessianArray[3]) const
Definition:
PattRecoPeak.h:68
reco::PattRecoPeak::scale_
Real scale_
Definition:
PattRecoPeak.h:82
Generated for CMSSW Reference Manual by
1.8.5