#include <CSCWireElectronicsSim.h>
Public Member Functions | |
CSCWireElectronicsSim (const edm::ParameterSet &p) | |
configurable parameters More... | |
void | fillDigis (CSCWireDigiCollection &digis, CLHEP::HepRandomEngine *) |
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 | simulate (const CSCLayer *layer, const std::vector< CSCDetectorHit > &inputHits, CLHEP::HepRandomEngine *) |
virtual | ~CSCBaseElectronicsSim () |
Private Member Functions | |
float | calculateAmpResponse (float t) const override |
int | channelIndex (int channel) const override |
we code strip indices from 1-80, and wire indices start at 100 More... | |
void | initParameters () override |
initialization for each layer More... | |
int | readoutElement (int element) const override |
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 20 of file CSCWireElectronicsSim.h.
CSCWireElectronicsSim::CSCWireElectronicsSim | ( | const edm::ParameterSet & | p | ) |
configurable parameters
Definition at line 15 of file CSCWireElectronicsSim.cc.
References CSCBaseElectronicsSim::fillAmpResponse().
|
overrideprivatevirtual |
Implements CSCBaseElectronicsSim.
Definition at line 144 of file CSCWireElectronicsSim.cc.
References Calorimetry_cff::dp, JetChargeProducer_cfi::exp, p1, funct::pow(), and submitPVValidationJobs::t.
|
inlineoverrideprivatevirtual |
we code strip indices from 1-80, and wire indices start at 100
Reimplemented from CSCBaseElectronicsSim.
Definition at line 41 of file CSCWireElectronicsSim.h.
Referenced by fillDigis().
void CSCWireElectronicsSim::fillDigis | ( | CSCWireDigiCollection & | digis, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 28 of file CSCWireElectronicsSim.cc.
References CSCBaseElectronicsSim::addLinks(), CSCChamberSpecs::chamberType(), channelIndex(), CSCBaseElectronicsSim::doNoise_, CSCAnalogSignal::getBinValue(), CSCAnalogSignal::getSize(), mps_fire::i, CSCBaseElectronicsSim::layerId(), LogTrace, CSCBaseElectronicsSim::theBunchSpacing, CSCBaseElectronicsSim::theBunchTimingOffsets, theFraction, CSCBaseElectronicsSim::theOffsetOfBxZero, CSCBaseElectronicsSim::theSamplingTime, CSCBaseElectronicsSim::theSignalMap, CSCBaseElectronicsSim::theSignalStartTime, CSCBaseElectronicsSim::theSpecs, CSCBaseElectronicsSim::theTimingCalibrationError, theWireNoise, theWireThreshold, remoteMonitoring_LED_IterMethod_cfg::threshold, and timeOfFlightCalibration().
Referenced by CSCDigitizer::doAction().
|
overrideprivatevirtual |
initialization for each layer
Implements CSCBaseElectronicsSim.
Definition at line 20 of file CSCWireElectronicsSim.cc.
References e_SI, CSCBaseElectronicsSim::nElements, CSCLayerGeometry::numberOfWireGroups(), funct::pow(), CSCBaseElectronicsSim::theLayerGeometry, CSCBaseElectronicsSim::theShapingTime, CSCBaseElectronicsSim::theSpecs, theWireNoise, theWireThreshold, and CSCChamberSpecs::wireNoise().
|
overrideprivatevirtual |
Implements CSCBaseElectronicsSim.
Definition at line 26 of file CSCWireElectronicsSim.cc.
References CSCBaseElectronicsSim::theLayerGeometry, and CSCLayerGeometry::wireGroup().
|
inline |
|
privatevirtual |
Definition at line 165 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 46 of file CSCWireElectronicsSim.h.
Referenced by fillDigis(), and setFraction().
|
private |
Definition at line 47 of file CSCWireElectronicsSim.h.
Referenced by fillDigis(), and initParameters().
|
private |
Definition at line 48 of file CSCWireElectronicsSim.h.
Referenced by fillDigis(), and initParameters().