SimRomanPot
SimFP420
interface
DigiConverterFP420.h
Go to the documentation of this file.
1
#ifndef DigiConverterFP420_h
2
#define DigiConverterFP420_h
3
4
#include "
SimRomanPot/SimFP420/interface/DConverterFP420.h
"
5
6
class
DigiConverterFP420
:
public
DConverterFP420
{
7
public
:
8
DigiConverterFP420
(
float
in
,
int
);
9
10
DigitalMapType
convert
(
const
signal_map_type
&)
override
;
11
12
private
:
13
int
convert
(
float
in
) {
return
truncate
(
in
/
electronperADC
); }
14
int
truncate
(
float
in_adc);
15
16
float
electronperADC
;
17
int
theMaxADC
;
18
int
adcBits
;
19
int
verbos
;
20
};
21
22
#endif
DConverterFP420.h
DigiConverterFP420::electronperADC
float electronperADC
Definition:
DigiConverterFP420.h:16
DConverterFP420
Definition:
DConverterFP420.h:5
DigiConverterFP420::convert
DigitalMapType convert(const signal_map_type &) override
Definition:
DigiConverterFP420.cc:35
DigiConverterFP420::convert
int convert(float in)
Definition:
DigiConverterFP420.h:13
DigiConverterFP420::DigiConverterFP420
DigiConverterFP420(float in, int)
Definition:
DigiConverterFP420.cc:9
DigiConverterFP420::adcBits
int adcBits
Definition:
DigiConverterFP420.h:18
DigiConverterFP420::verbos
int verbos
Definition:
DigiConverterFP420.h:19
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
DigiConverterFP420::theMaxADC
int theMaxADC
Definition:
DigiConverterFP420.h:17
DigiConverterFP420::truncate
int truncate(float in_adc)
Definition:
DigiConverterFP420.cc:55
DConverterFP420::signal_map_type
PileUpFP420::signal_map_type signal_map_type
Definition:
DConverterFP420.h:9
DConverterFP420::DigitalMapType
std::map< int, int, std::less< int > > DigitalMapType
Definition:
DConverterFP420.h:8
DigiConverterFP420
Definition:
DigiConverterFP420.h:6
Generated for CMSSW Reference Manual by
1.8.16