25 if (
it != linMap.
end()) {
28 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGLinearizationConstMap entry for " << raw;
32 if (itped != pedMap.
end())
35 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGPedestalsMap entry for " << raw;
40 if (itbadX != badXMap.
end()) {
43 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGCrystalStatusMap entry for " << raw;
64 if (RawSam.
raw() > 0X3FFF) {
65 LogDebug(
"EcalTPG") <<
"ERROR IN INPUT SAMPLE OF FENIX LINEARIZER";
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
EcalTPGPedestalsMap::const_iterator EcalTPGPedestalsMapIterator
const EcalTPGPedestal * peds_
EcalFenixLinearizer(bool famos)
const EcalTPGLinearizationConstant * linConsts_
uint16_t getStatusCode() const
EcalCondObjectContainer< EcalTPGLinearizationConstant >::const_iterator EcalTPGLinearizationConstMapIterator
EcalTPGCrystalStatusMap::const_iterator EcalTPGCrystalStatusMapIterator
const EcalTPGCrystalStatusCode * badXStatus_
virtual ~EcalFenixLinearizer()
const_iterator find(uint32_t rawId) const
int setInput(const EcalMGPASample &RawSam)
int adc() const
get the ADC sample (12 bits)
const self & getMap() const
const_iterator end() const
Log< level::Warning, false > LogWarning
uint16_t raw() const
get the raw word
int gainId() const
get the gainId (2 bits)
std::vector< const EcalTPGCrystalStatusCode * > vectorbadXStatus_