SimMuon
CSCDigitizer
src
CSCCrosstalkGenerator.h
Go to the documentation of this file.
1
#ifndef MU_END_CROSSTALK_GENERATOR_H
2
#define MU_END_CROSSTALK_GENERATOR_H
3
4
class
CSCAnalogSignal
;
5
19
class
CSCCrosstalkGenerator
{
20
public
:
21
CSCCrosstalkGenerator
() :
theCrosstalk
(0),
theDelay
(0),
theResistiveFraction
(0.){};
22
23
void
setParameters
(
float
crosstalk,
float
delay
,
float
resistiveFraction) {
24
theCrosstalk
= crosstalk;
25
theDelay
=
delay
;
26
theResistiveFraction
= resistiveFraction;
27
}
28
29
CSCAnalogSignal
getCrosstalk
(
const
CSCAnalogSignal
&inputSignal)
const
;
30
32
float
ratio
(
const
CSCAnalogSignal
&crosstalkSignal,
const
CSCAnalogSignal
&signal)
const
;
33
34
private
:
35
float
theCrosstalk
;
36
float
theDelay
;
37
// what fraction of the neighboring signal goes unaltered onto this element
38
float
theResistiveFraction
;
39
};
40
41
#endif
CSCCrosstalkGenerator::theResistiveFraction
float theResistiveFraction
Definition:
CSCCrosstalkGenerator.h:38
CSCCrosstalkGenerator
Definition:
CSCCrosstalkGenerator.h:19
CSCCrosstalkGenerator::theDelay
float theDelay
Definition:
CSCCrosstalkGenerator.h:36
CSCCrosstalkGenerator::getCrosstalk
CSCAnalogSignal getCrosstalk(const CSCAnalogSignal &inputSignal) const
Definition:
CSCCrosstalkGenerator.cc:4
CSCCrosstalkGenerator::CSCCrosstalkGenerator
CSCCrosstalkGenerator()
Definition:
CSCCrosstalkGenerator.h:21
CSCCrosstalkGenerator::theCrosstalk
float theCrosstalk
Definition:
CSCCrosstalkGenerator.h:35
CSCAnalogSignal
Definition:
CSCAnalogSignal.h:32
phase2TrackerDigitizer_cfi.delay
delay
Definition:
phase2TrackerDigitizer_cfi.py:67
CSCCrosstalkGenerator::setParameters
void setParameters(float crosstalk, float delay, float resistiveFraction)
Definition:
CSCCrosstalkGenerator.h:23
CSCCrosstalkGenerator::ratio
float ratio(const CSCAnalogSignal &crosstalkSignal, const CSCAnalogSignal &signal) const
analyzes the ratio between two signals.
Definition:
CSCCrosstalkGenerator.cc:18
Generated for CMSSW Reference Manual by
1.8.16