Main Page
Namespaces
Classes
Package Documentation
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
{
21
public
:
22
CSCCrosstalkGenerator
() :
theCrosstalk
(0),
theDelay
(0),
23
theResistiveFraction
(0.) {};
24
25
void
setParameters
(
float
crosstalk,
float
delay,
float
resistiveFraction) {
26
theCrosstalk
= crosstalk;
27
theDelay
= delay;
28
theResistiveFraction
= resistiveFraction;
29
}
30
31
CSCAnalogSignal
getCrosstalk
(
const
CSCAnalogSignal
& inputSignal)
const
;
32
34
float
ratio
(
const
CSCAnalogSignal
& crosstalkSignal,
const
CSCAnalogSignal
& signal)
const
;
35
36
private
:
37
float
theCrosstalk
;
38
float
theDelay
;
39
// what fraction of the neighboring signal goes unaltered onto this element
40
float
theResistiveFraction
;
41
};
42
43
#endif
44
CSCCrosstalkGenerator::CSCCrosstalkGenerator
CSCCrosstalkGenerator()
Definition:
CSCCrosstalkGenerator.h:22
CSCCrosstalkGenerator
Definition:
CSCCrosstalkGenerator.h:19
CSCCrosstalkGenerator::ratio
float ratio(const CSCAnalogSignal &crosstalkSignal, const CSCAnalogSignal &signal) const
analyzes the ratio between two signals.
Definition:
CSCCrosstalkGenerator.cc:20
CSCCrosstalkGenerator::setParameters
void setParameters(float crosstalk, float delay, float resistiveFraction)
Definition:
CSCCrosstalkGenerator.h:25
CSCCrosstalkGenerator::theCrosstalk
float theCrosstalk
Definition:
CSCCrosstalkGenerator.h:37
CSCCrosstalkGenerator::theResistiveFraction
float theResistiveFraction
Definition:
CSCCrosstalkGenerator.h:40
CSCCrosstalkGenerator::getCrosstalk
CSCAnalogSignal getCrosstalk(const CSCAnalogSignal &inputSignal) const
Definition:
CSCCrosstalkGenerator.cc:4
CSCCrosstalkGenerator::theDelay
float theDelay
Definition:
CSCCrosstalkGenerator.h:38
CSCAnalogSignal
Definition:
CSCAnalogSignal.h:33
Generated for CMSSW Reference Manual by
1.8.11