#include <SSDigitizerAlgorithm.h>
Public Member Functions | |
void | init (const edm::EventSetup &es) override |
bool | isAboveThreshold (const digitizerUtility::SimHitInfo *hitInfo, float charge, float thr) const override |
bool | select_hit (const PSimHit &hit, double tCorr, double &sigScale) const override |
SSDigitizerAlgorithm (const edm::ParameterSet &conf, edm::ConsumesCollector iC) | |
~SSDigitizerAlgorithm () override | |
Public Member Functions inherited from Phase2TrackerDigitizerAlgorithm | |
virtual void | accumulateSimHits (const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const size_t inputBeginGlobalIndex, const uint32_t tofBin, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield) |
virtual void | digitize (const Phase2TrackerGeomDetUnit *pixdet, std::map< int, digitizerUtility::DigiSimInfo > &digi_map, const TrackerTopology *tTopo) |
virtual void | initializeEvent (CLHEP::HepRandomEngine &eng) |
void | loadAccumulator (uint32_t detId, const std::map< int, float > &accumulator) |
Phase2TrackerDigitizerAlgorithm (const edm::ParameterSet &conf_common, const edm::ParameterSet &conf_specific, edm::ConsumesCollector iC) | |
virtual | ~Phase2TrackerDigitizerAlgorithm () |
Private Types | |
enum | { SquareWindow, SampledMode, LatchedMode, SampledOrLachedMode, HIPFindingMode } |
Private Member Functions | |
double | cbc3PulsePolarExpansion (double x) const |
double | getSignalScale (double xval) const |
void | module_killing_DB (const Phase2TrackerGeomDetUnit *pixdet) override |
bool | select_hit_latchedMode (const PSimHit &hit, double tCorr, double &sigScale) const |
bool | select_hit_sampledMode (const PSimHit &hit, double tCorr, double &sigScale) const |
double | signalShape (double x) const |
void | storeSignalShape () |
Private Attributes | |
const SiStripBadStrip * | badChannelPayload_ |
edm::ESGetToken< SiStripBadStrip, SiPhase2OuterTrackerBadStripRcd > | badChannelToken_ |
float | deadTime_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
int | hitDetectionMode_ |
std::vector< double > | pulseShapeParameters_ |
std::vector< double > | pulseShapeVec_ |
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleSimRcd > | siPhase2OTLorentzAngleToken_ |
Static Private Attributes | |
static constexpr float | bx_time {25} |
static constexpr size_t | interpolationPoints {1000} |
static constexpr int | interpolationStep {10} |
Definition at line 10 of file SSDigitizerAlgorithm.h.
|
private |
Enumerator | |
---|---|
SquareWindow | |
SampledMode | |
LatchedMode | |
SampledOrLachedMode | |
HIPFindingMode |
Definition at line 22 of file SSDigitizerAlgorithm.h.
SSDigitizerAlgorithm::SSDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 40 of file SSDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::addPixelInefficiency_, badChannelToken_, edm::ConsumesCollector::esConsumes(), edm::ParameterSet::getParameter(), LogDebug, Phase2TrackerDigitizerAlgorithm::pixelFlag_, siPhase2OTLorentzAngleToken_, storeSignalShape(), AlCaHLTBitMon_QueryRunRegistry::string, Phase2TrackerDigitizerAlgorithm::theAdcFullScale_, Phase2TrackerDigitizerAlgorithm::theElectronPerADC_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, Phase2TrackerDigitizerAlgorithm::tMax_, Phase2TrackerDigitizerAlgorithm::use_deadmodule_DB_, and Phase2TrackerDigitizerAlgorithm::use_LorentzAngle_DB_.
|
override |
|
private |
Definition at line 124 of file SSDigitizerAlgorithm.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), funct::cos(), hcaldqm::quantity::fN, mps_fire::i, dqmiolumiharvest::j, funct::pow(), pulseShapeParameters_, alignCSCRings::r, funct::sin(), tauSpinnerTable_cfi::theta, x, and geometryCSVtoXML::xx.
Referenced by signalShape().
|
private |
Definition at line 168 of file SSDigitizerAlgorithm.cc.
References reco::ceil(), mps_fire::i, interpolationStep, pulseShapeVec_, heppy_batch::val, and makeMEIFBenchmarkPlots::xval.
Referenced by select_hit_latchedMode(), and select_hit_sampledMode().
|
overridevirtual |
Implements Phase2TrackerDigitizerAlgorithm.
Definition at line 30 of file SSDigitizerAlgorithm.cc.
References edm::EventSetup::getData().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 189 of file SSDigitizerAlgorithm.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge.
|
overrideprivatevirtual |
Implements Phase2TrackerDigitizerAlgorithm.
Definition at line 197 of file SSDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::_signal, badChannelPayload_, SiStripBadStrip::decodePhase2(), hcalRecHitTable_cff::detId, SiStripBadStrip::data::firstStrip, cms::cuda::for(), GeomDet::geographicalId(), SiStripBadStrip::getRange(), SiStripBadStrip::data::range, isotrackApplyRegressor::range, DetId::rawId(), and alignCSCRings::s.
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 72 of file SSDigitizerAlgorithm.cc.
References hitDetectionMode_, LatchedMode, mps_fire::result, SampledMode, select_hit_latchedMode(), select_hit_sampledMode(), Phase2TrackerDigitizerAlgorithm::theTofLowerCut_, and Phase2TrackerDigitizerAlgorithm::theTofUpperCut_.
|
private |
Definition at line 101 of file SSDigitizerAlgorithm.cc.
References bx_time, deadTime_, getSignalScale(), Phase2TrackerDigitizerAlgorithm::GeVperElectron_, mps_fire::i, DetId::subdetId(), Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, and StripSubdetector::TOB.
Referenced by select_hit().
|
private |
Definition at line 87 of file SSDigitizerAlgorithm.cc.
References bx_time, getSignalScale(), Phase2TrackerDigitizerAlgorithm::GeVperElectron_, DetId::subdetId(), Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, and StripSubdetector::TOB.
Referenced by select_hit().
|
private |
Definition at line 153 of file SSDigitizerAlgorithm.cc.
References cbc3PulsePolarExpansion(), JetChargeProducer_cfi::exp, funct::pow(), pulseShapeParameters_, x, and geometryCSVtoXML::xx.
Referenced by storeSignalShape().
|
private |
Definition at line 161 of file SSDigitizerAlgorithm.cc.
References mps_fire::i, interpolationPoints, interpolationStep, pulseShapeVec_, signalShape(), and heppy_batch::val.
Referenced by SSDigitizerAlgorithm().
|
private |
Definition at line 41 of file SSDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 40 of file SSDigitizerAlgorithm.h.
Referenced by SSDigitizerAlgorithm().
|
staticprivate |
Definition at line 37 of file SSDigitizerAlgorithm.h.
Referenced by select_hit_latchedMode(), and select_hit_sampledMode().
|
private |
Definition at line 34 of file SSDigitizerAlgorithm.h.
Referenced by select_hit_latchedMode().
|
private |
Definition at line 36 of file SSDigitizerAlgorithm.h.
|
private |
Definition at line 31 of file SSDigitizerAlgorithm.h.
Referenced by select_hit().
|
staticprivate |
Definition at line 38 of file SSDigitizerAlgorithm.h.
Referenced by storeSignalShape().
|
staticprivate |
Definition at line 39 of file SSDigitizerAlgorithm.h.
Referenced by getSignalScale(), and storeSignalShape().
|
private |
Definition at line 33 of file SSDigitizerAlgorithm.h.
Referenced by cbc3PulsePolarExpansion(), and signalShape().
|
private |
Definition at line 32 of file SSDigitizerAlgorithm.h.
Referenced by getSignalScale(), and storeSignalShape().
|
private |
Definition at line 35 of file SSDigitizerAlgorithm.h.
Referenced by SSDigitizerAlgorithm().