Go to the documentation of this file.
10 : famos_(famos), init_(
false), linConsts_(nullptr), peds_(nullptr), badXStatus_(nullptr) {}
27 if (it != linMap.
end()) {
30 std::cout <<
" could not find EcalTPGLinearizationConstMap entry for " << raw << std::endl;
33 if (itped != ecaltpPed->
end())
36 std::cout <<
" could not find EcalTPGPedestalsMap entry for " << raw << std::endl;
41 if (itbadX != badXMap.
end()) {
44 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGCrystalStatusMap entry for " << raw;
69 if (RawSam.
raw() > 0X3FFF) {
70 LogDebug(
"EcalTPG") <<
"ERROR IN INPUT SAMPLE OF FENIX LINEARIZER";
const self & getMap() const
const_iterator end() const
uint16_t getStatusCode() const
const EcalTPGPedestal * peds_
int setInput(const EcalMGPASample &RawSam)
const EcalTPGLinearizationConstant * linConsts_
EcalTPGPedestalsMap::const_iterator EcalTPGPedestalsMapIterator
Log< level::Warning, false > LogWarning
EcalTPGCrystalStatusMap::const_iterator EcalTPGCrystalStatusMapIterator
int gainId() const
get the gainId (2 bits)
int adc() const
get the ADC sample (12 bits)
EcalEBFenixLinearizer(bool famos)
EcalCondObjectContainer< EcalTPGLinearizationConstant >::const_iterator EcalTPGLinearizationConstMapIterator
void setParameters(uint32_t raw, const EcalTPGPedestals *ecaltpPed, const EcalTPGLinearizationConst *ecaltpLin, const EcalTPGCrystalStatus *ecaltpBadX)
const_iterator find(uint32_t rawId) const
uint16_t raw() const
get the raw word
std::vector< const EcalTPGCrystalStatusCode * > vectorbadXStatus_
const EcalTPGCrystalStatusCode * badXStatus_
virtual ~EcalEBFenixLinearizer()