#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 |
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 | |
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 9 of file SSDigitizerAlgorithm.h.
|
private |
Enumerator | |
---|---|
SquareWindow | |
SampledMode | |
LatchedMode | |
SampledOrLachedMode | |
HIPFindingMode |
Definition at line 21 of file SSDigitizerAlgorithm.h.
SSDigitizerAlgorithm::SSDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 36 of file SSDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::addPixelInefficiency_, edm::ConsumesCollector::esConsumes(), LogDebug, Phase2TrackerDigitizerAlgorithm::pixelFlag_, siPhase2OTLorentzAngleToken_, storeSignalShape(), Phase2TrackerDigitizerAlgorithm::theAdcFullScale_, Phase2TrackerDigitizerAlgorithm::theElectronPerADC_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, Phase2TrackerDigitizerAlgorithm::tMax_, and Phase2TrackerDigitizerAlgorithm::use_LorentzAngle_DB_.
|
override |
|
private |
Definition at line 113 of file SSDigitizerAlgorithm.cc.
References funct::cos(), hcaldqm::quantity::fN, mps_fire::i, dqmiolumiharvest::j, funct::pow(), pulseShapeParameters_, alignCSCRings::r, funct::sin(), metsig::tau, theta(), x, phase1PixelTopology::xOffset, and geometryCSVtoXML::xx.
Referenced by signalShape().
|
private |
Definition at line 157 of file SSDigitizerAlgorithm.cc.
References reco::ceil(), mps_fire::i, interpolationStep, pulseShapeVec_, pileupCalc::upper, and heppy_batch::val.
Referenced by select_hit_latchedMode(), and select_hit_sampledMode().
|
overridevirtual |
Implements Phase2TrackerDigitizerAlgorithm.
Definition at line 28 of file SSDigitizerAlgorithm.cc.
References edm::EventSetup::getData().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 178 of file SSDigitizerAlgorithm.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge.
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 61 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 90 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 76 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 142 of file SSDigitizerAlgorithm.cc.
References cbc3PulsePolarExpansion(), JetChargeProducer_cfi::exp, funct::pow(), pulseShapeParameters_, metsig::tau, x, phase1PixelTopology::xOffset, and geometryCSVtoXML::xx.
Referenced by storeSignalShape().
|
private |
Definition at line 150 of file SSDigitizerAlgorithm.cc.
References mps_fire::i, interpolationPoints, interpolationStep, pulseShapeVec_, signalShape(), and heppy_batch::val.
Referenced by SSDigitizerAlgorithm().
|
staticconstexprprivate |
Definition at line 35 of file SSDigitizerAlgorithm.h.
Referenced by select_hit_latchedMode(), and select_hit_sampledMode().
|
private |
Definition at line 32 of file SSDigitizerAlgorithm.h.
Referenced by select_hit_latchedMode().
|
private |
Definition at line 34 of file SSDigitizerAlgorithm.h.
|
private |
Definition at line 29 of file SSDigitizerAlgorithm.h.
Referenced by select_hit().
|
staticconstexprprivate |
Definition at line 36 of file SSDigitizerAlgorithm.h.
Referenced by storeSignalShape().
|
staticconstexprprivate |
Definition at line 37 of file SSDigitizerAlgorithm.h.
Referenced by getSignalScale(), and storeSignalShape().
|
private |
Definition at line 31 of file SSDigitizerAlgorithm.h.
Referenced by cbc3PulsePolarExpansion(), and signalShape().
|
private |
Definition at line 30 of file SSDigitizerAlgorithm.h.
Referenced by getSignalScale(), and storeSignalShape().
|
private |
Definition at line 33 of file SSDigitizerAlgorithm.h.
Referenced by SSDigitizerAlgorithm().