#include <ThreeThresholdAlgorithm.h>
Public Member Functions | |
void | addFed (sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, std::vector< SiStripCluster > &out) |
void | addFed (sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, output_t::FastFiller &out) override |
void | clusterizeDetUnit (const edm::DetSet< SiStripDigi > &, output_t::FastFiller &) |
void | clusterizeDetUnit (const edmNew::DetSet< SiStripDigi > &, output_t::FastFiller &) |
template<class digiDetSet > | |
void | clusterizeDetUnit_ (const digiDetSet &digis, output_t::FastFiller &output) |
void | stripByStripAdd (uint16_t strip, uint8_t adc, std::vector< SiStripCluster > &out) |
void | stripByStripAdd (uint16_t strip, uint8_t adc, output_t::FastFiller &out) override |
bool | stripByStripBegin (uint32_t id) |
void | stripByStripEnd (std::vector< SiStripCluster > &out) |
void | stripByStripEnd (output_t::FastFiller &out) override |
Public Member Functions inherited from StripClusterizerAlgorithm | |
std::vector< uint32_t > const & | allDetIds () const |
SiStripDetCabling const * | cabling () const |
void | clusterize (const edm::DetSetVector< SiStripDigi > &, output_t &) |
void | clusterize (const edmNew::DetSetVector< SiStripDigi > &, output_t &) |
std::vector< const FedChannelConnection * > const & | currentConnection () const |
virtual void | initialize (const edm::EventSetup &) |
virtual | ~StripClusterizerAlgorithm () |
Private Member Functions | |
void | addToCandidate (const SiStripDigi &digi) |
void | addToCandidate (uint16_t strip, uint8_t adc) |
void | appendBadNeighbors () |
void | applyGains () |
bool | candidateAccepted () const |
bool | candidateEnded (const uint16_t &) const |
void | clearCandidate () |
template<class T > | |
void | clusterizeDetUnit_ (const T &, output_t::FastFiller &) |
template<class T > | |
void | endCandidate (T &) |
uint16_t | firstStrip () const |
ThreeThresholdAlgorithm (float, float, float, unsigned, unsigned, unsigned, std::string qualityLabel, bool setDetId, bool removeApvShots=false) | |
Private Attributes | |
std::vector< uint8_t > | ADCs |
SiStripApvShotCleaner | ApvCleaner |
bool | candidateLacksSeed |
float | ChannelThreshold |
float | ClusterThresholdSquared |
uint16_t | lastStrip |
uint8_t | MaxAdjacentBad |
uint8_t | MaxSequentialBad |
uint8_t | MaxSequentialHoles |
float | noiseSquared |
bool | RemoveApvShots |
float | SeedThreshold |
Friends | |
class | StripClusterizerAlgorithmFactory |
Additional Inherited Members | |
Public Types inherited from StripClusterizerAlgorithm | |
typedef edmNew::DetSetVector < SiStripCluster > | output_t |
Protected Member Functions inherited from StripClusterizerAlgorithm | |
bool | allBadBetween (uint16_t L, const uint16_t &R) const |
bool | bad (const uint16_t &strip) const |
uint32_t | currentId () |
float | gain (const uint16_t &strip) const |
bool | isModuleBad (const uint32_t &id) const |
bool | isModuleUsable (const uint32_t &id) const |
float | noise (const uint16_t &strip) const |
bool | setDetId (const uint32_t) |
StripClusterizerAlgorithm () | |
Protected Attributes inherited from StripClusterizerAlgorithm | |
bool | _setDetId |
std::string | qualityLabel |
Definition at line 6 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 9 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::_setDetId, ADCs, StripClusterizerAlgorithm::qualityLabel, and StripClusterizerAlgorithm::setDetId().
|
inlinevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 20 of file ThreeThresholdAlgorithm.h.
References sistrip::FEDZSChannelUnpacker::adc(), sistrip::FEDZSChannelUnpacker::hasData(), dbtoconf::out, sistrip::FEDZSChannelUnpacker::sampleNumber(), and stripByStripAdd().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 28 of file ThreeThresholdAlgorithm.h.
References sistrip::FEDZSChannelUnpacker::adc(), sistrip::FEDZSChannelUnpacker::hasData(), dbtoconf::out, sistrip::FEDZSChannelUnpacker::sampleNumber(), and stripByStripAdd().
|
inlineprivate |
Definition at line 64 of file ThreeThresholdAlgorithm.h.
References SiStripDigi::adc(), addToCandidate(), and SiStripDigi::strip().
Referenced by addToCandidate(), clusterizeDetUnit_(), and stripByStripAdd().
|
inlineprivate |
Definition at line 62 of file ThreeThresholdAlgorithm.cc.
References ADCs, StripClusterizerAlgorithm::bad(), candidateLacksSeed, ChannelThreshold, lastStrip, StripClusterizerAlgorithm::noise(), noiseSquared, and SeedThreshold.
|
inlineprivate |
Definition at line 112 of file ThreeThresholdAlgorithm.cc.
References ADCs, StripClusterizerAlgorithm::bad(), firstStrip(), lastStrip, max(), and MaxAdjacentBad.
Referenced by endCandidate().
|
inlineprivate |
Definition at line 97 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), ADCs, DeDxDiscriminatorTools::charge(), f, firstStrip(), and StripClusterizerAlgorithm::gain().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 89 of file ThreeThresholdAlgorithm.cc.
References ADCs, candidateLacksSeed, ClusterThresholdSquared, noiseSquared, and funct::pow().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 49 of file ThreeThresholdAlgorithm.cc.
References ADCs, StripClusterizerAlgorithm::allBadBetween(), lastStrip, MaxSequentialBad, and MaxSequentialHoles.
Referenced by clusterizeDetUnit_(), and stripByStripAdd().
|
inlineprivate |
Definition at line 63 of file ThreeThresholdAlgorithm.h.
References ADCs, candidateLacksSeed, and noiseSquared.
Referenced by clusterizeDetUnit_(), endCandidate(), and stripByStripBegin().
|
virtual |
Implements StripClusterizerAlgorithm.
Definition at line 121 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_().
|
virtual |
Implements StripClusterizerAlgorithm.
Definition at line 122 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_().
|
inline |
Definition at line 21 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), ApvCleaner, candidateEnded(), SiStripApvShotCleaner::clean(), clearCandidate(), end, endCandidate(), StripClusterizerAlgorithm::isModuleBad(), StripClusterizerAlgorithm::isModuleUsable(), RemoveApvShots, and StripClusterizerAlgorithm::setDetId().
|
private |
Referenced by clusterizeDetUnit().
|
inlineprivate |
Definition at line 78 of file ThreeThresholdAlgorithm.cc.
References ADCs, appendBadNeighbors(), applyGains(), candidateAccepted(), clearCandidate(), and firstStrip().
Referenced by clusterizeDetUnit_(), stripByStripAdd(), and stripByStripEnd().
|
inlineprivate |
Definition at line 57 of file ThreeThresholdAlgorithm.h.
References ADCs, and lastStrip.
Referenced by appendBadNeighbors(), applyGains(), and endCandidate().
|
inlinevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 137 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), candidateEnded(), and endCandidate().
Referenced by addFed().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 35 of file ThreeThresholdAlgorithm.h.
References addToCandidate(), candidateEnded(), and endCandidate().
|
inlinevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 126 of file ThreeThresholdAlgorithm.cc.
References clearCandidate(), StripClusterizerAlgorithm::isModuleUsable(), and StripClusterizerAlgorithm::setDetId().
|
inlinevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 144 of file ThreeThresholdAlgorithm.cc.
References endCandidate().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 40 of file ThreeThresholdAlgorithm.h.
References endCandidate().
|
friend |
Definition at line 8 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 51 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), appendBadNeighbors(), applyGains(), candidateAccepted(), candidateEnded(), clearCandidate(), endCandidate(), firstStrip(), and ThreeThresholdAlgorithm().
|
private |
Definition at line 73 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 54 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), candidateAccepted(), and clearCandidate().
|
private |
Definition at line 69 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().
|
private |
Definition at line 69 of file ThreeThresholdAlgorithm.h.
Referenced by candidateAccepted().
|
private |
Definition at line 52 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), appendBadNeighbors(), candidateEnded(), and firstStrip().
|
private |
Definition at line 70 of file ThreeThresholdAlgorithm.h.
Referenced by appendBadNeighbors().
|
private |
Definition at line 70 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 70 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 53 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), candidateAccepted(), and clearCandidate().
|
private |
Definition at line 71 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 69 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().