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
splitTime_
(-1),
31
mergeTime_
(-1)
32
{
33
hessian_
[0] = 0;
34
hessian_
[1] = 0;
35
hessian_
[2] = 0;
36
}
37
38
inline
PattRecoPeak
(
double
eta
,
double
phi
,
double
mag
,
39
const
double
hessianIn[3],
double
driftSpeed
,
40
double
magSpeed
,
double
lifetime
,
41
double
scale
,
double
nearestDistance,
42
double
clusterRadius
,
double
clusterSeparation
,
43
double
splitT,
double
mergeT)
44
:
eta_
(eta),
45
phi_
(phi),
46
magnitude_
(mag),
47
speed_
(driftSpeed),
48
magSpeed_
(magSpeed),
49
lifetime_
(lifetime),
50
scale_
(scale),
51
nearestD_
(nearestDistance),
52
clusterRadius_
(clusterRadius),
53
clusterSeparation_
(clusterSeparation),
54
splitTime_
(splitT),
55
mergeTime_
(mergeT)
56
{
57
hessian_
[0] = hessianIn[0];
58
hessian_
[1] = hessianIn[1];
59
hessian_
[2] = hessianIn[2];
60
}
61
62
inline
Real
eta
()
const
{
return
eta_
;}
63
inline
Real
phi
()
const
{
return
phi_
;}
64
inline
Real
magnitude
()
const
{
return
magnitude_
;}
65
inline
Real
driftSpeed
()
const
{
return
speed_
;}
66
inline
Real
magSpeed
()
const
{
return
magSpeed_
;}
67
inline
Real
lifetime
()
const
{
return
lifetime_
;}
68
inline
Real
splitTime
()
const
{
return
splitTime_
;}
69
inline
Real
mergeTime
()
const
{
return
mergeTime_
;}
70
inline
Real
scale
()
const
{
return
scale_
;}
71
inline
Real
nearestNeighborDistance
()
const
{
return
nearestD_
;}
72
inline
Real
clusterRadius
()
const
{
return
clusterRadius_
;}
73
inline
Real
clusterSeparation
()
const
{
return
clusterSeparation_
;}
74
inline
void
hessian
(
double
hessianArray[3])
const
75
{
76
hessianArray[0] =
hessian_
[0];
77
hessianArray[1] =
hessian_
[1];
78
hessianArray[2] =
hessian_
[2];
79
}
80
81
private
:
82
Real
eta_
;
83
Real
phi_
;
84
Real
magnitude_
;
85
Real
speed_
;
86
Real
magSpeed_
;
87
Real
lifetime_
;
88
Real
scale_
;
89
Real
nearestD_
;
90
Real
clusterRadius_
;
91
Real
clusterSeparation_
;
92
Real
hessian_
[3];
93
Real
splitTime_
;
94
Real
mergeTime_
;
95
};
96
}
97
98
#endif // DataFormats_JetReco_PattRecoPeak_h
reco::PattRecoPeak::scale
Real scale() const
Definition:
PattRecoPeak.h:70
reco::PattRecoPeak::eta
Real eta() const
Definition:
PattRecoPeak.h:62
reco::PattRecoPeak::phi
Real phi() const
Definition:
PattRecoPeak.h:63
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:147
reco::PattRecoPeak::clusterRadius_
Real clusterRadius_
Definition:
PattRecoPeak.h:90
reco::PattRecoPeak::mergeTime
Real mergeTime() const
Definition:
PattRecoPeak.h:69
reco::PattRecoPeak::driftSpeed
Real driftSpeed() const
Definition:
PattRecoPeak.h:65
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
reco::PattRecoPeak::nearestNeighborDistance
Real nearestNeighborDistance() const
Definition:
PattRecoPeak.h:71
reco::PattRecoPeak::lifetime_
Real lifetime_
Definition:
PattRecoPeak.h:87
reco::PattRecoPeak::lifetime
Real lifetime() const
Definition:
PattRecoPeak.h:67
reco::PattRecoPeak::eta_
Real eta_
Definition:
PattRecoPeak.h:82
reco::PattRecoPeak::speed_
Real speed_
Definition:
PattRecoPeak.h:85
reco::PattRecoPeak::splitTime
Real splitTime() const
Definition:
PattRecoPeak.h:68
reco::PattRecoPeak::PattRecoPeak
PattRecoPeak()
Definition:
PattRecoPeak.h:19
reco::PattRecoPeak::clusterSeparation
Real clusterSeparation() const
Definition:
PattRecoPeak.h:73
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, double splitT, double mergeT)
Definition:
PattRecoPeak.h:38
reco::PattRecoPeak::phi_
Real phi_
Definition:
PattRecoPeak.h:83
reco::PattRecoPeak::nearestD_
Real nearestD_
Definition:
PattRecoPeak.h:89
reco::PattRecoPeak::magSpeed
Real magSpeed() const
Definition:
PattRecoPeak.h:66
reco::PattRecoPeak::clusterSeparation_
Real clusterSeparation_
Definition:
PattRecoPeak.h:91
reco::PattRecoPeak::magSpeed_
Real magSpeed_
Definition:
PattRecoPeak.h:86
fftjetcms::Real
double Real
Definition:
fftjetTypedefs.h:21
reco::PattRecoPeak::splitTime_
Real splitTime_
Definition:
PattRecoPeak.h:93
reco::PattRecoPeak::hessian_
Real hessian_[3]
Definition:
PattRecoPeak.h:92
reco::PattRecoPeak::clusterRadius
Real clusterRadius() const
Definition:
PattRecoPeak.h:72
reco::PattRecoPeak::magnitude_
Real magnitude_
Definition:
PattRecoPeak.h:84
reco::PattRecoPeak::mergeTime_
Real mergeTime_
Definition:
PattRecoPeak.h:94
reco::PattRecoPeak::magnitude
Real magnitude() const
Definition:
PattRecoPeak.h:64
reco::PattRecoPeak::hessian
void hessian(double hessianArray[3]) const
Definition:
PattRecoPeak.h:74
reco::PattRecoPeak::scale_
Real scale_
Definition:
PattRecoPeak.h:88
Generated for CMSSW Reference Manual by
1.8.5