SimCalorimetry
EcalSimAlgos
interface
ESElectronicsSimFast.h
Go to the documentation of this file.
1
#ifndef EcalSimAlgos_ESElectronicsSimFast_h
2
#define EcalSimAlgos_ESElectronicsSimFast_h 1
3
4
#include "
CalibFormats/CaloObjects/interface/CaloTSamples.h
"
5
#include "
DataFormats/EcalDigi/interface/ESDataFrame.h
"
6
#include "
DataFormats/EcalDigi/interface/ESSample.h
"
7
#include "
CondFormats/ESObjects/interface/ESPedestals.h
"
8
#include "
CondFormats/ESObjects/interface/ESIntercalibConstants.h
"
9
10
#include <vector>
11
12
namespace
CLHEP
{
13
class
HepRandomEngine;
14
}
15
16
class
ESElectronicsSimFast
{
17
public
:
18
typedef
CaloTSamples<float, 3>
ESSamples
;
19
20
enum
{
MAXADC
= 4095,
MINADC
= 0 };
21
22
ESElectronicsSimFast
(
bool
addNoise,
bool
PreMix1);
23
~ESElectronicsSimFast
();
24
25
void
setPedestals
(
const
ESPedestals
* peds);
26
27
void
setMIPs
(
const
ESIntercalibConstants
* mips);
28
29
void
setMIPToGeV
(
double
MIPToGeV);
30
31
void
analogToDigital
(CLHEP::HepRandomEngine*,
ESSamples
&
cs
,
ESDataFrame
&
df
,
bool
isNoise =
false
)
const
;
32
33
void
newEvent
() {}
34
35
private
:
36
bool
m_addNoise
;
37
38
bool
m_PreMix1
;
39
40
double
m_MIPToGeV
;
41
42
const
ESPedestals
*
m_peds
;
43
44
const
ESIntercalibConstants
*
m_mips
;
45
};
46
47
#endif
ESElectronicsSimFast::m_peds
const ESPedestals * m_peds
Definition:
ESElectronicsSimFast.h:42
ESIntercalibConstants.h
fwrapper::cs
unique_ptr< ClusterSequence > cs
Definition:
fastjetfortran_madfks.cc:47
ESElectronicsSimFast::setMIPs
void setMIPs(const ESIntercalibConstants *mips)
Definition:
ESElectronicsSimFast.cc:20
ESElectronicsSimFast::m_mips
const ESIntercalibConstants * m_mips
Definition:
ESElectronicsSimFast.h:44
ESElectronicsSimFast::MINADC
Definition:
ESElectronicsSimFast.h:20
ESElectronicsSimFast::ESSamples
CaloTSamples< float, 3 > ESSamples
Definition:
ESElectronicsSimFast.h:18
ESDataFrame
Definition:
ESDataFrame.h:10
ESDataFrame.h
ESElectronicsSimFast::MAXADC
Definition:
ESElectronicsSimFast.h:20
ESPedestals.h
CaloTSamples
Definition:
CaloTSamples.h:14
ESElectronicsSimFast::setPedestals
void setPedestals(const ESPedestals *peds)
Definition:
ESElectronicsSimFast.cc:18
CLHEP
Definition:
CocoaGlobals.h:27
CaloTSamples.h
ESSample.h
ESElectronicsSimFast
Definition:
ESElectronicsSimFast.h:16
ESCondObjectContainer< ESPedestal >
ESElectronicsSimFast::m_PreMix1
bool m_PreMix1
Definition:
ESElectronicsSimFast.h:38
ESElectronicsSimFast::newEvent
void newEvent()
Definition:
ESElectronicsSimFast.h:33
ESElectronicsSimFast::~ESElectronicsSimFast
~ESElectronicsSimFast()
Definition:
ESElectronicsSimFast.cc:16
hgcalPerformanceValidation.df
df
Definition:
hgcalPerformanceValidation.py:733
ESElectronicsSimFast::analogToDigital
void analogToDigital(CLHEP::HepRandomEngine *, ESSamples &cs, ESDataFrame &df, bool isNoise=false) const
Definition:
ESElectronicsSimFast.cc:24
ESElectronicsSimFast::ESElectronicsSimFast
ESElectronicsSimFast(bool addNoise, bool PreMix1)
Definition:
ESElectronicsSimFast.cc:8
ESElectronicsSimFast::setMIPToGeV
void setMIPToGeV(double MIPToGeV)
Definition:
ESElectronicsSimFast.cc:22
ESElectronicsSimFast::m_addNoise
bool m_addNoise
Definition:
ESElectronicsSimFast.h:36
ESElectronicsSimFast::m_MIPToGeV
double m_MIPToGeV
Definition:
ESElectronicsSimFast.h:40
Generated for CMSSW Reference Manual by
1.8.16