CondFormats
HcalObjects
interface
HcalZSThreshold.h
Go to the documentation of this file.
1
#ifndef HcalZSThreshold_h
2
#define HcalZSThreshold_h
3
4
/*
5
\class HcalZSThreshold
6
\author Radek Ofierzynski
7
contains one threshold + corresponding DetId
8
*/
9
10
#include "
CondFormats/Serialization/interface/Serializable.h
"
11
#include <cstdint>
12
13
class
HcalZSThreshold
{
14
public
:
15
HcalZSThreshold
() :
mId
(0),
mLevel
(0) {}
16
HcalZSThreshold
(
unsigned
long
fid,
int
level
) :
mId
(fid),
mLevel
(
level
) {}
17
18
uint32_t
rawId
()
const
{
return
mId
; }
19
20
int
getValue
()
const
{
return
mLevel
; }
21
22
private
:
23
uint32_t
mId
;
24
int
mLevel
;
25
26
COND_SERIALIZABLE
;
27
};
28
29
#endif
HcalZSThreshold::mLevel
int mLevel
Definition:
HcalZSThreshold.h:24
HcalZSThreshold::rawId
uint32_t rawId() const
Definition:
HcalZSThreshold.h:18
HcalZSThreshold
Definition:
HcalZSThreshold.h:13
HcalZSThreshold::getValue
int getValue() const
Definition:
HcalZSThreshold.h:20
personalPlayback.level
level
Definition:
personalPlayback.py:22
HcalZSThreshold::HcalZSThreshold
HcalZSThreshold()
Definition:
HcalZSThreshold.h:15
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalZSThreshold::HcalZSThreshold
HcalZSThreshold(unsigned long fid, int level)
Definition:
HcalZSThreshold.h:16
HcalZSThreshold::mId
uint32_t mId
Definition:
HcalZSThreshold.h:23
Serializable.h
Generated for CMSSW Reference Manual by
1.8.14