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