16 if (use_LorentzAngle_DB_) {
17 siPhase2OTLorentzAngle_ = &es.
getData(siPhase2OTLorentzAngleToken_);
20 geom_ = &es.
getData(geomToken_);
25 conf.getParameter<
ParameterSet>(
"PSPDigitizerAlgorithm"),
31 LogDebug(
"PSPDigitizerAlgorithm") <<
"Algorithm constructed "
32 <<
"Configuration parameters:"
33 <<
"Threshold/Gain = "
44 double toa = hit.
tof() - tCorr;
53 return (charge >= thr);
float tof() const
deprecated name for timeOfFlight()
const float theElectronPerADC_
void init(const edm::EventSetup &es) override
const float theThresholdInE_Endcap_
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleSimRcd > siPhase2OTLorentzAngleToken_
bool select_hit(const PSimHit &hit, double tCorr, double &sigScale) const override
const bool use_LorentzAngle_DB_
bool getData(T &iHolder) const
const bool addPixelInefficiency_
const float theThresholdInE_Barrel_
PSPDigitizerAlgorithm(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
const float theTofLowerCut_
~PSPDigitizerAlgorithm() override
bool isAboveThreshold(const DigitizerUtility::SimHitInfo *hitInfo, float charge, float thr) const override
const int theAdcFullScale_
const float theTofUpperCut_