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,
const
CastorCoderFactory
*coderFactory);
22
~
CastorElectronicsSim
();
23
24
void
analogToDigital(CLHEP::HepRandomEngine *,
CaloSamples
&linearFrame,
CastorDataFrame
&
result
);
25
27
void
newEvent(CLHEP::HepRandomEngine *);
28
29
private
:
30
template
<
class
Digi>
31
void
convert
(
CaloSamples
&frame,
Digi
&result, CLHEP::HepRandomEngine *);
32
33
CastorAmplifier
*
theAmplifier
;
34
const
CastorCoderFactory
*
theCoderFactory
;
35
36
int
theStartingCapId
;
37
};
38
39
#endif
mps_fire.result
result
Definition:
mps_fire.py:283
matching::Digi
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
Definition:
GenericDigi.h:40
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:47
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