CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
13 
14 // declarations
15 class CSCLayer;
16 class CSCDetectorHit;
17 class CSCWireDigi;
18 class CSCAnalogSignal;
19 
20 
22 {
23 public:
26 
27  void setFraction(float newFraction) {theFraction = newFraction;};
28 
29  void fillDigis(CSCWireDigiCollection & digis, CLHEP::HepRandomEngine*);
30 
31 private:
33  virtual void initParameters();
34 
35  // will return wire group, given wire.
36  virtual int readoutElement(int element) const;
37 
38  float calculateAmpResponse(float t) const;
39 
40  virtual float timeOfFlightCalibration(int wireGroup) const;
41 
43  virtual int channelIndex(int channel) const {return channel+100;}
44 
45  // member data
46  // the fractional discriminator returns the time when the signal
47  // reaches this fraction of its maximum
48  float theFraction;
49  float theWireNoise;
51 
52 };
53 
54 #endif
tuple t
Definition: tree.py:139
float calculateAmpResponse(float t) const
virtual int channelIndex(int channel) const
we code strip indices from 1-80, and wire indices start at 100
CSCWireElectronicsSim(const edm::ParameterSet &p)
configurable parameters
void fillDigis(CSCWireDigiCollection &digis, CLHEP::HepRandomEngine *)
virtual void initParameters()
initialization for each layer
virtual int readoutElement(int element) const
virtual float timeOfFlightCalibration(int wireGroup) const
void setFraction(float newFraction)