Main Page
Namespaces
Classes
Package Documentation
SimCalorimetry
CastorSim
src
CastorElectronicsSim.h
Go to the documentation of this file.
1
#ifndef CastorSim_CastorElectronicsSim_h
2
#define CastorSim_CastorElectronicsSim_h
3
8
#include "
CalibFormats/CaloObjects/interface/CaloSamples.h
"
9
10
class
CastorDataFrame
;
11
12
class
CastorAmplifier
;
13
class
CastorCoderFactory
;
14
15
namespace
CLHEP
{
16
class
HepRandomEngine;
17
}
18
19
class
CastorElectronicsSim
{
20
public
:
21
CastorElectronicsSim
(
CastorAmplifier
* amplifier,
22
const
CastorCoderFactory
* coderFactory);
23
~
CastorElectronicsSim
();
24
25
void
analogToDigital(CLHEP::HepRandomEngine*,
CaloSamples
& linearFrame,
CastorDataFrame
&
result
);
26
28
void
newEvent(CLHEP::HepRandomEngine*);
29
30
private
:
31
template
<
class
Digi>
void
convert
(
CaloSamples
& frame,
Digi
& result, CLHEP::HepRandomEngine*);
32
33
CastorAmplifier
*
theAmplifier
;
34
const
CastorCoderFactory
*
theCoderFactory
;
35
36
int
theStartingCapId
;
37
};
38
39
40
#endif
41
mps_fire.result
result
Definition:
mps_fire.py:226
matching::Digi
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
Definition:
GenericDigi.h:30
CaloSamples.h
CaloSamples
Definition:
CaloSamples.h:14
CLHEP
Definition:
CocoaGlobals.h:27
CastorCoderFactory
Definition:
CastorCoderFactory.h:8
CastorDataFrame
Definition:
CastorDataFrame.h:15
fileCollector.convert
def convert(infile, ofile)
Definition:
fileCollector.py:45
CastorElectronicsSim::theCoderFactory
const CastorCoderFactory * theCoderFactory
Definition:
CastorElectronicsSim.h:34
CastorElectronicsSim::theStartingCapId
int theStartingCapId
Definition:
CastorElectronicsSim.h:36
CastorElectronicsSim::theAmplifier
CastorAmplifier * theAmplifier
Definition:
CastorElectronicsSim.h:33
CastorElectronicsSim
Definition:
CastorElectronicsSim.h:19
CastorAmplifier
Definition:
CastorAmplifier.h:13
Generated for CMSSW Reference Manual by
1.8.11