Main Page
Namespaces
Classes
Package Documentation
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
12
#include <boost/cstdint.hpp>
13
14
class
HcalZSThreshold
15
{
16
public
:
17
HcalZSThreshold
():
mId
(0),
mLevel
(0) {}
18
HcalZSThreshold
(
unsigned
long
fid,
int
level
):
mId
(fid),
mLevel
(level) {}
19
20
uint32_t
rawId
()
const
{
return
mId
;}
21
22
int
getValue
()
const
{
return
mLevel
;}
23
24
private
:
25
uint32_t
mId
;
26
int
mLevel
;
27
28
COND_SERIALIZABLE
;
29
};
30
31
#endif
hcalDigis_cfi.level
level
Definition:
hcalDigis_cfi.py:18
HcalZSThreshold::mLevel
int mLevel
Definition:
HcalZSThreshold.h:26
HcalZSThreshold
Definition:
HcalZSThreshold.h:14
HcalZSThreshold::HcalZSThreshold
HcalZSThreshold()
Definition:
HcalZSThreshold.h:17
HcalZSThreshold::getValue
int getValue() const
Definition:
HcalZSThreshold.h:22
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
HcalZSThreshold::HcalZSThreshold
HcalZSThreshold(unsigned long fid, int level)
Definition:
HcalZSThreshold.h:18
HcalZSThreshold::mId
uint32_t mId
Definition:
HcalZSThreshold.h:25
Serializable.h
HcalZSThreshold::rawId
uint32_t rawId() const
Definition:
HcalZSThreshold.h:20
Generated for CMSSW Reference Manual by
1.8.11