DataFormats
Scouting
interface
ScoutingElectron.h
Go to the documentation of this file.
1
#ifndef DataFormats_ScoutingElectron_h
2
#define DataFormats_ScoutingElectron_h
3
4
#include <vector>
5
6
// Class for holding electron information, for use in data scouting
7
// IMPORTANT: the content of this class should be changed only in backwards compatible ways!
8
class
ScoutingElectron
{
9
public
:
10
//constructor with values for all data fields
11
ScoutingElectron
(
float
pt
,
12
float
eta
,
13
float
phi
,
14
float
m
,
15
float
d0
,
16
float
dz
,
17
float
dEtaIn
,
18
float
dPhiIn
,
19
float
sigmaIetaIeta
,
20
float
hOverE
,
21
float
ooEMOop
,
22
int
missingHits
,
23
int
charge
,
24
float
ecalIso
,
25
float
hcalIso
,
26
float
trackIso
)
27
:
pt_
(
pt
),
28
eta_
(
eta
),
29
phi_
(
phi
),
30
m_
(
m
),
31
d0_
(
d0
),
32
dz_
(
dz
),
33
dEtaIn_
(
dEtaIn
),
34
dPhiIn_
(
dPhiIn
),
35
sigmaIetaIeta_
(
sigmaIetaIeta
),
36
hOverE_
(
hOverE
),
37
ooEMOop_
(
ooEMOop
),
38
missingHits_
(
missingHits
),
39
charge_
(
charge
),
40
ecalIso_
(
ecalIso
),
41
hcalIso_
(
hcalIso
),
42
trackIso_
(
trackIso
) {}
43
//default constructor
44
ScoutingElectron
()
45
:
pt_
(0),
46
eta_
(0),
47
phi_
(0),
48
m_
(0),
49
d0_
(0),
50
dz_
(0),
51
dEtaIn_
(0),
52
dPhiIn_
(0),
53
sigmaIetaIeta_
(0),
54
hOverE_
(0),
55
ooEMOop_
(0),
56
missingHits_
(0),
57
charge_
(0),
58
ecalIso_
(0),
59
hcalIso_
(0),
60
trackIso_
(0) {}
61
62
//accessor functions
63
float
pt
()
const
{
return
pt_
; }
64
float
eta
()
const
{
return
eta_
; }
65
float
phi
()
const
{
return
phi_
; }
66
float
m
()
const
{
return
m_
; }
67
float
d0
()
const
{
return
d0_
; }
68
float
dz
()
const
{
return
dz_
; }
69
float
dEtaIn
()
const
{
return
dEtaIn_
; }
70
float
dPhiIn
()
const
{
return
dPhiIn_
; }
71
float
sigmaIetaIeta
()
const
{
return
sigmaIetaIeta_
; }
72
float
hOverE
()
const
{
return
hOverE_
; }
73
float
ooEMOop
()
const
{
return
ooEMOop_
; }
74
int
missingHits
()
const
{
return
missingHits_
; }
75
int
charge
()
const
{
return
charge_
; }
76
float
ecalIso
()
const
{
return
ecalIso_
; }
77
float
hcalIso
()
const
{
return
hcalIso_
; }
78
float
trackIso
()
const
{
return
trackIso_
; }
79
80
private
:
81
float
pt_
;
82
float
eta_
;
83
float
phi_
;
84
float
m_
;
85
float
d0_
;
86
float
dz_
;
87
float
dEtaIn_
;
88
float
dPhiIn_
;
89
float
sigmaIetaIeta_
;
90
float
hOverE_
;
91
float
ooEMOop_
;
92
int
missingHits_
;
93
int
charge_
;
94
float
ecalIso_
;
95
float
hcalIso_
;
96
float
trackIso_
;
97
};
98
99
typedef
std::vector<ScoutingElectron>
ScoutingElectronCollection
;
100
101
#endif
ScoutingElectron::missingHits
int missingHits() const
Definition:
ScoutingElectron.h:74
ScoutingElectron::hcalIso
float hcalIso() const
Definition:
ScoutingElectron.h:77
ScoutingElectron::hcalIso_
float hcalIso_
Definition:
ScoutingElectron.h:95
ScoutingElectron::sigmaIetaIeta
float sigmaIetaIeta() const
Definition:
ScoutingElectron.h:71
ScoutingElectron::missingHits_
int missingHits_
Definition:
ScoutingElectron.h:92
ScoutingElectron::d0_
float d0_
Definition:
ScoutingElectron.h:85
ScoutingElectron::charge_
int charge_
Definition:
ScoutingElectron.h:93
ScoutingElectron::ooEMOop
float ooEMOop() const
Definition:
ScoutingElectron.h:73
ScoutingElectron::pt
float pt() const
Definition:
ScoutingElectron.h:63
ScoutingElectron::dz
float dz() const
Definition:
ScoutingElectron.h:68
ScoutingElectron::dPhiIn
float dPhiIn() const
Definition:
ScoutingElectron.h:70
ScoutingElectron::d0
float d0() const
Definition:
ScoutingElectron.h:67
ScoutingElectron::ecalIso
float ecalIso() const
Definition:
ScoutingElectron.h:76
ScoutingElectron
Definition:
ScoutingElectron.h:8
ScoutingElectron::phi
float phi() const
Definition:
ScoutingElectron.h:65
ScoutingElectron::hOverE_
float hOverE_
Definition:
ScoutingElectron.h:90
ScoutingElectron::dz_
float dz_
Definition:
ScoutingElectron.h:86
ScoutingElectron::hOverE
float hOverE() const
Definition:
ScoutingElectron.h:72
ScoutingElectron::pt_
float pt_
Definition:
ScoutingElectron.h:81
ScoutingElectron::trackIso_
float trackIso_
Definition:
ScoutingElectron.h:96
ScoutingElectronCollection
std::vector< ScoutingElectron > ScoutingElectronCollection
Definition:
ScoutingElectron.h:99
ScoutingElectron::eta
float eta() const
Definition:
ScoutingElectron.h:64
ScoutingElectron::m_
float m_
Definition:
ScoutingElectron.h:84
ScoutingElectron::charge
int charge() const
Definition:
ScoutingElectron.h:75
ScoutingElectron::dPhiIn_
float dPhiIn_
Definition:
ScoutingElectron.h:88
ScoutingElectron::trackIso
float trackIso() const
Definition:
ScoutingElectron.h:78
ScoutingElectron::sigmaIetaIeta_
float sigmaIetaIeta_
Definition:
ScoutingElectron.h:89
ScoutingElectron::ScoutingElectron
ScoutingElectron(float pt, float eta, float phi, float m, float d0, float dz, float dEtaIn, float dPhiIn, float sigmaIetaIeta, float hOverE, float ooEMOop, int missingHits, int charge, float ecalIso, float hcalIso, float trackIso)
Definition:
ScoutingElectron.h:11
ScoutingElectron::ecalIso_
float ecalIso_
Definition:
ScoutingElectron.h:94
ScoutingElectron::m
float m() const
Definition:
ScoutingElectron.h:66
ScoutingElectron::dEtaIn
float dEtaIn() const
Definition:
ScoutingElectron.h:69
ScoutingElectron::dEtaIn_
float dEtaIn_
Definition:
ScoutingElectron.h:87
ScoutingElectron::eta_
float eta_
Definition:
ScoutingElectron.h:82
ScoutingElectron::ScoutingElectron
ScoutingElectron()
Definition:
ScoutingElectron.h:44
ScoutingElectron::ooEMOop_
float ooEMOop_
Definition:
ScoutingElectron.h:91
ScoutingElectron::phi_
float phi_
Definition:
ScoutingElectron.h:83
Generated for CMSSW Reference Manual by
1.8.14