Go to the documentation of this file.
28 typedef std::unique_ptr<HcalChannelPropertiesVec>
ReturnType2;
53 prod->setTopo(&htopo);
78 ReturnType2 prod = std::make_unique<HcalChannelPropertiesVec>(htopo.ncells());
79 std::array<HcalPipelinePedestalAndGain, 4> pedsAndGains;
86 for (
const auto cell : ids) {
87 const auto rawId = cell.rawId();
98 for (
int capid = 0; capid < 4; ++capid) {
101 calib.effpedestal(capid),
103 calib.respcorrgain(capid),
104 calibWidth.
gain(capid));
112 const unsigned linearId = htopo.detId2denseId(cell);
const DepRecordT getRecord() const
ReturnType2 produce2(const HcalChannelPropertiesRecord &rcd)
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > sevToken_
double effpedestal(int fCapId) const
get effective pedestal width for capid=0..3
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::unique_ptr< HcalRecoParams > ReturnType1
const Item * getValues(DetId fId, bool throwOnFail=true) const
const std::vector< DetId > & getValidDetIds(DetId::Detector det=DetId::Detector(0), int subdet=0) const override
Get a list of valid detector ids (for the given subdetector)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
std::unique_ptr< HcalChannelPropertiesVec > ReturnType2
edm::ESGetToken< HcalRecoParams, HcalChannelPropertiesAuxRecord > myParamsToken_
edm::ESGetToken< HcalRecoParams, HcalRecoParamsRcd > paramsToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
~HcalChannelPropertiesEP() override
uint32_t getValue() const
HcalChannelPropertiesEP & operator=(const HcalChannelPropertiesEP &)=delete
HcalChannelPropertiesEP()=delete
double pedestal(int fCapId) const
get pedestal width for capid=0..3
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > qualToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
double gain(int fCapId) const
get gain width for capid=0..3
HcalChannelPropertiesEP(const edm::ParameterSet &)
edm::ESGetToken< HcalDbService, HcalDbRecord > condToken_
ReturnType1 produce1(const HcalChannelPropertiesAuxRecord &rcd)