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