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