test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
10
public
:
11
//constructor with values for all data fields
12
ScoutingPhoton
(
float
pt
,
float
eta
,
float
phi
,
float
m
,
float
sigmaIetaIeta
,
float
hOverE
,
13
float
ecalIso
,
float
hcalIso
):
14
pt_
(pt),
eta_
(eta),
phi_
(phi),
m_
(m),
sigmaIetaIeta_
(sigmaIetaIeta),
hOverE_
(hOverE),
15
ecalIso_
(ecalIso),
hcalIso_
(hcalIso) {}
16
//default constructor
17
ScoutingPhoton
():
pt_
(0),
eta_
(0),
phi_
(0),
m_
(0),
sigmaIetaIeta_
(0),
hOverE_
(0),
18
ecalIso_
(0),
hcalIso_
(0) {}
19
20
//accessor functions
21
float
pt
()
const
{
return
pt_
; }
22
float
eta
()
const
{
return
eta_
; }
23
float
phi
()
const
{
return
phi_
; }
24
float
m
()
const
{
return
m_
; }
25
float
sigmaIetaIeta
()
const
{
return
sigmaIetaIeta_
; }
26
float
hOverE
()
const
{
return
hOverE_
; }
27
float
ecalIso
()
const
{
return
ecalIso_
; }
28
float
hcalIso
()
const
{
return
hcalIso_
; }
29
30
private
:
31
float
pt_
;
32
float
eta_
;
33
float
phi_
;
34
float
m_
;
35
float
sigmaIetaIeta_
;
36
float
hOverE_
;
37
float
ecalIso_
;
38
float
hcalIso_
;
39
};
40
41
typedef
std::vector<ScoutingPhoton>
ScoutingPhotonCollection
;
42
43
#endif
ScoutingPhoton::eta_
float eta_
Definition:
ScoutingPhoton.h:32
ScoutingPhoton::phi_
float phi_
Definition:
ScoutingPhoton.h:33
ScoutingPhoton::hcalIso
float hcalIso() const
Definition:
ScoutingPhoton.h:28
ScoutingPhoton::phi
float phi() const
Definition:
ScoutingPhoton.h:23
ScoutingPhoton::m
float m() const
Definition:
ScoutingPhoton.h:24
ScoutingPhoton::eta
float eta() const
Definition:
ScoutingPhoton.h:22
ScoutingPhoton::pt_
float pt_
Definition:
ScoutingPhoton.h:31
ScoutingPhoton::hOverE
float hOverE() const
Definition:
ScoutingPhoton.h:26
ScoutingPhoton::pt
float pt() const
Definition:
ScoutingPhoton.h:21
ScoutingPhoton::hcalIso_
float hcalIso_
Definition:
ScoutingPhoton.h:38
ScoutingPhoton::sigmaIetaIeta
float sigmaIetaIeta() const
Definition:
ScoutingPhoton.h:25
ScoutingPhoton
Definition:
ScoutingPhoton.h:8
ScoutingPhoton::ScoutingPhoton
ScoutingPhoton(float pt, float eta, float phi, float m, float sigmaIetaIeta, float hOverE, float ecalIso, float hcalIso)
Definition:
ScoutingPhoton.h:12
ScoutingPhoton::ScoutingPhoton
ScoutingPhoton()
Definition:
ScoutingPhoton.h:17
ScoutingPhoton::hOverE_
float hOverE_
Definition:
ScoutingPhoton.h:36
ScoutingPhoton::m_
float m_
Definition:
ScoutingPhoton.h:34
ScoutingPhotonCollection
std::vector< ScoutingPhoton > ScoutingPhotonCollection
Definition:
ScoutingPhoton.h:41
ScoutingPhoton::ecalIso_
float ecalIso_
Definition:
ScoutingPhoton.h:37
ScoutingPhoton::sigmaIetaIeta_
float sigmaIetaIeta_
Definition:
ScoutingPhoton.h:35
ScoutingPhoton::ecalIso
float ecalIso() const
Definition:
ScoutingPhoton.h:27
Generated for CMSSW Reference Manual by
1.8.5