src
CondFormats
HcalObjects
interface
HcalTPChannelParameter.h
Go to the documentation of this file.
1
#ifndef CondFormatsHcalObjectsHcalTPChannelParameter_h
2
#define CondFormatsHcalObjectsHcalTPChannelParameter_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
#include <cstdint>
6
7
class
HcalTPChannelParameter
{
8
public
:
10
uint32_t
getMask
()
const
{
return
mask_
; }
12
uint32_t
getFGBitInfo
()
const
{
return
fgBitInfo_
; }
14
uint32_t
rawId
()
const
{
return
id_
; }
15
int
getauxi1
()
const
{
return
auxi1_
; }
16
int
getauxi2
()
const
{
return
auxi2_
; }
17
18
// functions below are not supposed to be used by consumer applications
19
20
HcalTPChannelParameter
() :
id_
(0),
mask_
(0),
fgBitInfo_
(0),
auxi1_
(0),
auxi2_
(0) {}
21
22
HcalTPChannelParameter
(uint32_t fId, uint32_t
mask
, uint32_t bitInfo,
int
auxi1 = 0,
int
auxi2 = 0)
23
:
id_
(fId),
mask_
(
mask
),
fgBitInfo_
(bitInfo),
auxi1_
(auxi1),
auxi2_
(auxi2) {}
24
25
private
:
26
uint32_t
id_
;
27
uint32_t
mask_
;
28
uint32_t
fgBitInfo_
;
29
int
auxi1_
;
30
int
auxi2_
;
31
32
COND_SERIALIZABLE
;
33
};
34
35
#endif
HcalTPChannelParameter::HcalTPChannelParameter
HcalTPChannelParameter()
Definition:
HcalTPChannelParameter.h:20
HcalTPChannelParameter::getMask
uint32_t getMask() const
get mask for channel validity and self trigger information
Definition:
HcalTPChannelParameter.h:10
HcalTPChannelParameter::rawId
uint32_t rawId() const
get Detector ID
Definition:
HcalTPChannelParameter.h:14
HcalTPChannelParameter::fgBitInfo_
uint32_t fgBitInfo_
Definition:
HcalTPChannelParameter.h:28
HcalTPChannelParameter::getauxi2
int getauxi2() const
Definition:
HcalTPChannelParameter.h:16
HcalTPChannelParameter::getauxi1
int getauxi1() const
Definition:
HcalTPChannelParameter.h:15
HcalTPChannelParameter
Definition:
HcalTPChannelParameter.h:7
HcalTPChannelParameter::HcalTPChannelParameter
HcalTPChannelParameter(uint32_t fId, uint32_t mask, uint32_t bitInfo, int auxi1=0, int auxi2=0)
Definition:
HcalTPChannelParameter.h:22
HcalTPChannelParameter::auxi2_
int auxi2_
Definition:
HcalTPChannelParameter.h:30
gpuClustering::pixelStatus::mask
constexpr uint32_t mask
Definition:
gpuClustering.h:26
HcalTPChannelParameter::id_
uint32_t id_
Definition:
HcalTPChannelParameter.h:26
HcalTPChannelParameter::mask_
uint32_t mask_
Definition:
HcalTPChannelParameter.h:27
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalTPChannelParameter::getFGBitInfo
uint32_t getFGBitInfo() const
get FG bit information
Definition:
HcalTPChannelParameter.h:12
Serializable.h
HcalTPChannelParameter::auxi1_
int auxi1_
Definition:
HcalTPChannelParameter.h:29
Generated for CMSSW Reference Manual by
1.8.14