#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 |
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 StripClusterizerAlgorithm::qualityLabel.
|
inline |
Definition at line 23 of file ThreeThresholdAlgorithm.h.
References sistrip::FEDZSChannelUnpacker::adc(), sistrip::FEDZSChannelUnpacker::hasData(), GenerateHcalLaserBadRunList::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(), GenerateHcalLaserBadRunList::out, sistrip::FEDZSChannelUnpacker::sampleNumber(), and stripByStripAdd().
|
inlineprivate |
Definition at line 62 of file ThreeThresholdAlgorithm.h.
References SiStripDigi::adc(), addToCandidate(), and SiStripDigi::strip().
Referenced by addToCandidate(), 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(), StripClusterizerAlgorithm::State::lastStrip, StripClusterizerAlgorithm::Det::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, bookConverter::max, and MaxAdjacentBad.
Referenced by endCandidate().
|
inlineprivate |
Definition at line 101 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), StripClusterizerAlgorithm::State::ADCs, RecoTauCleanerPlugins::charge, StripClusterizerAlgorithm::State::det(), firstStrip(), and StripClusterizerAlgorithm::Det::gain().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 93 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::State::candidateLacksSeed, ClusterThresholdSquared, StripClusterizerAlgorithm::State::noiseSquared, and funct::pow().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 52 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::Det::allBadBetween(), StripClusterizerAlgorithm::State::det(), StripClusterizerAlgorithm::State::lastStrip, MaxSequentialBad, and MaxSequentialHoles.
Referenced by clusterizeDetUnit_(), 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_().
|
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().
|
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 clusterizeDetUnit_(), stripByStripAdd(), and stripByStripEnd().
|
inlineprivate |
Definition at line 55 of file ThreeThresholdAlgorithm.h.
References StripClusterizerAlgorithm::State::ADCs, 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(), and endCandidate().
Referenced by addFed().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 38 of file ThreeThresholdAlgorithm.h.
References addToCandidate(), candidateEnded(), and endCandidate().
|
virtual |
Implements StripClusterizerAlgorithm.
Definition at line 130 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::findDetId().
|
overridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 143 of file ThreeThresholdAlgorithm.cc.
References endCandidate().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 43 of file ThreeThresholdAlgorithm.h.
References endCandidate().
|
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().
|
private |
Definition at line 69 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 67 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().