#include <ThreeThresholdAlgorithm.h>
Public Member Functions | |
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, uint16_t adc, std::vector< SiStripCluster > &out) |
bool | stripByStripBegin (uint32_t id) |
void | stripByStripEnd (std::vector< SiStripCluster > &out) |
Public Member Functions inherited from StripClusterizerAlgorithm | |
void | clusterize (const edm::DetSetVector< SiStripDigi > &, output_t &) |
void | clusterize (const edmNew::DetSetVector< SiStripDigi > &, output_t &) |
virtual void | initialize (const edm::EventSetup &) |
virtual | ~StripClusterizerAlgorithm () |
Private Member Functions | |
void | addToCandidate (const SiStripDigi &) |
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< uint16_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 | isModuleUsable (const uint32_t &id) const |
float | noise (const uint16_t &strip) const |
virtual void | 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 8 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::_setDetId, ADCs, StripClusterizerAlgorithm::qualityLabel, and StripClusterizerAlgorithm::setDetId().
|
inlineprivate |
Definition at line 52 of file ThreeThresholdAlgorithm.cc.
References SiStripDigi::adc(), ADCs, StripClusterizerAlgorithm::bad(), candidateLacksSeed, ChannelThreshold, lastStrip, StripClusterizerAlgorithm::noise(), noiseSquared, SeedThreshold, and SiStripDigi::strip().
Referenced by clusterizeDetUnit_(), and stripByStripAdd().
|
inlineprivate |
Definition at line 101 of file ThreeThresholdAlgorithm.cc.
References ADCs, StripClusterizerAlgorithm::bad(), firstStrip(), lastStrip, max(), and MaxAdjacentBad.
Referenced by endCandidate().
|
inlineprivate |
Definition at line 88 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), ADCs, DeDxDiscriminatorTools::charge(), firstStrip(), StripClusterizerAlgorithm::gain(), and strip().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 80 of file ThreeThresholdAlgorithm.cc.
References ADCs, candidateLacksSeed, ClusterThresholdSquared, noiseSquared, and funct::pow().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 42 of file ThreeThresholdAlgorithm.cc.
References ADCs, StripClusterizerAlgorithm::allBadBetween(), lastStrip, MaxSequentialBad, and MaxSequentialHoles.
Referenced by clusterizeDetUnit_(), and stripByStripAdd().
|
inlineprivate |
Definition at line 38 of file ThreeThresholdAlgorithm.h.
References ADCs, candidateLacksSeed, and noiseSquared.
Referenced by clusterizeDetUnit_(), endCandidate(), and stripByStripBegin().
|
virtual |
Implements StripClusterizerAlgorithm.
Definition at line 110 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_().
|
virtual |
Implements StripClusterizerAlgorithm.
Definition at line 111 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_().
|
inline |
Definition at line 20 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), ApvCleaner, candidateEnded(), SiStripApvShotCleaner::clean(), clearCandidate(), end, endCandidate(), StripClusterizerAlgorithm::isModuleUsable(), RemoveApvShots, and StripClusterizerAlgorithm::setDetId().
|
private |
Referenced by clusterizeDetUnit().
|
inlineprivate |
Definition at line 68 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::_setDetId, ADCs, appendBadNeighbors(), applyGains(), candidateAccepted(), clearCandidate(), StripClusterizerAlgorithm::currentId(), and firstStrip().
Referenced by clusterizeDetUnit_(), stripByStripAdd(), and stripByStripEnd().
|
inlineprivate |
Definition at line 32 of file ThreeThresholdAlgorithm.h.
References ADCs, and lastStrip.
Referenced by appendBadNeighbors(), applyGains(), and endCandidate().
|
inlinevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 124 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), candidateEnded(), and endCandidate().
|
inlinevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 115 of file ThreeThresholdAlgorithm.cc.
References clearCandidate(), StripClusterizerAlgorithm::isModuleUsable(), and StripClusterizerAlgorithm::setDetId().
|
inlinevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 132 of file ThreeThresholdAlgorithm.cc.
References endCandidate().
|
friend |
Definition at line 8 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 26 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), appendBadNeighbors(), applyGains(), candidateAccepted(), candidateEnded(), clearCandidate(), endCandidate(), firstStrip(), and ThreeThresholdAlgorithm().
|
private |
Definition at line 47 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 29 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), candidateAccepted(), and clearCandidate().
|
private |
Definition at line 43 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().
|
private |
Definition at line 43 of file ThreeThresholdAlgorithm.h.
Referenced by candidateAccepted().
|
private |
Definition at line 27 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), appendBadNeighbors(), candidateEnded(), and firstStrip().
|
private |
Definition at line 44 of file ThreeThresholdAlgorithm.h.
Referenced by appendBadNeighbors().
|
private |
Definition at line 44 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 44 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 28 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate(), candidateAccepted(), and clearCandidate().
|
private |
Definition at line 45 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 43 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().