1 #ifndef RecoLocalTracker_StripClusterizerAlgorithm_h
2 #define RecoLocalTracker_StripClusterizerAlgorithm_h
40 virtual void setDetId(
const uint32_t);
45 bool allBadBetween(uint16_t
L,
const uint16_t&
R)
const {
while( ++L < R &&
bad(L) );
return L ==
R; }
52 for(
typename T::const_iterator it = input.begin(); it!=input.end(); it++) {
55 if(
ff.empty())
ff.abort();
int adc(sample_type sample)
get the ADC sample (12 bits)
edm::ESHandle< SiStripQuality > qualityHandle
void clusterize_(const T &input, output_t &output)
bool bad(const uint16_t &strip) const
SiStripApvGain::Range gainRange
edm::ESHandle< SiStripGain > gainHandle
SiStripQuality::Range qualityRange
virtual ~StripClusterizerAlgorithm()
float noise(const uint16_t &strip) const
InvalidChargeException(const SiStripDigi &)
virtual void stripByStripEnd(std::vector< SiStripCluster > &out)=0
edm::ESHandle< SiStripNoises > noiseHandle
virtual bool stripByStripBegin(uint32_t id)=0
std::pair< ContainerIterator, ContainerIterator > Range
edmNew::DetSetVector< SiStripCluster > output_t
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
SiStripNoises::Range noiseRange
virtual void setDetId(const uint32_t)
bool isModuleUsable(const uint32_t &id) const
StripClusterizerAlgorithm()
virtual void initialize(const edm::EventSetup &)
bool allBadBetween(uint16_t L, const uint16_t &R) const
void clusterize(const edm::DetSetVector< SiStripDigi > &, output_t &)
virtual void stripByStripAdd(uint16_t strip, uint16_t adc, std::vector< SiStripCluster > &out)=0
uint32_t quality_cache_id
std::pair< ContainerIterator, ContainerIterator > Range
float gain(const uint16_t &strip) const
std::pair< ContainerIterator, ContainerIterator > Range
virtual void clusterizeDetUnit(const edm::DetSet< SiStripDigi > &, output_t::FastFiller &)=0