24 ClusterThresholdSquared(cluster * cluster),
30 minGoodCharge(minGoodCharge) {}
32 template <
class digiDetSet>
35 if (
cond.isModuleBad(digis.detId()))
38 auto const& det =
cond.findDetId(digis.detId());
43 if (!
cond.isModuleUsable(digis.detId()))
44 edm::LogWarning(
"ThreeThresholdAlgorithm") <<
" id " << digis.detId() <<
" not usable???" << std::endl;
47 typename digiDetSet::const_iterator scan(digis.begin()),
end(digis.end());
64 uint16_t holes = testStrip -
state.lastStrip - 1;
65 return (((!
state.ADCs.empty()) &
69 !
state.det().allBadBetween(
state.lastStrip, testStrip)
78 if (
state.candidateLacksSeed)
80 if (
state.ADCs.empty())
83 state.ADCs.push_back(0);
129 state.ADCs.push_back(0);
136 output_t::TSFastFiller&
output)
const {
140 output_t::TSFastFiller&
output)
const {
147 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
Power< A, B >::type pow(const A &a, const B &b)
bool candidateEnded(State const &state, const uint16_t &) const
ThreeThresholdAlgorithm(const edm::ESGetToken< SiStripClusterizerConditions, SiStripClusterizerConditionsRcd > &, float, float, float, unsigned, unsigned, unsigned, unsigned, bool removeApvShots, float minGoodCharge)
uint16_t *__restrict__ uint16_t const *__restrict__ adc