Main Page
Namespaces
Classes
Package Documentation
src
CalibFormats
CastorObjects
interface
CastorChannelCoder.h
Go to the documentation of this file.
1
#ifndef CASTOR_CHANNEL_CODER_H
2
#define CASTOR_CHANNEL_CODER_H
3
10
namespace
reco
{
11
namespace
castor
{
12
class
QieShape
;
13
}
14
}
// namespace reco
15
16
class
CastorChannelCoder
{
17
public
:
18
CastorChannelCoder
(
const
float
fOffset[16],
const
float
fSlope[16]);
// [CapId][Range]
20
double
charge
(
const
reco::castor::QieShape
& fShape,
int
fAdc,
int
fCapId)
const
;
22
int
adc
(
const
reco::castor::QieShape
& fShape,
double
fCharge,
int
fCapId)
const
;
23
int
index
(
int
fCapId,
int
Range
) {
return
fCapId * 4 +
Range
; }
24
25
private
:
26
double
mOffset[4][4];
27
double
mSlope[4][4];
28
};
29
30
#endif
Range
PixelRecoRange< float > Range
Definition:
PixelTripletHLTGenerator.cc:32
CastorChannelCoder
Definition:
CastorChannelCoder.h:16
ecalMGPA::adc
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
Definition:
EcalMGPASample.h:11
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
QieShape
reco::castor::QieShape
Definition:
QieShape.h:13
castorDigitizer_cfi.castor
castor
Definition:
castorDigitizer_cfi.py:9
CastorChannelCoder::index
int index(int fCapId, int Range)
Definition:
CastorChannelCoder.h:23
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:44
Generated for CMSSW Reference Manual by
1.8.11