#include <PSPDigitizerAlgorithm.h>
Public Member Functions | |
void | init (const edm::EventSetup &es) override |
bool | isAboveThreshold (const digitizerUtility::SimHitInfo *hitInfo, float charge, float thr) const override |
bool | isInBiasRailRegion (const PSimHit &hit) const |
void | module_killing_DB (const Phase2TrackerGeomDetUnit *pixdet) override |
PSPDigitizerAlgorithm (const edm::ParameterSet &conf, edm::ConsumesCollector iC) | |
bool | select_hit (const PSimHit &hit, double tCorr, double &sigScale) const override |
~PSPDigitizerAlgorithm () 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 Attributes | |
const int | biasRailInefficiencyFlag_ {0} |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleSimRcd > | siPhase2OTLorentzAngleToken_ |
Definition at line 9 of file PSPDigitizerAlgorithm.h.
PSPDigitizerAlgorithm::PSPDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 23 of file PSPDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::addPixelInefficiency_, biasRailInefficiencyFlag_, edm::ConsumesCollector::esConsumes(), LogDebug, Phase2TrackerDigitizerAlgorithm::pixelFlag_, siPhase2OTLorentzAngleToken_, Phase2TrackerDigitizerAlgorithm::theAdcFullScale_, Phase2TrackerDigitizerAlgorithm::theElectronPerADC_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, Phase2TrackerDigitizerAlgorithm::tMax_, and Phase2TrackerDigitizerAlgorithm::use_LorentzAngle_DB_.
|
override |
|
overridevirtual |
Implements Phase2TrackerDigitizerAlgorithm.
Definition at line 15 of file PSPDigitizerAlgorithm.cc.
References edm::EventSetup::getData().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 55 of file PSPDigitizerAlgorithm.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge.
bool PSPDigitizerAlgorithm::isInBiasRailRegion | ( | const PSimHit & | hit | ) | const |
Definition at line 63 of file PSPDigitizerAlgorithm.cc.
References biasRailInefficiencyFlag_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), mps_fire::result, and hit::y.
Referenced by select_hit().
|
overridevirtual |
Implements Phase2TrackerDigitizerAlgorithm.
Definition at line 85 of file PSPDigitizerAlgorithm.cc.
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 46 of file PSPDigitizerAlgorithm.cc.
References biasRailInefficiencyFlag_, isInBiasRailRegion(), Phase2TrackerDigitizerAlgorithm::theTofLowerCut_, and Phase2TrackerDigitizerAlgorithm::theTofUpperCut_.
|
private |
Definition at line 25 of file PSPDigitizerAlgorithm.h.
Referenced by isInBiasRailRegion(), PSPDigitizerAlgorithm(), and select_hit().
|
private |
Definition at line 24 of file PSPDigitizerAlgorithm.h.
|
private |
Definition at line 23 of file PSPDigitizerAlgorithm.h.
Referenced by PSPDigitizerAlgorithm().