#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 | clusterizeDetUnit (const edm::DetSet< SiStripDigi > &, output_t::TSFastFiller &) const override |
void | clusterizeDetUnit (const edmNew::DetSet< SiStripDigi > &, output_t::TSFastFiller &) const override |
void | stripByStripAdd (State &state, uint16_t strip, uint8_t adc, output_t::TSFastFiller &out) const override |
void | stripByStripAdd (State &state, uint16_t strip, uint8_t adc, std::vector< SiStripCluster > &out) const override |
Det | stripByStripBegin (uint32_t id) const override |
void | stripByStripEnd (State &state, output_t::TSFastFiller &out) const override |
void | stripByStripEnd (State &state, std::vector< SiStripCluster > &out) const 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 &) 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 digiDetSet > | |
void | clusterizeDetUnit_ (const digiDetSet &digis, output_t::TSFastFiller &output) 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 constexpr 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 11 of file ThreeThresholdAlgorithm.h.
Definition at line 10 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 10 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::qualityLabel.
|
inlineprivate |
Definition at line 56 of file ThreeThresholdAlgorithm.h.
References SiStripDigi::adc(), addToCandidate(), and SiStripDigi::strip().
Referenced by addToCandidate(), clusterizeDetUnit_(), and stripByStripAdd().
|
inlineprivate |
Definition at line 69 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::Det::bad(), StripClusterizerAlgorithm::State::candidateLacksSeed, ChannelThreshold, StripClusterizerAlgorithm::State::det(), StripClusterizerAlgorithm::State::lastStrip, StripClusterizerAlgorithm::Det::noise(), DigiDM_cff::Noise, StripClusterizerAlgorithm::State::noiseSquared, SeedThreshold, and digitizers_cfi::strip.
|
inlineprivate |
Definition at line 115 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::Det::bad(), StripClusterizerAlgorithm::State::det(), firstStrip(), StripClusterizerAlgorithm::State::lastStrip, SiStripPI::max, and MaxAdjacentBad.
Referenced by endCandidate().
|
inlineprivate |
Definition at line 102 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), StripClusterizerAlgorithm::State::ADCs, ALCARECOTkAlJpsiMuMu_cff::charge, StripClusterizerAlgorithm::State::det(), firstStrip(), StripClusterizerAlgorithm::Det::gain(), createfilelist::int, and digitizers_cfi::strip.
Referenced by endCandidate().
|
inlineprivate |
Definition at line 96 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::State::candidateLacksSeed, ClusterThresholdSquared, createfilelist::int, StripClusterizerAlgorithm::State::noiseSquared, and funct::pow().
Referenced by endCandidate().
|
inlineprivate |
Definition at line 59 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 51 of file ThreeThresholdAlgorithm.h.
References StripClusterizerAlgorithm::State::ADCs, StripClusterizerAlgorithm::State::candidateLacksSeed, and StripClusterizerAlgorithm::State::noiseSquared.
Referenced by endCandidate().
|
overridevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 128 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_(), and convertSQLitetoXML_cfg::output.
|
overridevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 132 of file ThreeThresholdAlgorithm.cc.
References clusterizeDetUnit_(), and convertSQLitetoXML_cfg::output.
|
inlineprivate |
Definition at line 31 of file ThreeThresholdAlgorithm.cc.
References addToCandidate(), candidateEnded(), SiStripApvShotCleaner::clean(), end, endCandidate(), StripClusterizerAlgorithm::findDetId(), StripClusterizerAlgorithm::isModuleBad(), StripClusterizerAlgorithm::isModuleUsable(), convertSQLitetoXML_cfg::output, and RemoveApvShots.
|
private |
Referenced by clusterizeDetUnit().
|
inlineprivate |
Definition at line 86 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::State::ADCs, appendBadNeighbors(), applyGains(), candidateAccepted(), siStripClusterTools::chargePerCM(), clearCandidate(), StripClusterizerAlgorithm::State::det(), StripClusterizerAlgorithm::Det::detId, firstStrip(), minGoodCharge, and MillePedeFileConverter_cfg::out.
Referenced by clusterizeDetUnit_(), stripByStripAdd(), and stripByStripEnd().
|
inlineprivate |
Definition at line 44 of file ThreeThresholdAlgorithm.h.
References StripClusterizerAlgorithm::State::ADCs, and StripClusterizerAlgorithm::State::lastStrip.
Referenced by appendBadNeighbors(), applyGains(), and endCandidate().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 21 of file ThreeThresholdAlgorithm.h.
References ecalMGPA::adc(), addToCandidate(), candidateEnded(), endCandidate(), MillePedeFileConverter_cfg::out, and digitizers_cfi::strip.
|
overridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 139 of file ThreeThresholdAlgorithm.cc.
References ecalMGPA::adc(), addToCandidate(), candidateEnded(), endCandidate(), MillePedeFileConverter_cfg::out, and digitizers_cfi::strip.
|
overridevirtual |
Implements StripClusterizerAlgorithm.
Definition at line 137 of file ThreeThresholdAlgorithm.cc.
References StripClusterizerAlgorithm::findDetId().
|
inlineoverridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 27 of file ThreeThresholdAlgorithm.h.
References endCandidate(), and MillePedeFileConverter_cfg::out.
|
overridevirtual |
Reimplemented from StripClusterizerAlgorithm.
Definition at line 148 of file ThreeThresholdAlgorithm.cc.
References endCandidate(), and MillePedeFileConverter_cfg::out.
|
friend |
Definition at line 7 of file ThreeThresholdAlgorithm.h.
|
private |
Definition at line 61 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().
|
private |
Definition at line 61 of file ThreeThresholdAlgorithm.h.
Referenced by candidateAccepted().
|
private |
Definition at line 62 of file ThreeThresholdAlgorithm.h.
Referenced by appendBadNeighbors().
|
private |
Definition at line 62 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 62 of file ThreeThresholdAlgorithm.h.
Referenced by candidateEnded().
|
private |
Definition at line 64 of file ThreeThresholdAlgorithm.h.
Referenced by endCandidate().
|
private |
Definition at line 63 of file ThreeThresholdAlgorithm.h.
Referenced by clusterizeDetUnit_().
|
private |
Definition at line 61 of file ThreeThresholdAlgorithm.h.
Referenced by addToCandidate().