SimMuon
CSCDigitizer
src
CSCWireElectronicsSim.h
Go to the documentation of this file.
1
#ifndef MU_END_WIRE_ELECTRONICS_SIM_H
2
#define MU_END_WIRE_ELECTRONICS_SIM_H
3
11
#include "
DataFormats/CSCDigi/interface/CSCWireDigiCollection.h
"
12
#include "
SimMuon/CSCDigitizer/src/CSCBaseElectronicsSim.h
"
13
14
// declarations
15
class
CSCLayer
;
16
class
CSCDetectorHit
;
17
class
CSCWireDigi
;
18
class
CSCAnalogSignal
;
19
20
class
CSCWireElectronicsSim
:
public
CSCBaseElectronicsSim
{
21
public
:
23
CSCWireElectronicsSim
(
const
edm::ParameterSet
&
p
);
24
25
void
setFraction
(
float
newFraction) {
theFraction
= newFraction; };
26
27
void
fillDigis
(
CSCWireDigiCollection
&digis, CLHEP::HepRandomEngine *);
28
29
private
:
31
void
initParameters
()
override
;
32
33
// will return wire group, given wire.
34
int
readoutElement
(
int
element)
const override
;
35
36
float
calculateAmpResponse
(
float
t
)
const override
;
37
38
virtual
float
timeOfFlightCalibration
(
int
wireGroup)
const
;
39
41
int
channelIndex
(
int
channel)
const override
{
return
channel + 100; }
42
43
// member data
44
// the fractional discriminator returns the time when the signal
45
// reaches this fraction of its maximum
46
float
theFraction
;
47
float
theWireNoise
;
48
float
theWireThreshold
;
49
};
50
51
#endif
CSCWireElectronicsSim::fillDigis
void fillDigis(CSCWireDigiCollection &digis, CLHEP::HepRandomEngine *)
Definition:
CSCWireElectronicsSim.cc:28
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
CSCWireElectronicsSim::readoutElement
int readoutElement(int element) const override
Definition:
CSCWireElectronicsSim.cc:26
CSCLayer
Definition:
CSCLayer.h:24
CSCWireElectronicsSim::setFraction
void setFraction(float newFraction)
Definition:
CSCWireElectronicsSim.h:25
CSCDetectorHit
Definition:
CSCDetectorHit.h:16
CSCBaseElectronicsSim.h
CSCWireElectronicsSim::theWireNoise
float theWireNoise
Definition:
CSCWireElectronicsSim.h:47
OrderedSet.t
t
Definition:
OrderedSet.py:90
CSCWireElectronicsSim::calculateAmpResponse
float calculateAmpResponse(float t) const override
Definition:
CSCWireElectronicsSim.cc:144
CSCWireElectronicsSim::theFraction
float theFraction
Definition:
CSCWireElectronicsSim.h:46
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCWireDigi
Definition:
CSCWireDigi.h:14
CSCBaseElectronicsSim
Definition:
CSCBaseElectronicsSim.h:37
CSCWireElectronicsSim::timeOfFlightCalibration
virtual float timeOfFlightCalibration(int wireGroup) const
Definition:
CSCWireElectronicsSim.cc:165
CSCWireDigiCollection
CSCWireElectronicsSim::theWireThreshold
float theWireThreshold
Definition:
CSCWireElectronicsSim.h:48
CSCAnalogSignal
Definition:
CSCAnalogSignal.h:32
CSCWireElectronicsSim
Definition:
CSCWireElectronicsSim.h:20
CSCWireElectronicsSim::CSCWireElectronicsSim
CSCWireElectronicsSim(const edm::ParameterSet &p)
configurable parameters
Definition:
CSCWireElectronicsSim.cc:15
CSCWireDigiCollection.h
CSCWireElectronicsSim::initParameters
void initParameters() override
initialization for each layer
Definition:
CSCWireElectronicsSim.cc:20
CSCWireElectronicsSim::channelIndex
int channelIndex(int channel) const override
we code strip indices from 1-80, and wire indices start at 100
Definition:
CSCWireElectronicsSim.h:41
Generated for CMSSW Reference Manual by
1.8.16