CMS 3D CMS Logo

CSCWireElectronicsSim.h

Go to the documentation of this file.
00001 #ifndef MU_END_WIRE_ELECTRONICS_SIM_H
00002 #define MU_END_WIRE_ELECTRONICS_SIM_H
00003 
00011 #include "SimMuon/CSCDigitizer/src/CSCBaseElectronicsSim.h"
00012 #include "DataFormats/CSCDigi/interface/CSCWireDigiCollection.h"
00013 
00014 // declarations
00015 class CSCLayer;
00016 class CSCDetectorHit;
00017 class CSCWireDigi;
00018 class CSCAnalogSignal;
00019 
00020 
00021 class CSCWireElectronicsSim : public CSCBaseElectronicsSim
00022 {
00023 public:
00025   CSCWireElectronicsSim(const edm::ParameterSet &p);
00026 
00027   void setFraction(float newFraction)  {theFraction = newFraction;};
00028 
00029   void fillDigis(CSCWireDigiCollection & digis);
00030 
00031 private:
00033   virtual void initParameters();
00034 
00035   // will return wire group, given wire.
00036   virtual int readoutElement(int element) const;
00037 
00038   float calculateAmpResponse(float t) const;
00039  
00040   virtual float signalDelay(int element, float pos) const;
00041   virtual float timeOfFlightCalibration(int wireGroup) const;
00042 
00044   virtual int channelIndex(int channel) const {return channel+100;}
00045 
00046   // member data
00047   // the fractional discriminator returns the time when the signal
00048   // reaches this fraction of its maximum
00049   float theFraction;
00050   float theWireNoise;
00051   float theWireThreshold;
00052   float theTimingCalibrationError; // in ns
00053 
00054 };
00055 
00056 #endif

Generated on Tue Jun 9 17:47:31 2009 for CMSSW by  doxygen 1.5.4