Go to the documentation of this file. 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
SiStripQuality const * quality
bool isModuleBad(const uint32_t id) const
SiStripNoises::Range noiseRange
std::vector< std::vector< const FedChannelConnection * > > m_connections
bool IsModuleBad(const uint32_t &detid) const
bool IsModuleUsable(const uint32_t &detid) const
SiStripClusterizerConditions(const SiStripQuality *quality)
SiStripQuality::Range qualityRange
Det const & findDetId(const uint32_t id) const
Log< level::Warning, false > LogWarning
bool allBadBetween(uint16_t L, const uint16_t &R) const
bool isModuleUsable(const uint32_t id) const
std::vector< const FedChannelConnection * > const & currentConnection(const Det &det) const
float noise(const uint16_t strip) const
const uint32_t *__restrict__ Quality * quality
static constexpr unsigned short invalidI
std::pair< ContainerIterator, ContainerIterator > Range
std::vector< uint32_t > m_detIds
static float getRawNoise(const uint16_t &strip, const Range &range)
std::pair< ContainerIterator, ContainerIterator > Range
bool IsStripBad(const uint32_t &detid, const short &strip) const
const SiStripQuality * m_quality
auto const & allDets() const
bool bad(const uint16_t strip) const
void reserve(std::size_t length)
float weight(const uint16_t strip) const
std::vector< Det > m_dets
void emplace_back(uint32_t id, SiStripQuality::Range qualityRange, SiStripNoises::Range noiseRange, const std::vector< float > &invGains, const std::vector< const FedChannelConnection * > &connections)
uint16_t rawNoise(const uint16_t strip) const
static float getNoise(uint16_t strip, const Range &range)
std::vector< uint32_t > const & allDetIds() const