18 if (use_LorentzAngle_DB_)
19 siPhase2OTLorentzAngle_ = &es.
getData(siPhase2OTLorentzAngleToken_);
21 if (use_deadmodule_DB_)
22 badChannelPayload_ = &es.
getData(badChannelToken_);
24 geom_ = &es.
getData(geomToken_);
28 conf.getParameter<
ParameterSet>(
"PSSDigitizerAlgorithm"),
36 .getUntrackedParameter<std::string>(
"BadChannelLabel",
"");
41 LogDebug(
"PSSDigitizerAlgorithm") <<
"Algorithm constructed " 42 <<
"Configuration parameters: " 43 <<
"Threshold/Gain = " 54 double toa =
hit.tof() - tCorr;
75 for (std::vector<unsigned int>::const_iterator badChannel =
range.first; badChannel !=
range.second; ++badChannel) {
80 for (
auto&
s : theSignal) {
81 auto& channel =
s.first;
82 if (channel == firstStrip +
index)
T getParameter(std::string const &) const
const float theElectronPerADC_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
for(int i=first, nt=offsets[nh];i< nt;i+=gridDim.x *blockDim.x)
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 Range getRange(const uint32_t detID) const
std::map< int, digitizerUtility::Ph2Amplitude, std::less< int > > signal_map_type
const bool use_LorentzAngle_DB_
const bool use_deadmodule_DB_
const SiStripBadStrip * badChannelPayload_
void module_killing_DB(const Phase2TrackerGeomDetUnit *pixdet) override
const bool addPixelInefficiency_
const float theThresholdInE_Barrel_
DetId geographicalId() const
The label of this GeomDet.
const float theTofLowerCut_
unsigned short firstStrip
constexpr uint32_t rawId() const
get the raw id
data decodePhase2(const unsigned int &value) const
~PSSDigitizerAlgorithm() override
std::pair< ContainerIterator, ContainerIterator > Range
const int theAdcFullScale_
edm::ESGetToken< SiStripBadStrip, SiPhase2OuterTrackerBadStripRcd > badChannelToken_
PSSDigitizerAlgorithm(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
bool isAboveThreshold(const digitizerUtility::SimHitInfo *hitInfo, float charge, float thr) const override
const float theTofUpperCut_