#include <CSCWireElectronicsSim.h>
Public Member Functions | |
CSCWireElectronicsSim (const edm::ParameterSet &p) | |
configurable parameters More... | |
void | fillDigis (CSCWireDigiCollection &digis) |
void | setFraction (float newFraction) |
Public Member Functions inherited from CSCBaseElectronicsSim | |
const DigiSimLinks & | digiSimLinks () const |
void | setLayerId (const CSCDetId &id) |
for standalone apps who don't calculate it from the geometry More... | |
void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
void | simulate (const CSCLayer *layer, const std::vector< CSCDetectorHit > &inputHits) |
virtual | ~CSCBaseElectronicsSim () |
Private Member Functions | |
float | calculateAmpResponse (float t) const |
virtual int | channelIndex (int channel) const |
we code strip indices from 1-80, and wire indices start at 100 More... | |
virtual void | initParameters () |
initialization for each layer More... | |
virtual int | readoutElement (int element) const |
virtual float | timeOfFlightCalibration (int wireGroup) const |
Private Attributes | |
float | theFraction |
float | theWireNoise |
float | theWireThreshold |
Model the readout electronics chain for EMU CSC wires
Definition at line 21 of file CSCWireElectronicsSim.h.
CSCWireElectronicsSim::CSCWireElectronicsSim | ( | const edm::ParameterSet & | p | ) |
configurable parameters
Definition at line 13 of file CSCWireElectronicsSim.cc.
References CSCBaseElectronicsSim::fillAmpResponse().
|
privatevirtual |
Implements CSCBaseElectronicsSim.
Definition at line 160 of file CSCWireElectronicsSim.cc.
References reco::dp, create_public_lumi_plots::exp, p1, and funct::pow().
|
inlineprivatevirtual |
we code strip indices from 1-80, and wire indices start at 100
Reimplemented from CSCBaseElectronicsSim.
Definition at line 43 of file CSCWireElectronicsSim.h.
Referenced by fillDigis().
void CSCWireElectronicsSim::fillDigis | ( | CSCWireDigiCollection & | digis | ) |
Definition at line 35 of file CSCWireElectronicsSim.cc.
References CSCBaseElectronicsSim::addLinks(), CSCChamberSpecs::chamberType(), channelIndex(), CSCBaseElectronicsSim::doNoise_, CSCAnalogSignal::getBinValue(), CSCAnalogSignal::getSize(), i, CSCBaseElectronicsSim::layerId(), LogTrace, CSCBaseElectronicsSim::theBunchSpacing, CSCBaseElectronicsSim::theBunchTimingOffsets, theFraction, CSCBaseElectronicsSim::theOffsetOfBxZero, CSCBaseElectronicsSim::theRandGaussQ, CSCBaseElectronicsSim::theSamplingTime, CSCBaseElectronicsSim::theSignalMap, CSCBaseElectronicsSim::theSignalStartTime, CSCBaseElectronicsSim::theSpecs, CSCBaseElectronicsSim::theTimingCalibrationError, theWireNoise, theWireThreshold, dtDQMClient_cfg::threshold, and timeOfFlightCalibration().
Referenced by CSCDigitizer::doAction().
|
privatevirtual |
initialization for each layer
Implements CSCBaseElectronicsSim.
Definition at line 23 of file CSCWireElectronicsSim.cc.
References e_SI, CSCBaseElectronicsSim::nElements, CSCLayerGeometry::numberOfWireGroups(), funct::pow(), CSCBaseElectronicsSim::theLayerGeometry, CSCBaseElectronicsSim::theShapingTime, CSCBaseElectronicsSim::theSpecs, theWireNoise, theWireThreshold, and CSCChamberSpecs::wireNoise().
|
privatevirtual |
Implements CSCBaseElectronicsSim.
Definition at line 31 of file CSCWireElectronicsSim.cc.
References CSCBaseElectronicsSim::theLayerGeometry, and CSCLayerGeometry::wireGroup().
|
inline |
|
privatevirtual |
Definition at line 185 of file CSCWireElectronicsSim.cc.
References CSCLayer::centerOfWireGroup(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), CSCLayerGeometry::numberOfWireGroups(), CSCBaseElectronicsSim::theLayer, and CSCBaseElectronicsSim::theLayerGeometry.
Referenced by fillDigis().
|
private |
Definition at line 48 of file CSCWireElectronicsSim.h.
Referenced by fillDigis(), and setFraction().
|
private |
Definition at line 49 of file CSCWireElectronicsSim.h.
Referenced by fillDigis(), and initParameters().
|
private |
Definition at line 50 of file CSCWireElectronicsSim.h.
Referenced by fillDigis(), and initParameters().