DataFormats
Scouting
interface
ScoutingPhoton.h
Go to the documentation of this file.
1
#ifndef DataFormats_ScoutingPhoton_h
2
#define DataFormats_ScoutingPhoton_h
3
4
#include <vector>
5
6
// Class for holding photon information, for use in data scouting
7
// IMPORTANT: the content of this class should be changed only in backwards compatible ways!
8
class
ScoutingPhoton
{
9
public
:
10
//constructor with values for all data fields
11
ScoutingPhoton
(
12
float
pt
,
float
eta
,
float
phi
,
float
m
,
float
sigmaIetaIeta
,
float
hOverE
,
float
ecalIso
,
float
hcalIso
)
13
:
pt_
(
pt
),
14
eta_
(
eta
),
15
phi_
(
phi
),
16
m_
(
m
),
17
sigmaIetaIeta_
(
sigmaIetaIeta
),
18
hOverE_
(
hOverE
),
19
ecalIso_
(
ecalIso
),
20
hcalIso_
(
hcalIso
) {}
21
//default constructor
22
ScoutingPhoton
() :
pt_
(0),
eta_
(0),
phi_
(0),
m_
(0),
sigmaIetaIeta_
(0),
hOverE_
(0),
ecalIso_
(0),
hcalIso_
(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
sigmaIetaIeta
()
const
{
return
sigmaIetaIeta_
; }
30
float
hOverE
()
const
{
return
hOverE_
; }
31
float
ecalIso
()
const
{
return
ecalIso_
; }
32
float
hcalIso
()
const
{
return
hcalIso_
; }
33
34
private
:
35
float
pt_
;
36
float
eta_
;
37
float
phi_
;
38
float
m_
;
39
float
sigmaIetaIeta_
;
40
float
hOverE_
;
41
float
ecalIso_
;
42
float
hcalIso_
;
43
};
44
45
typedef
std::vector<ScoutingPhoton>
ScoutingPhotonCollection
;
46
47
#endif
ScoutingPhoton::ecalIso_
float ecalIso_
Definition:
ScoutingPhoton.h:41
ScoutingPhoton::sigmaIetaIeta_
float sigmaIetaIeta_
Definition:
ScoutingPhoton.h:39
ScoutingPhoton::ScoutingPhoton
ScoutingPhoton()
Definition:
ScoutingPhoton.h:22
ScoutingPhoton::eta_
float eta_
Definition:
ScoutingPhoton.h:36
ScoutingPhoton::hcalIso_
float hcalIso_
Definition:
ScoutingPhoton.h:42
ScoutingPhoton::phi
float phi() const
Definition:
ScoutingPhoton.h:27
ScoutingPhoton
Definition:
ScoutingPhoton.h:8
ScoutingPhoton::m_
float m_
Definition:
ScoutingPhoton.h:38
ScoutingPhotonCollection
std::vector< ScoutingPhoton > ScoutingPhotonCollection
Definition:
ScoutingPhoton.h:45
ScoutingPhoton::phi_
float phi_
Definition:
ScoutingPhoton.h:37
ScoutingPhoton::ScoutingPhoton
ScoutingPhoton(float pt, float eta, float phi, float m, float sigmaIetaIeta, float hOverE, float ecalIso, float hcalIso)
Definition:
ScoutingPhoton.h:11
ScoutingPhoton::eta
float eta() const
Definition:
ScoutingPhoton.h:26
ScoutingPhoton::hOverE
float hOverE() const
Definition:
ScoutingPhoton.h:30
ScoutingPhoton::hOverE_
float hOverE_
Definition:
ScoutingPhoton.h:40
ScoutingPhoton::pt_
float pt_
Definition:
ScoutingPhoton.h:35
ScoutingPhoton::m
float m() const
Definition:
ScoutingPhoton.h:28
ScoutingPhoton::pt
float pt() const
Definition:
ScoutingPhoton.h:25
ScoutingPhoton::sigmaIetaIeta
float sigmaIetaIeta() const
Definition:
ScoutingPhoton.h:29
ScoutingPhoton::hcalIso
float hcalIso() const
Definition:
ScoutingPhoton.h:32
ScoutingPhoton::ecalIso
float ecalIso() const
Definition:
ScoutingPhoton.h:31
Generated for CMSSW Reference Manual by
1.8.16