#include <ThreeThresholdAlgorithm.h>
Public Types | |
using | Det = StripClusterizerAlgorithm::Det |
using | State = StripClusterizerAlgorithm::State |
Public Types inherited from StripClusterizerAlgorithm | |
typedef edmNew::DetSetVector< SiStripCluster > | output_t |
Public Member Functions | |
void | addFed (State &state, sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, std::vector< SiStripCluster > &out) const |
void | addFed (State &state, sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, output_t::TSFastFiller &out) const override |
void | clusterizeDetUnit (const edm::DetSet< SiStripDigi > &, output_t::TSFastFiller &) const override |
void | clusterizeDetUnit (const edmNew::DetSet< SiStripDigi > &, output_t::TSFastFiller &) const override |
template<class digiDetSet > | |
void | clusterizeDetUnit_ (const digiDetSet &digis, output_t::TSFastFiller &output) const |
void | stripByStripAdd (State &state, uint16_t strip, uint8_t adc, std::vector< SiStripCluster > &out) const override |
void | stripByStripAdd (State &state, uint16_t strip, uint8_t adc, output_t::TSFastFiller &out) const override |
Det | stripByStripBegin (uint32_t id) const override |
void | stripByStripEnd (State &state, std::vector< SiStripCluster > &out) const override |
void | stripByStripEnd (State &state, output_t::TSFastFiller &out) const override |
Public Member Functions inherited from StripClusterizerAlgorithm | |
virtual void | addFed (Det const &det, sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, std::vector< SiStripCluster > &out) const |
std::vector< uint32_t > const & | allDetIds () const |
SiStripDetCabling const * | cabling () const |
void | clusterize (const edm::DetSetVector< SiStripDigi > &, output_t &) const |
void | clusterize (const edmNew::DetSetVector< SiStripDigi > &, output_t &) const |
std::vector< const FedChannelConnection * > const & | currentConnection (const Det &det) const |
virtual void | initialize (const edm::EventSetup &) |
virtual | ~StripClusterizerAlgorithm () |
Private Member Functions | |
void | addToCandidate (State &state, const SiStripDigi &digi) const |
void | addToCandidate (State &state, uint16_t strip, uint8_t adc) const |
void | appendBadNeighbors (State &state) const |
void | applyGains (State &state) const |
bool | candidateAccepted (State const &state) const |
bool | candidateEnded (State const &state, const uint16_t &) const |
void | clearCandidate (State &state) const |
template<class T > | |
void | clusterizeDetUnit_ (const T &, output_t::TSFastFiller &) const |
template<class T > | |
void | endCandidate (State &state, T &) const |
uint16_t | firstStrip (State const &state) const |
ThreeThresholdAlgorithm (float, float, float, unsigned, unsigned, unsigned, std::string qualityLabel, bool removeApvShots, float minGoodCharge) | |
Private Attributes | |
float | ChannelThreshold |
float | ClusterThresholdSquared |
uint8_t | MaxAdjacentBad |
uint8_t | MaxSequentialBad |
uint8_t | MaxSequentialHoles |
float | minGoodCharge |
bool | RemoveApvShots |
float | SeedThreshold |
Friends | |
class | StripClusterizerAlgorithmFactory |
Additional Inherited Members | |
Static Public Attributes inherited from StripClusterizerAlgorithm | |
static unsigned short | invalidI = std::numeric_limits<unsigned short>::max() |
Protected Member Functions inherited from StripClusterizerAlgorithm | |
Det | findDetId (const uint32_t) const |
bool | isModuleBad (const uint32_t &id) const |
bool | isModuleUsable (const uint32_t &id) const |
StripClusterizerAlgorithm () | |
Protected Attributes inherited from StripClusterizerAlgorithm | |
std::string | qualityLabel |
Definition at line 6 of file ThreeThresholdAlgorithm.h.
Definition at line 13 of file ThreeThresholdAlgorithm.h.
Definition at line 12 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 11 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_(), and StripClusterizerAlgorithm::qualityLabel.
Referenced by stripByStripEnd().
|
inline |
Definition at line 23 of file ThreeThresholdAlgorithm.h.
References sistrip::FEDZSChannelUnpacker::adc(), StripClusterizerAlgorithm::addFed(), sistrip::FEDZSChannelUnpacker::hasData(), MillePedeFileConverter_cfg::out, sistrip::FEDZSChannelUnpacker::sampleNumber(), and stripByStripAdd().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 31 of file ThreeThresholdAlgorithm.h.
References sistrip::FEDZSChannelUnpacker::adc(), sistrip::FEDZSChannelUnpacker::hasData(), MillePedeFileConverter_cfg::out, sistrip::FEDZSChannelUnpacker::sampleNumber(), and stripByStripAdd().
|
inlineprivate |
Definition at line 62 of file ThreeThresholdAlgorithm.h.
References ecalMGPA::adc(), SiStripDigi::adc(), addToCandidate(), appendBadNeighbors(), applyGains(), digitizers_cfi::strip, and SiStripDigi::strip().
Referenced by addToCandidate(), candidateEnded(), clusterizeDetUnit_(), and stripByStripAdd().
|
inlineprivate |
Definition at line 65 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::Det::bad(), StripClusterizerAlgorithm::State::candidateLacksSeed, ChannelThreshold, StripClusterizerAlgorithm::State::det(), endCandidate(), StripClusterizerAlgorithm::State::lastStrip, StripClusterizerAlgorithm::Det::noise(), SiStripSimParameters_cfi::Noise, StripClusterizerAlgorithm::State::noiseSquared, and SeedThreshold.
|
inlineprivate |
Definition at line 116 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::Det::bad(), StripClusterizerAlgorithm::State::det(), firstStrip(), StripClusterizerAlgorithm::State::lastStrip, SiStripPI::max, and MaxAdjacentBad.
Referenced by addToCandidate(), applyGains(), and endCandidate().
|
inlineprivate |
Definition at line 101 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), StripClusterizerAlgorithm::State::ADCs, appendBadNeighbors(), ALCARECOTkAlJpsiMuMu_cff::charge, StripClusterizerAlgorithm::State::det(), firstStrip(), StripClusterizerAlgorithm::Det::gain(), createfilelist::int, and digitizers_cfi::strip.
Referenced by addToCandidate(), candidateAccepted(), and endCandidate().
|
inlineprivate |
Definition at line 93 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, applyGains(), StripClusterizerAlgorithm::State::candidateLacksSeed, ClusterThresholdSquared, createfilelist::int, StripClusterizerAlgorithm::State::noiseSquared, and funct::pow().
Referenced by endCandidate(), and firstStrip().
|
inlineprivate |
Definition at line 52 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, addToCandidate(), StripClusterizerAlgorithm::Det::allBadBetween(), StripClusterizerAlgorithm::State::det(), StripClusterizerAlgorithm::State::lastStrip, MaxSequentialBad, and MaxSequentialHoles.
Referenced by clusterizeDetUnit_(), firstStrip(), and stripByStripAdd().
|
inlineprivate |
Definition at line 61 of file ThreeThresholdAlgorithm.h.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::State::candidateLacksSeed, and StripClusterizerAlgorithm::State::noiseSquared.
Referenced by endCandidate().
|
overridevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 125 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_().
|
overridevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 126 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_(), and stripByStripBegin().
|
inline |
Definition at line 21 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), candidateEnded(), SiStripApvShotCleaner::clean(), end, endCandidate(), StripClusterizerAlgorithm::findDetId(), StripClusterizerAlgorithm::isModuleBad(), StripClusterizerAlgorithm::isModuleUsable(), and RemoveApvShots.
|
private |
Referenced by clusterizeDetUnit(), stripByStripEnd(), and ThreeThresholdAlgorithm().
|
inlineprivate |
Definition at line 81 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, appendBadNeighbors(), applyGains(), candidateAccepted(), siStripClusterTools::chargePerCM(), clearCandidate(), StripClusterizerAlgorithm::State::det(), StripClusterizerAlgorithm::Det::detId, firstStrip(), and minGoodCharge.
Referenced by addToCandidate(), clusterizeDetUnit_(), firstStrip(), stripByStripAdd(), and stripByStripEnd().
|
inlineprivate |
Definition at line 55 of file ThreeThresholdAlgorithm.h.
References StripClusterizerAlgorithm::State::ADCs, candidateAccepted(), candidateEnded(), endCandidate(), and StripClusterizerAlgorithm::State::lastStrip.
Referenced by appendBadNeighbors(), applyGains(), and endCandidate().
|
overridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 136 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), candidateEnded(), endCandidate(), and stripByStripEnd().
Referenced by addFed(), and stripByStripBegin().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 38 of file ThreeThresholdAlgorithm.h.
References addToCandidate(), candidateEnded(), and endCandidate().
|
overridevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 130 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::findDetId(), and stripByStripAdd().
Referenced by clusterizeDetUnit().
|
overridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 143 of file ThreeThresholdAlgorithm.cc.
References endCandidate().
Referenced by stripByStripAdd().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 43 of file ThreeThresholdAlgorithm.h.
References clusterizeDetUnit_(), endCandidate(), minGoodCharge, StripClusterizerAlgorithm::qualityLabel, AlCaHLTBitMon_QueryRunRegistry::string, ThreeThresholdAlgorithm(), and edmNew::DetSetVector< SiStripCluster >::TSFastFiller.
|
friend |
Definition at line 8 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 67 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().
|
private |
Definition at line 67 of file ThreeThresholdAlgorithm.h.
Referenced by candidateAccepted().
|
private |
Definition at line 68 of file ThreeThresholdAlgorithm.h.
Referenced by appendBadNeighbors().
|
private |
Definition at line 68 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 68 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 70 of file ThreeThresholdAlgorithm.h.
Referenced by endCandidate(), and stripByStripEnd().
|
private |
Definition at line 69 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 67 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().