CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
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
39 };
40 
41 #endif
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