23 ClusterThresholdSquared(cluster * cluster),
28 minGoodCharge(minGoodCharge) {}
30 template <
class digiDetSet>
33 if (
cond.isModuleBad(digis.detId()))
36 auto const& det =
cond.findDetId(digis.detId());
41 if (!
cond.isModuleUsable(digis.detId()))
42 edm::LogWarning(
"ThreeThresholdAlgorithm") <<
" id " << digis.detId() <<
" not usable???" << std::endl;
45 typename digiDetSet::const_iterator scan(digis.begin()),
end(digis.end());
62 uint16_t holes = testStrip -
state.lastStrip - 1;
63 return (((!
state.ADCs.empty()) &
67 !
state.det().allBadBetween(
state.lastStrip, testStrip)
76 if (
state.candidateLacksSeed)
78 if (
state.ADCs.empty())
81 state.ADCs.push_back(0);
101 return (!
state.candidateLacksSeed &&
126 state.ADCs.push_back(0);
144 std::vector<SiStripCluster>&
out)
const {
float ClusterThresholdSquared
void stripByStripEnd(State &state, std::vector< SiStripCluster > &out) const override
void stripByStripAdd(State &state, uint16_t strip, uint8_t adc, std::vector< SiStripCluster > &out) const override
bool candidateAccepted(State const &state) const
void clearCandidate(State &state) const
void addToCandidate(State &state, const SiStripDigi &digi) const
const SiStripClusterizerConditions & conditions() const
void clusterizeDetUnit_(const T &, output_t::TSFastFiller &) const
void appendBadNeighbors(State &state) const
uint16_t firstStrip(State const &state) const
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
void clusterizeDetUnit(const edm::DetSet< SiStripDigi > &, output_t::TSFastFiller &) const override
uint8_t MaxSequentialHoles
void applyGains(State &state) const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
void endCandidate(State &state, T &) const
while(__syncthreads_or(more))
bool clean(const edmNew::DetSet< SiStripDigi > &in, edmNew::DetSet< SiStripDigi >::const_iterator &scan, edmNew::DetSet< SiStripDigi >::const_iterator &end)
Log< level::Warning, false > LogWarning
ThreeThresholdAlgorithm(const edm::ESGetToken< SiStripClusterizerConditions, SiStripClusterizerConditionsRcd > &, float, float, float, unsigned, unsigned, unsigned, bool removeApvShots, float minGoodCharge)
Power< A, B >::type pow(const A &a, const B &b)
bool candidateEnded(State const &state, const uint16_t &) const
uint16_t *__restrict__ uint16_t const *__restrict__ adc