#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) | |
~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) | |
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_ |
int | hitDetectionMode_ |
std::vector< double > | pulseShapeParameters_ |
std::vector< double > | pulseShapeVec_ |
Static Private Attributes | |
static constexpr float | bx_time {25} |
static constexpr size_t | interpolationPoints {1000} |
static constexpr int | interpolationStep {10} |
Definition at line 6 of file SSDigitizerAlgorithm.h.
|
private |
Enumerator | |
---|---|
SquareWindow | |
SampledMode | |
LatchedMode | |
SampledOrLachedMode | |
HIPFindingMode |
Definition at line 18 of file SSDigitizerAlgorithm.h.
SSDigitizerAlgorithm::SSDigitizerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 38 of file SSDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::addPixelInefficiency_, LogDebug, Phase2TrackerDigitizerAlgorithm::pixelFlag_, storeSignalShape(), Phase2TrackerDigitizerAlgorithm::theAdcFullScale_, Phase2TrackerDigitizerAlgorithm::theElectronPerADC_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, and Phase2TrackerDigitizerAlgorithm::tMax_.
|
override |
|
private |
Definition at line 111 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 155 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 30 of file SSDigitizerAlgorithm.cc.
References edm::EventSetup::get(), and edm::get().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 176 of file SSDigitizerAlgorithm.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge.
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 59 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 88 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 74 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 140 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 148 of file SSDigitizerAlgorithm.cc.
References mps_fire::i, interpolationPoints, interpolationStep, pulseShapeVec_, signalShape(), and heppy_batch::val.
Referenced by SSDigitizerAlgorithm().
|
staticconstexprprivate |
Definition at line 30 of file SSDigitizerAlgorithm.h.
Referenced by select_hit_latchedMode(), and select_hit_sampledMode().
|
private |
Definition at line 29 of file SSDigitizerAlgorithm.h.
Referenced by select_hit_latchedMode().
|
private |
Definition at line 26 of file SSDigitizerAlgorithm.h.
Referenced by select_hit().
|
staticconstexprprivate |
Definition at line 31 of file SSDigitizerAlgorithm.h.
Referenced by storeSignalShape().
|
staticconstexprprivate |
Definition at line 32 of file SSDigitizerAlgorithm.h.
Referenced by getSignalScale(), and storeSignalShape().
|
private |
Definition at line 28 of file SSDigitizerAlgorithm.h.
Referenced by cbc3PulsePolarExpansion(), and signalShape().
|
private |
Definition at line 27 of file SSDigitizerAlgorithm.h.
Referenced by getSignalScale(), and storeSignalShape().