Go to the documentation of this file.
21 ClusterThresholdSquared(cluster * cluster),
26 minGoodCharge(minGoodCharge) {
30 template <
class digiDetSet>
35 auto const& det =
findDetId(digis.detId());
41 edm::LogWarning(
"ThreeThresholdAlgorithm") <<
" id " << digis.detId() <<
" not usable???" << std::endl;
44 typename digiDetSet::const_iterator scan(digis.begin()),
end(digis.end());
60 uint16_t holes = testStrip - state.
lastStrip - 1;
61 return (((!state.
ADCs.empty()) &
76 if (state.
ADCs.empty())
79 state.
ADCs.push_back(0);
119 state.
ADCs.insert(state.
ADCs.begin(), 0);
122 state.
ADCs.push_back(0);
142 std::vector<SiStripCluster>&
out)
const {
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
void addToCandidate(State &state, const SiStripDigi &digi) const
bool candidateAccepted(State const &state) const
void endCandidate(State &state, T &) const
bool candidateEnded(State const &state, const uint16_t &) const
bool allBadBetween(uint16_t L, const uint16_t &R) const
void appendBadNeighbors(State &state) const
ThreeThresholdAlgorithm(float, float, float, unsigned, unsigned, unsigned, std::string qualityLabel, bool removeApvShots, float minGoodCharge)
float ClusterThresholdSquared
void stripByStripEnd(State &state, std::vector< SiStripCluster > &out) const override
uint16_t firstStrip(State const &state) const
void clusterizeDetUnit(const edm::DetSet< SiStripDigi > &, output_t::TSFastFiller &) const override
std::vector< uint8_t > ADCs
void applyGains(State &state) const
void stripByStripAdd(State &state, uint16_t strip, uint8_t adc, std::vector< SiStripCluster > &out) const override
void clusterizeDetUnit_(const T &, output_t::TSFastFiller &) const
Det findDetId(const uint32_t) const
void clearCandidate(State &state) const
float gain(const uint16_t &strip) const
Det stripByStripBegin(uint32_t id) const override
bool clean(const edmNew::DetSet< SiStripDigi > &in, edmNew::DetSet< SiStripDigi >::const_iterator &scan, edmNew::DetSet< SiStripDigi >::const_iterator &end)
bool bad(const uint16_t &strip) const
bool isModuleBad(const uint32_t &id) const
float noise(const uint16_t &strip) const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi....
bool isModuleUsable(const uint32_t &id) const
uint8_t MaxSequentialHoles
Power< A, B >::type pow(const A &a, const B &b)
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...