CalibFormats
CastorObjects
interface
CastorCoderDb.h
Go to the documentation of this file.
1
#ifndef CASTOR_CODER_DB_H
2
#define CASTOR_CODER_DB_H
3
4
#include "
CalibFormats/CastorObjects/interface/CastorChannelCoder.h
"
5
#include "
CalibFormats/CastorObjects/interface/CastorCoder.h
"
6
13
class
CastorQIECoder
;
14
class
CastorQIEShape
;
15
16
class
CastorCoderDb
:
public
CastorCoder
{
17
public
:
18
CastorCoderDb
(
const
CastorQIECoder
& fCoder,
const
CastorQIEShape
& fShape);
19
20
void
adc2fC
(
const
CastorDataFrame
&
df
,
CaloSamples
& lf)
const override
;
21
22
void
fC2adc
(
const
CaloSamples
& clf,
CastorDataFrame
&
df
,
int
fCapIdOffset)
const override
;
23
24
private
:
25
template
<
class
Digi>
26
void
adc2fC_
(
const
Digi
&
df
,
CaloSamples
& clf)
const
;
27
template
<
class
Digi>
28
void
fC2adc_
(
const
CaloSamples
& clf,
Digi
&
df
,
int
fCapIdOffset)
const
;
29
30
const
CastorQIECoder
*
mCoder
;
31
const
CastorQIEShape
*
mShape
;
32
};
33
34
#endif
CastorCoder.h
TrendClient_cfi.Digi
Digi
Definition:
TrendClient_cfi.py:7
CastorChannelCoder.h
CastorCoderDb
Definition:
CastorCoderDb.h:16
CastorCoderDb::fC2adc
void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override
Definition:
CastorCoderDB.cc:36
CastorCoderDb::mShape
const CastorQIEShape * mShape
Definition:
CastorCoderDb.h:31
CastorCoderDb::fC2adc_
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
Definition:
CastorCoderDB.cc:24
CastorDataFrame
Definition:
CastorDataFrame.h:15
CastorCoderDb::mCoder
const CastorQIECoder * mCoder
Definition:
CastorCoderDb.h:30
CastorCoderDb::CastorCoderDb
CastorCoderDb(const CastorQIECoder &fCoder, const CastorQIEShape &fShape)
Definition:
CastorCoderDB.cc:11
CaloSamples
Definition:
CaloSamples.h:14
hgcalPerformanceValidation.df
df
Definition:
hgcalPerformanceValidation.py:640
CastorCoderDb::adc2fC_
void adc2fC_(const Digi &df, CaloSamples &clf) const
Definition:
CastorCoderDB.cc:15
CastorQIECoder
Definition:
CastorQIECoder.h:21
CastorCoderDb::adc2fC
void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const override
Definition:
CastorCoderDB.cc:34
CastorCoder
Definition:
CastorCoder.h:13
CastorQIEShape
Definition:
CastorQIEShape.h:14
Generated for CMSSW Reference Manual by
1.8.16