test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
10
public
:
11
//constructor with values for all data fields
12
ScoutingElectron
(
float
pt
,
float
eta
,
float
phi
,
float
m
,
float
d0
,
float
dz
,
float
dEtaIn
,
13
float
dPhiIn
,
float
sigmaIetaIeta
,
float
hOverE
,
float
ooEMOop
,
14
int
missingHits
,
int
charge
,
float
ecalIso
,
float
hcalIso
,
float
trackIso
):
15
pt_
(pt),
eta_
(eta),
phi_
(phi),
m_
(m),
d0_
(d0),
dz_
(dz),
dEtaIn_
(dEtaIn),
16
dPhiIn_
(dPhiIn),
sigmaIetaIeta_
(sigmaIetaIeta),
hOverE_
(hOverE),
ooEMOop_
(ooEMOop),
17
missingHits_
(missingHits),
charge_
(charge),
ecalIso_
(ecalIso),
hcalIso_
(hcalIso),
18
trackIso_
(trackIso) {}
19
//default constructor
20
ScoutingElectron
():
pt_
(0),
eta_
(0),
phi_
(0),
m_
(0),
d0_
(0),
dz_
(0),
dEtaIn_
(0),
dPhiIn_
(0),
21
sigmaIetaIeta_
(0),
hOverE_
(0),
ooEMOop_
(0),
missingHits_
(0),
charge_
(0),
ecalIso_
(0),
22
hcalIso_
(0),
trackIso_
(0) {}
23
24
//accessor functions
25
float
pt
()
const
{
return
pt_
; }
26
float
eta
()
const
{
return
eta_
; }
27
float
phi
()
const
{
return
phi_
; }
28
float
m
()
const
{
return
m_
; }
29
float
d0
()
const
{
return
d0_
; }
30
float
dz
()
const
{
return
dz_
; }
31
float
dEtaIn
()
const
{
return
dEtaIn_
; }
32
float
dPhiIn
()
const
{
return
dPhiIn_
; }
33
float
sigmaIetaIeta
()
const
{
return
sigmaIetaIeta_
; }
34
float
hOverE
()
const
{
return
hOverE_
; }
35
float
ooEMOop
()
const
{
return
ooEMOop_
; }
36
int
missingHits
()
const
{
return
missingHits_
; }
37
int
charge
()
const
{
return
charge_
; }
38
float
ecalIso
()
const
{
return
ecalIso_
; }
39
float
hcalIso
()
const
{
return
hcalIso_
; }
40
float
trackIso
()
const
{
return
trackIso_
; }
41
42
private
:
43
float
pt_
;
44
float
eta_
;
45
float
phi_
;
46
float
m_
;
47
float
d0_
;
48
float
dz_
;
49
float
dEtaIn_
;
50
float
dPhiIn_
;
51
float
sigmaIetaIeta_
;
52
float
hOverE_
;
53
float
ooEMOop_
;
54
int
missingHits_
;
55
int
charge_
;
56
float
ecalIso_
;
57
float
hcalIso_
;
58
float
trackIso_
;
59
};
60
61
typedef
std::vector<ScoutingElectron>
ScoutingElectronCollection
;
62
63
#endif
ScoutingElectron::pt
float pt() const
Definition:
ScoutingElectron.h:25
ScoutingElectron::trackIso
float trackIso() const
Definition:
ScoutingElectron.h:40
ScoutingElectron::hcalIso_
float hcalIso_
Definition:
ScoutingElectron.h:57
ScoutingElectron::d0
float d0() const
Definition:
ScoutingElectron.h:29
ScoutingElectron::missingHits
int missingHits() const
Definition:
ScoutingElectron.h:36
ScoutingElectron::missingHits_
int missingHits_
Definition:
ScoutingElectron.h:54
ScoutingElectron::d0_
float d0_
Definition:
ScoutingElectron.h:47
ScoutingElectron::charge_
int charge_
Definition:
ScoutingElectron.h:55
ScoutingElectron::dPhiIn
float dPhiIn() const
Definition:
ScoutingElectron.h:32
ScoutingElectron::hcalIso
float hcalIso() const
Definition:
ScoutingElectron.h:39
ScoutingElectron
Definition:
ScoutingElectron.h:8
ScoutingElectron::hOverE_
float hOverE_
Definition:
ScoutingElectron.h:52
ScoutingElectron::dz_
float dz_
Definition:
ScoutingElectron.h:48
ScoutingElectron::eta
float eta() const
Definition:
ScoutingElectron.h:26
ScoutingElectron::pt_
float pt_
Definition:
ScoutingElectron.h:43
ScoutingElectron::trackIso_
float trackIso_
Definition:
ScoutingElectron.h:58
ScoutingElectronCollection
std::vector< ScoutingElectron > ScoutingElectronCollection
Definition:
ScoutingElectron.h:61
ScoutingElectron::ecalIso
float ecalIso() const
Definition:
ScoutingElectron.h:38
ScoutingElectron::ooEMOop
float ooEMOop() const
Definition:
ScoutingElectron.h:35
ScoutingElectron::charge
int charge() const
Definition:
ScoutingElectron.h:37
ScoutingElectron::m
float m() const
Definition:
ScoutingElectron.h:28
ScoutingElectron::m_
float m_
Definition:
ScoutingElectron.h:46
ScoutingElectron::dz
float dz() const
Definition:
ScoutingElectron.h:30
ScoutingElectron::dPhiIn_
float dPhiIn_
Definition:
ScoutingElectron.h:50
ScoutingElectron::phi
float phi() const
Definition:
ScoutingElectron.h:27
ScoutingElectron::sigmaIetaIeta_
float sigmaIetaIeta_
Definition:
ScoutingElectron.h:51
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:12
ScoutingElectron::ecalIso_
float ecalIso_
Definition:
ScoutingElectron.h:56
ScoutingElectron::dEtaIn
float dEtaIn() const
Definition:
ScoutingElectron.h:31
ScoutingElectron::hOverE
float hOverE() const
Definition:
ScoutingElectron.h:34
ScoutingElectron::dEtaIn_
float dEtaIn_
Definition:
ScoutingElectron.h:49
ScoutingElectron::eta_
float eta_
Definition:
ScoutingElectron.h:44
ScoutingElectron::ScoutingElectron
ScoutingElectron()
Definition:
ScoutingElectron.h:20
ScoutingElectron::ooEMOop_
float ooEMOop_
Definition:
ScoutingElectron.h:53
ScoutingElectron::sigmaIetaIeta
float sigmaIetaIeta() const
Definition:
ScoutingElectron.h:33
ScoutingElectron::phi_
float phi_
Definition:
ScoutingElectron.h:45
Generated for CMSSW Reference Manual by
1.8.5