src
L1Trigger
L1THGCal
interface
backend
HGCalTriggerCell_SA.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1THGCal_HGCalTriggerCell_SA_h
2
#define L1Trigger_L1THGCal_HGCalTriggerCell_SA_h
3
4
#include <vector>
5
6
namespace
l1thgcfirmware
{
7
8
class
HGCalTriggerCell
{
9
public
:
10
HGCalTriggerCell
() =
default
;
11
12
HGCalTriggerCell
(
float
x
,
13
float
y
,
14
float
z
,
15
int
zside
,
16
unsigned
int
layer
,
17
float
eta
,
18
float
phi
,
19
float
pt
,
20
float
mipPt
,
21
unsigned
int
index_cmssw
)
22
:
x_
(
x
),
23
y_
(
y
),
24
z_
(
z
),
25
zside_
(
zside
),
26
layer_
(
layer
),
27
eta_
(
eta
),
28
phi_
(
phi
),
29
pt_
(
pt
),
30
mipPt_
(
mipPt
),
31
index_cmssw_
(
index_cmssw
) {}
32
33
~HGCalTriggerCell
() =
default
;
34
35
float
x
()
const
{
return
x_
; }
36
float
y
()
const
{
return
y_
; }
37
float
z
()
const
{
return
z_
; }
38
float
zside
()
const
{
return
zside_
; }
39
unsigned
int
layer
()
const
{
return
layer_
; }
40
float
eta
()
const
{
return
eta_
; }
41
float
phi
()
const
{
return
phi_
; }
42
float
pt
()
const
{
return
pt_
; }
43
float
mipPt
()
const
{
return
mipPt_
; }
44
unsigned
int
index_cmssw
()
const
{
return
index_cmssw_
; }
45
46
private
:
47
float
x_
;
48
float
y_
;
49
float
z_
;
50
int
zside_
;
51
unsigned
int
layer_
;
52
float
eta_
;
53
float
phi_
;
54
float
pt_
;
55
float
mipPt_
;
56
unsigned
int
index_cmssw_
;
57
};
58
59
typedef
std::vector<HGCalTriggerCell>
HGCalTriggerCellSACollection
;
60
61
}
// namespace l1thgcfirmware
62
63
#endif
l1thgcfirmware::HGCalTriggerCell::x_
float x_
Definition:
HGCalTriggerCell_SA.h:47
l1thgcfirmware::HGCalTriggerCell::x
float x() const
Definition:
HGCalTriggerCell_SA.h:35
l1thgcfirmware::HGCalTriggerCell
Definition:
HGCalTriggerCell_SA.h:8
l1thgcfirmware::HGCalTriggerCell::pt
float pt() const
Definition:
HGCalTriggerCell_SA.h:42
l1thgcfirmware::HGCalTriggerCell::y
float y() const
Definition:
HGCalTriggerCell_SA.h:36
l1thgcfirmware::HGCalTriggerCell::pt_
float pt_
Definition:
HGCalTriggerCell_SA.h:54
l1thgcfirmware::HGCalTriggerCell::layer_
unsigned int layer_
Definition:
HGCalTriggerCell_SA.h:51
l1thgcfirmware::HGCalTriggerCell::eta
float eta() const
Definition:
HGCalTriggerCell_SA.h:40
l1thgcfirmware::HGCalTriggerCell::phi
float phi() const
Definition:
HGCalTriggerCell_SA.h:41
l1thgcfirmware::HGCalTriggerCell::HGCalTriggerCell
HGCalTriggerCell(float x, float y, float z, int zside, unsigned int layer, float eta, float phi, float pt, float mipPt, unsigned int index_cmssw)
Definition:
HGCalTriggerCell_SA.h:12
l1thgcfirmware::HGCalTriggerCell::layer
unsigned int layer() const
Definition:
HGCalTriggerCell_SA.h:39
l1thgcfirmware::HGCalTriggerCell::mipPt_
float mipPt_
Definition:
HGCalTriggerCell_SA.h:55
l1thgcfirmware::HGCalTriggerCell::y_
float y_
Definition:
HGCalTriggerCell_SA.h:48
l1thgcfirmware::HGCalTriggerCell::index_cmssw_
unsigned int index_cmssw_
Definition:
HGCalTriggerCell_SA.h:56
l1thgcfirmware::HGCalTriggerCell::HGCalTriggerCell
HGCalTriggerCell()=default
l1thgcfirmware::HGCalTriggerCellSACollection
std::vector< HGCalTriggerCell > HGCalTriggerCellSACollection
Definition:
HGCalTriggerCell_SA.h:59
l1thgcfirmware::HGCalTriggerCell::phi_
float phi_
Definition:
HGCalTriggerCell_SA.h:53
l1thgcfirmware::HGCalTriggerCell::index_cmssw
unsigned int index_cmssw() const
Definition:
HGCalTriggerCell_SA.h:44
l1thgcfirmware::HGCalTriggerCell::eta_
float eta_
Definition:
HGCalTriggerCell_SA.h:52
l1thgcfirmware::HGCalTriggerCell::zside_
int zside_
Definition:
HGCalTriggerCell_SA.h:50
l1thgcfirmware
Definition:
HGCalCluster_SA.h:6
l1thgcfirmware::HGCalTriggerCell::zside
float zside() const
Definition:
HGCalTriggerCell_SA.h:38
l1thgcfirmware::HGCalTriggerCell::z_
float z_
Definition:
HGCalTriggerCell_SA.h:49
l1thgcfirmware::HGCalTriggerCell::~HGCalTriggerCell
~HGCalTriggerCell()=default
l1thgcfirmware::HGCalTriggerCell::mipPt
float mipPt() const
Definition:
HGCalTriggerCell_SA.h:43
l1thgcfirmware::HGCalTriggerCell::z
float z() const
Definition:
HGCalTriggerCell_SA.h:37
Generated for CMSSW Reference Manual by
1.8.14