1 #ifndef CalibFormats_SiStripObjects_StripClusterizerConditions_h 2 #define CalibFormats_SiStripObjects_StripClusterizerConditions_h 22 while (++
L <
R &&
bad(
L)) {
47 if (
p ==
e ||
id != (*
p)) {
48 #ifdef NOT_ON_MONTECARLO 50 <<
"id " <<
id <<
" not connected. this is impossible on data " << std::endl;
68 const std::vector<float>& invGains,
69 const std::vector<const FedChannelConnection*>&
connections) {
72 auto& det =
m_dets.emplace_back();
74 det.qualityRange = qualityRange;
75 det.noiseRange = noiseRange;
76 for (uint32_t
i = 0;
i != invGains.size(); ++
i) {
77 det.m_weight[
i] = invGains[
i];
91 #endif // CalibFormats_SiStripObjects_StripClusterizerConditions_h const SiStripQuality * m_quality
static float getRawNoise(const uint16_t &strip, const Range &range)
float noise(const uint16_t strip) const
bool bad(const uint16_t strip) const
std::vector< const FedChannelConnection * > const & currentConnection(const Det &det) const
bool IsModuleBad(uint32_t detid) const
SiStripNoises::Range noiseRange
std::vector< uint32_t > const & allDetIds() const
auto const & allDets() const
SiStripQuality const * quality
SiStripQuality::Range qualityRange
std::vector< Det > m_dets
static float getNoise(uint16_t strip, const Range &range)
float weight(const uint16_t strip) const
Det const & findDetId(const uint32_t id) const
bool isModuleUsable(const uint32_t id) const
static constexpr unsigned short invalidI
SiStripClusterizerConditions(const SiStripQuality *quality)
bool IsStripBad(uint32_t detid, short strip) const
std::vector< uint32_t > m_detIds
bool isModuleBad(const uint32_t id) const
std::vector< std::vector< const FedChannelConnection * > > m_connections
void emplace_back(uint32_t id, SiStripQuality::Range qualityRange, SiStripNoises::Range noiseRange, const std::vector< float > &invGains, const std::vector< const FedChannelConnection *> &connections)
std::pair< ContainerIterator, ContainerIterator > Range
bool allBadBetween(uint16_t L, const uint16_t &R) const
Log< level::Warning, false > LogWarning
std::pair< ContainerIterator, ContainerIterator > Range
bool IsModuleUsable(uint32_t detid) const
void reserve(std::size_t length)
uint16_t rawNoise(const uint16_t strip) const