DataFormats
SiStripCluster
interface
SiStripApproximateCluster.h
Go to the documentation of this file.
1
#ifndef DataFormats_SiStripCluster_SiStripApproximateCluster_h
2
#define DataFormats_SiStripCluster_SiStripApproximateCluster_h
3
4
#include "
FWCore/Utilities/interface/typedefs.h
"
5
6
class
SiStripCluster
;
7
class
SiStripApproximateCluster
{
8
public
:
9
SiStripApproximateCluster
() {}
10
11
explicit
SiStripApproximateCluster
(
cms_uint16_t
barycenter
,
12
cms_uint8_t
width
,
13
cms_uint8_t
avgCharge
,
14
bool
isSaturated
) {
15
barycenter_
=
barycenter
;
16
width_
=
width
;
17
avgCharge_
=
avgCharge
;
18
isSaturated_
=
isSaturated
;
19
}
20
21
explicit
SiStripApproximateCluster
(
const
SiStripCluster
& cluster,
unsigned
int
maxNSat
);
22
23
cms_uint16_t
barycenter
()
const
{
return
barycenter_
; }
24
cms_uint8_t
width
()
const
{
return
width_
; }
25
cms_uint8_t
avgCharge
()
const
{
return
avgCharge_
; }
26
bool
isSaturated
()
const
{
return
isSaturated_
; }
27
28
private
:
29
cms_uint16_t
barycenter_
= 0;
30
cms_uint8_t
width_
= 0;
31
cms_uint8_t
avgCharge_
= 0;
32
bool
isSaturated_
=
false
;
33
};
34
#endif // DataFormats_SiStripCluster_SiStripApproximateCluster_h
SiStripApproximateCluster::isSaturated_
bool isSaturated_
Definition:
SiStripApproximateCluster.h:32
SiStripApproximateCluster::width_
cms_uint8_t width_
Definition:
SiStripApproximateCluster.h:30
HLT_2022v15_cff.maxNSat
maxNSat
Definition:
HLT_2022v15_cff.py:1636
SiStripApproximateCluster::width
cms_uint8_t width() const
Definition:
SiStripApproximateCluster.h:24
SiStripApproximateCluster
Definition:
SiStripApproximateCluster.h:7
SiStripApproximateCluster::barycenter_
cms_uint16_t barycenter_
Definition:
SiStripApproximateCluster.h:29
SiStripApproximateCluster::avgCharge
cms_uint8_t avgCharge() const
Definition:
SiStripApproximateCluster.h:25
SiStripApproximateCluster::avgCharge_
cms_uint8_t avgCharge_
Definition:
SiStripApproximateCluster.h:31
cms_uint8_t
unsigned char cms_uint8_t
Definition:
typedefs.h:11
SiStripApproximateCluster::isSaturated
bool isSaturated() const
Definition:
SiStripApproximateCluster.h:26
SiStripCluster
Definition:
SiStripCluster.h:12
cms_uint16_t
unsigned short cms_uint16_t
Definition:
typedefs.h:13
SiStripApproximateCluster::SiStripApproximateCluster
SiStripApproximateCluster(cms_uint16_t barycenter, cms_uint8_t width, cms_uint8_t avgCharge, bool isSaturated)
Definition:
SiStripApproximateCluster.h:11
SiStripApproximateCluster::SiStripApproximateCluster
SiStripApproximateCluster()
Definition:
SiStripApproximateCluster.h:9
typedefs.h
SiStripApproximateCluster::barycenter
cms_uint16_t barycenter() const
Definition:
SiStripApproximateCluster.h:23
Generated for CMSSW Reference Manual by
1.8.14