src
CondFormats
HcalObjects
interface
HcalSiPMParameter.h
Go to the documentation of this file.
1
#ifndef CondFormatsHcalObjectsHcalSiPMParameter_h
2
#define CondFormatsHcalObjectsHcalSiPMParameter_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
#include <cstdint>
6
7
class
HcalSiPMParameter
{
8
public
:
10
int
getType
()
const
{
return
type_
; }
12
float
getFCByPE
()
const
{
return
fcByPE_
; }
14
float
getDarkCurrent
()
const
{
return
darkCurrent_
; }
15
16
// functions below are not supposed to be used by consumer applications
17
18
HcalSiPMParameter
() :
id_
(0),
type_
(0),
fcByPE_
(0),
darkCurrent_
(0),
auxi1_
(0),
auxi2_
(0) {}
19
20
HcalSiPMParameter
(
unsigned
long
fId,
int
type
,
float
fcByPE,
float
darkCurrent
,
int
auxi1 = 0,
float
auxi2 = 0)
21
:
id_
(fId),
type_
(
type
),
fcByPE_
(fcByPE),
darkCurrent_
(
darkCurrent
),
auxi1_
(auxi1),
auxi2_
(auxi2) {}
22
23
uint32_t
rawId
()
const
{
return
id_
; }
24
int
getauxi1
()
const
{
return
auxi1_
; }
25
float
getauxi2
()
const
{
return
auxi2_
; }
26
27
private
:
28
uint32_t
id_
;
29
int
type_
;
30
float
fcByPE_
;
31
float
darkCurrent_
;
32
int
auxi1_
;
33
float
auxi2_
;
34
35
COND_SERIALIZABLE
;
36
};
37
38
#endif
HcalSiPMParameter::auxi1_
int auxi1_
Definition:
HcalSiPMParameter.h:32
HcalSiPMParameter::rawId
uint32_t rawId() const
Definition:
HcalSiPMParameter.h:23
HcalSiPMParameter::auxi2_
float auxi2_
Definition:
HcalSiPMParameter.h:33
Hcal_Conditions_forGlobalTag_cff.darkCurrent
darkCurrent
Definition:
Hcal_Conditions_forGlobalTag_cff.py:49
HcalSiPMParameter::getFCByPE
float getFCByPE() const
get fcByPE
Definition:
HcalSiPMParameter.h:12
HcalSiPMParameter::getDarkCurrent
float getDarkCurrent() const
get dark current
Definition:
HcalSiPMParameter.h:14
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
HcalSiPMParameter::type_
int type_
Definition:
HcalSiPMParameter.h:29
HcalSiPMParameter
Definition:
HcalSiPMParameter.h:7
HcalSiPMParameter::fcByPE_
float fcByPE_
Definition:
HcalSiPMParameter.h:30
HcalSiPMParameter::darkCurrent_
float darkCurrent_
Definition:
HcalSiPMParameter.h:31
HcalSiPMParameter::HcalSiPMParameter
HcalSiPMParameter()
Definition:
HcalSiPMParameter.h:18
HcalSiPMParameter::id_
uint32_t id_
Definition:
HcalSiPMParameter.h:28
HcalSiPMParameter::getauxi2
float getauxi2() const
Definition:
HcalSiPMParameter.h:25
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
HcalSiPMParameter::getauxi1
int getauxi1() const
Definition:
HcalSiPMParameter.h:24
HcalSiPMParameter::getType
int getType() const
get SiPM type
Definition:
HcalSiPMParameter.h:10
Serializable.h
HcalSiPMParameter::HcalSiPMParameter
HcalSiPMParameter(unsigned long fId, int type, float fcByPE, float darkCurrent, int auxi1=0, float auxi2=0)
Definition:
HcalSiPMParameter.h:20
Generated for CMSSW Reference Manual by
1.8.14