CMS 3D CMS Logo

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 
20 {
21 public:
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
41 };
42 
43 #endif
44 
float ratio(const CSCAnalogSignal &crosstalkSignal, const CSCAnalogSignal &signal) const
analyzes the ratio between two signals.
void setParameters(float crosstalk, float delay, float resistiveFraction)
CSCAnalogSignal getCrosstalk(const CSCAnalogSignal &inputSignal) const