Main Page
Namespaces
Classes
Package Documentation
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 <boost/cstdint.hpp>
6
7
class
HcalSiPMParameter
{
8
9
public
:
11
int
getType
()
const
{
return
type_
;}
13
float
getFCByPE
()
const
{
return
fcByPE_
;}
15
float
getDarkCurrent
()
const
{
return
darkCurrent_
;}
16
17
// functions below are not supposed to be used by consumer applications
18
19
HcalSiPMParameter
() :
id_
(0),
type_
(0),
fcByPE_
(0),
darkCurrent_
(0),
20
auxi1_
(0),
auxi2_
(0) {}
21
22
HcalSiPMParameter
(
unsigned
long
fId,
int
type
,
float
fcByPE,
23
float
darkCurrent,
int
auxi1=0,
float
auxi2=0) :
24
id_
(fId),
type_
(type),
fcByPE_
(fcByPE),
darkCurrent_
(darkCurrent),
25
auxi1_
(auxi1),
auxi2_
(auxi2) {}
26
27
uint32_t
rawId
()
const
{
return
id_
;}
28
int
getauxi1
()
const
{
return
auxi1_
;}
29
float
getauxi2
()
const
{
return
auxi2_
;}
30
31
private
:
32
uint32_t
id_
;
33
int
type_
;
34
float
fcByPE_
;
35
float
darkCurrent_
;
36
int
auxi1_
;
37
float
auxi2_
;
38
39
COND_SERIALIZABLE
;
40
};
41
42
#endif
type
type
Definition:
HCALResponse.h:21
HcalSiPMParameter::auxi1_
int auxi1_
Definition:
HcalSiPMParameter.h:36
HcalSiPMParameter::auxi2_
float auxi2_
Definition:
HcalSiPMParameter.h:37
HcalSiPMParameter::getauxi2
float getauxi2() const
Definition:
HcalSiPMParameter.h:29
HcalSiPMParameter::getType
int getType() const
get SiPM type
Definition:
HcalSiPMParameter.h:11
HcalSiPMParameter::type_
int type_
Definition:
HcalSiPMParameter.h:33
HcalSiPMParameter
Definition:
HcalSiPMParameter.h:7
HcalSiPMParameter::fcByPE_
float fcByPE_
Definition:
HcalSiPMParameter.h:34
HcalSiPMParameter::darkCurrent_
float darkCurrent_
Definition:
HcalSiPMParameter.h:35
HcalSiPMParameter::getDarkCurrent
float getDarkCurrent() const
get dark current
Definition:
HcalSiPMParameter.h:15
HcalSiPMParameter::HcalSiPMParameter
HcalSiPMParameter()
Definition:
HcalSiPMParameter.h:19
HcalSiPMParameter::rawId
uint32_t rawId() const
Definition:
HcalSiPMParameter.h:27
HcalSiPMParameter::id_
uint32_t id_
Definition:
HcalSiPMParameter.h:32
HcalSiPMParameter::getauxi1
int getauxi1() const
Definition:
HcalSiPMParameter.h:28
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
Serializable.h
HcalSiPMParameter::getFCByPE
float getFCByPE() const
get fcByPE
Definition:
HcalSiPMParameter.h:13
HcalSiPMParameter::HcalSiPMParameter
HcalSiPMParameter(unsigned long fId, int type, float fcByPE, float darkCurrent, int auxi1=0, float auxi2=0)
Definition:
HcalSiPMParameter.h:22
Generated for CMSSW Reference Manual by
1.8.11