Main Page
Namespaces
Classes
Package Documentation
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
{
18
public
:
19
20
typedef
CaloTSamples<float,3>
ESSamples
;
21
22
enum
{ MAXADC = 4095,
23
MINADC = 0 } ;
24
25
ESElectronicsSimFast
(
bool
addNoise ,
bool
PreMix1) ;
26
~
ESElectronicsSimFast
() ;
27
28
void
setPedestals(
const
ESPedestals
* peds ) ;
29
30
void
setMIPs(
const
ESIntercalibConstants
* mips ) ;
31
32
void
setMIPToGeV(
double
MIPToGeV ) ;
33
34
void
analogToDigital( CLHEP::HepRandomEngine*,
35
ESSamples&
cs
,
36
ESDataFrame
& df ,
37
bool
isNoise =
false
)
const
;
38
39
void
newEvent
() {}
40
41
42
43
private
:
44
45
bool
m_addNoise
;
46
47
bool
m_PreMix1
;
48
49
double
m_MIPToGeV
;
50
51
const
ESPedestals
*
m_peds
;
52
53
const
ESIntercalibConstants
*
m_mips
;
54
} ;
55
56
#endif
ESCondObjectContainer< ESPedestal >
ESElectronicsSimFast::m_mips
const ESIntercalibConstants * m_mips
Definition:
ESElectronicsSimFast.h:53
ESElectronicsSimFast::ESSamples
CaloTSamples< float, 3 > ESSamples
Definition:
ESElectronicsSimFast.h:20
fwrapper::cs
unique_ptr< ClusterSequence > cs
Definition:
fastjetfortran_madfks.cc:45
ESIntercalibConstants.h
ESDataFrame
Definition:
ESDataFrame.h:10
ESPedestals.h
ESElectronicsSimFast
Definition:
ESElectronicsSimFast.h:16
ESDataFrame.h
CLHEP
Definition:
CocoaGlobals.h:27
CaloTSamples
Definition:
CaloTSamples.h:14
ESSample.h
CaloTSamples.h
ESElectronicsSimFast::m_MIPToGeV
double m_MIPToGeV
Definition:
ESElectronicsSimFast.h:49
ESElectronicsSimFast::m_peds
const ESPedestals * m_peds
Definition:
ESElectronicsSimFast.h:51
ESElectronicsSimFast::m_PreMix1
bool m_PreMix1
Definition:
ESElectronicsSimFast.h:47
ESElectronicsSimFast::newEvent
void newEvent()
Definition:
ESElectronicsSimFast.h:39
ESElectronicsSimFast::m_addNoise
bool m_addNoise
Definition:
ESElectronicsSimFast.h:45
Generated for CMSSW Reference Manual by
1.8.11