CalibFormats
HcalObjects
interface
HcalCoderDb.h
Go to the documentation of this file.
1
#ifndef HCAL_CODER_DB_H
2
#define HCAL_CODER_DB_H
3
4
#include "
CalibFormats/HcalObjects/interface/HcalCoder.h
"
5
12
class
HcalQIECoder
;
13
class
HcalQIEShape
;
14
15
class
HcalCoderDb
:
public
HcalCoder
{
16
public
:
17
HcalCoderDb
(
const
HcalQIECoder
& fCoder,
const
HcalQIEShape
& fShape);
18
19
//these need to be overloads instead of templates to avoid linking issues when calling private member function templates
20
void
adc2fC
(
const
HBHEDataFrame
&
df
,
CaloSamples
& lf)
const override
;
21
void
adc2fC
(
const
HODataFrame
&
df
,
CaloSamples
& lf)
const override
;
22
void
adc2fC
(
const
HFDataFrame
&
df
,
CaloSamples
& lf)
const override
;
23
void
adc2fC
(
const
ZDCDataFrame
&
df
,
CaloSamples
& lf)
const override
;
24
void
adc2fC
(
const
HcalCalibDataFrame
&
df
,
CaloSamples
& lf)
const override
;
25
void
adc2fC
(
const
QIE10DataFrame
&
df
,
CaloSamples
& lf)
const override
;
26
void
adc2fC
(
const
QIE11DataFrame
&
df
,
CaloSamples
& lf)
const override
;
27
28
void
fC2adc
(
const
CaloSamples
& clf,
HBHEDataFrame
&
df
,
int
fCapIdOffset)
const override
;
29
void
fC2adc
(
const
CaloSamples
& clf,
HFDataFrame
&
df
,
int
fCapIdOffset)
const override
;
30
void
fC2adc
(
const
CaloSamples
& clf,
HODataFrame
&
df
,
int
fCapIdOffset)
const override
;
31
void
fC2adc
(
const
CaloSamples
& clf,
ZDCDataFrame
&
df
,
int
fCapIdOffset)
const override
;
32
void
fC2adc
(
const
CaloSamples
& clf,
HcalCalibDataFrame
&
df
,
int
fCapIdOffset)
const override
;
33
void
fC2adc
(
const
CaloSamples
& clf,
QIE10DataFrame
&
df
,
int
fCapIdOffset)
const override
;
34
void
fC2adc
(
const
CaloSamples
& clf,
QIE11DataFrame
&
df
,
int
fCapIdOffset)
const override
;
35
36
private
:
37
template
<
class
Digi>
38
void
adc2fC_
(
const
Digi
&
df
,
CaloSamples
& clf)
const
;
39
template
<
class
Digi>
40
void
fC2adc_
(
const
CaloSamples
& clf,
Digi
&
df
,
int
fCapIdOffset)
const
;
41
42
const
HcalQIECoder
*
mCoder
;
43
const
HcalQIEShape
*
mShape
;
44
};
45
46
#endif
HcalCoderDb::fC2adc
void fC2adc(const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const override
Definition:
HcalCoderDb.cc:81
HcalCoder.h
TrendClient_cfi.Digi
Digi
Definition:
TrendClient_cfi.py:7
HcalCoderDb::adc2fC
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
Definition:
HcalCoderDb.cc:73
HcalCoderDb::HcalCoderDb
HcalCoderDb(const HcalQIECoder &fCoder, const HcalQIEShape &fShape)
Definition:
HcalCoderDb.cc:10
ZDCDataFrame
Definition:
ZDCDataFrame.h:15
HBHEDataFrame
Definition:
HBHEDataFrame.h:14
HcalCalibDataFrame
Definition:
HcalCalibDataFrame.h:15
HcalCoderDb::fC2adc_
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
Definition:
HcalCoderDb.cc:42
HFDataFrame
Definition:
HFDataFrame.h:14
CaloSamples
Definition:
CaloSamples.h:14
HcalQIECoder
Definition:
HcalQIECoder.h:20
hgcalPerformanceValidation.df
df
Definition:
hgcalPerformanceValidation.py:733
QIE10DataFrame
Definition:
QIE10DataFrame.h:11
HODataFrame
Definition:
HODataFrame.h:14
HcalCoderDb::adc2fC_
void adc2fC_(const Digi &df, CaloSamples &clf) const
Definition:
HcalCoderDb.cc:13
QIE11DataFrame
Definition:
QIE11DataFrame.h:11
HcalCoder
Definition:
HcalCoder.h:19
HcalCoderDb::mShape
const HcalQIEShape * mShape
Definition:
HcalCoderDb.h:43
HcalQIEShape
Definition:
HcalQIEShape.h:17
HcalCoderDb
Definition:
HcalCoderDb.h:15
HcalCoderDb::mCoder
const HcalQIECoder * mCoder
Definition:
HcalCoderDb.h:42
Generated for CMSSW Reference Manual by
1.8.16