#include <StripClusterizerAlgorithm.h>
Classes | |
struct | Index |
struct | InvalidChargeException |
Public Types | |
typedef edmNew::DetSetVector < SiStripCluster > | output_t |
Public Member Functions | |
virtual void | addFed (sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, std::vector< SiStripCluster > &out) |
virtual void | addFed (sistrip::FEDZSChannelUnpacker &unpacker, uint16_t ipair, output_t::FastFiller &out) |
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 &) |
virtual void | clusterizeDetUnit (const edm::DetSet< SiStripDigi > &, output_t::FastFiller &)=0 |
virtual void | clusterizeDetUnit (const edmNew::DetSet< SiStripDigi > &, output_t::FastFiller &)=0 |
std::vector< const FedChannelConnection * > const & | currentConnection () const |
virtual void | initialize (const edm::EventSetup &) |
virtual void | stripByStripAdd (uint16_t strip, uint8_t adc, std::vector< SiStripCluster > &out) |
virtual void | stripByStripAdd (uint16_t strip, uint8_t adc, output_t::FastFiller &out) |
virtual bool | stripByStripBegin (uint32_t id)=0 |
virtual void | stripByStripEnd (std::vector< SiStripCluster > &out) |
virtual void | stripByStripEnd (output_t::FastFiller &out) |
virtual | ~StripClusterizerAlgorithm () |
Protected Member Functions | |
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 | |
bool | _setDetId |
std::string | qualityLabel |
Private Member Functions | |
template<class T > | |
void | clusterize_ (const T &input, output_t &output) |
Private Attributes | |
std::vector< std::vector < const FedChannelConnection * > > | connections |
uint32_t | detId =0 |
std::vector< uint32_t > | detIds |
uint32_t | gain_cache_id |
edm::ESHandle< SiStripGain > | gainHandle |
SiStripApvGain::Range | gainRange |
unsigned short | ind =invalidI |
std::vector< Index > | indices |
uint32_t | noise_cache_id |
edm::ESHandle< SiStripNoises > | noiseHandle |
SiStripNoises::Range | noiseRange |
uint32_t | quality_cache_id |
edm::ESHandle< SiStripQuality > | qualityHandle |
SiStripQuality::Range | qualityRange |
SiStripDetCabling const * | theCabling = 0 |
Static Private Attributes | |
static unsigned short | invalidI = std::numeric_limits<unsigned short>::max() |
Definition at line 19 of file StripClusterizerAlgorithm.h.
Definition at line 27 of file StripClusterizerAlgorithm.h.
|
inlinevirtual |
Definition at line 23 of file StripClusterizerAlgorithm.h.
|
inlineprotected |
Definition at line 54 of file StripClusterizerAlgorithm.h.
|
inlinevirtual |
Reimplemented in ThreeThresholdAlgorithm.
Definition at line 36 of file StripClusterizerAlgorithm.h.
|
inlinevirtual |
Reimplemented in ThreeThresholdAlgorithm.
Definition at line 40 of file StripClusterizerAlgorithm.h.
|
inlineprotected |
Definition at line 63 of file StripClusterizerAlgorithm.h.
References bad(), and dttmaxenums::R.
Referenced by ThreeThresholdAlgorithm::candidateEnded().
|
inline |
Definition at line 49 of file StripClusterizerAlgorithm.h.
References detIds.
|
inlineprotected |
Definition at line 60 of file StripClusterizerAlgorithm.h.
References qualityHandle, and qualityRange.
Referenced by ThreeThresholdAlgorithm::addToCandidate(), allBadBetween(), and ThreeThresholdAlgorithm::appendBadNeighbors().
|
inline |
Definition at line 48 of file StripClusterizerAlgorithm.h.
References theCabling.
Referenced by initialize().
void StripClusterizerAlgorithm::clusterize | ( | const edm::DetSetVector< SiStripDigi > & | input, |
output_t & | output | ||
) |
Definition at line 191 of file StripClusterizerAlgorithm.cc.
References clusterize_().
void StripClusterizerAlgorithm::clusterize | ( | const edmNew::DetSetVector< SiStripDigi > & | input, |
output_t & | output | ||
) |
Definition at line 192 of file StripClusterizerAlgorithm.cc.
References clusterize_().
|
inlineprivate |
Definition at line 70 of file StripClusterizerAlgorithm.h.
References clusterizeDetUnit(), edmNew::DetSetVector< SiStripCluster >::FastFiller, and alignCSCRings::ff.
Referenced by clusterize().
|
pure virtual |
Implemented in ThreeThresholdAlgorithm.
Referenced by clusterize_().
|
pure virtual |
Implemented in ThreeThresholdAlgorithm.
|
inline |
Definition at line 50 of file StripClusterizerAlgorithm.h.
References connections, and ind.
|
inlineprotected |
Definition at line 56 of file StripClusterizerAlgorithm.h.
References detId.
Referenced by ThreeThresholdAlgorithm::endCandidate().
|
inlineprotected |
Definition at line 59 of file StripClusterizerAlgorithm.h.
References gainRange, and SiStripGain::getStripGain().
Referenced by ThreeThresholdAlgorithm::applyGains().
|
virtual |
Reimplemented in OldThreeThresholdAlgorithm.
Definition at line 25 of file StripClusterizerAlgorithm.cc.
References assert(), EnergyCorrector::c, cabling(), results_mgr::conn, SiStripDetCabling::connected(), connections, COUT, detId, detIds, gain_cache_id, gainHandle, gainRange, edm::EventSetup::get(), SiStripDetCabling::getDetCabling(), i, ind, indices, invalidI, isModuleBad(), j, relval_steps::k, mod(), noise_cache_id, noiseHandle, noiseRange, quality_cache_id, qualityHandle, qualityLabel, qualityRange, and theCabling.
|
inlineprotected |
Definition at line 61 of file StripClusterizerAlgorithm.h.
References qualityHandle.
Referenced by ThreeThresholdAlgorithm::clusterizeDetUnit_(), and initialize().
|
inlineprotected |
Definition at line 62 of file StripClusterizerAlgorithm.h.
References qualityHandle.
Referenced by ThreeThresholdAlgorithm::clusterizeDetUnit_(), and ThreeThresholdAlgorithm::stripByStripBegin().
|
inlineprotected |
Definition at line 58 of file StripClusterizerAlgorithm.h.
References SiStripNoises::getNoise(), and noiseRange.
Referenced by ThreeThresholdAlgorithm::addToCandidate().
|
protected |
Definition at line 144 of file StripClusterizerAlgorithm.cc.
References assert(), b, detId, detIds, alignCSCRings::e, gainHandle, gainRange, ind, indices, noiseHandle, noiseRange, AlCaHLTBitMon_ParallelJobs::p, qualityHandle, and qualityRange.
Referenced by ThreeThresholdAlgorithm::clusterizeDetUnit_(), OldThreeThresholdAlgorithm::OldThreeThresholdAlgorithm(), ThreeThresholdAlgorithm::stripByStripBegin(), and ThreeThresholdAlgorithm::ThreeThresholdAlgorithm().
|
inlinevirtual |
Reimplemented in ThreeThresholdAlgorithm.
Definition at line 37 of file StripClusterizerAlgorithm.h.
|
inlinevirtual |
Reimplemented in ThreeThresholdAlgorithm.
Definition at line 41 of file StripClusterizerAlgorithm.h.
|
pure virtual |
Implemented in OldThreeThresholdAlgorithm, and ThreeThresholdAlgorithm.
|
inlinevirtual |
Reimplemented in ThreeThresholdAlgorithm.
Definition at line 38 of file StripClusterizerAlgorithm.h.
|
inlinevirtual |
Reimplemented in ThreeThresholdAlgorithm.
Definition at line 42 of file StripClusterizerAlgorithm.h.
|
protected |
Definition at line 66 of file StripClusterizerAlgorithm.h.
Referenced by OldThreeThresholdAlgorithm::OldThreeThresholdAlgorithm(), and ThreeThresholdAlgorithm::ThreeThresholdAlgorithm().
|
private |
Definition at line 86 of file StripClusterizerAlgorithm.h.
Referenced by currentConnection(), and initialize().
|
private |
Definition at line 95 of file StripClusterizerAlgorithm.h.
Referenced by currentId(), initialize(), and setDetId().
|
private |
Definition at line 85 of file StripClusterizerAlgorithm.h.
Referenced by allDetIds(), initialize(), and setDetId().
|
private |
Definition at line 95 of file StripClusterizerAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 91 of file StripClusterizerAlgorithm.h.
Referenced by initialize(), and setDetId().
|
private |
Definition at line 88 of file StripClusterizerAlgorithm.h.
Referenced by gain(), initialize(), and setDetId().
|
private |
Definition at line 96 of file StripClusterizerAlgorithm.h.
Referenced by currentConnection(), initialize(), and setDetId().
|
private |
Definition at line 87 of file StripClusterizerAlgorithm.h.
Referenced by initialize(), and setDetId().
|
staticprivate |
Definition at line 78 of file StripClusterizerAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 95 of file StripClusterizerAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 92 of file StripClusterizerAlgorithm.h.
Referenced by initialize(), and setDetId().
|
private |
Definition at line 89 of file StripClusterizerAlgorithm.h.
Referenced by initialize(), noise(), and setDetId().
|
private |
Definition at line 95 of file StripClusterizerAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 93 of file StripClusterizerAlgorithm.h.
Referenced by bad(), initialize(), isModuleBad(), isModuleUsable(), and setDetId().
|
protected |
Definition at line 65 of file StripClusterizerAlgorithm.h.
Referenced by initialize(), and ThreeThresholdAlgorithm::ThreeThresholdAlgorithm().
|
private |
Definition at line 90 of file StripClusterizerAlgorithm.h.
Referenced by bad(), initialize(), and setDetId().
|
private |
Definition at line 94 of file StripClusterizerAlgorithm.h.
Referenced by cabling(), and initialize().