31 typedef std::unique_ptr<HcalChannelPropertiesVec>
ReturnType2;
60 prod->setTopo(&htopo);
84 ReturnType2 prod = std::make_unique<HcalChannelPropertiesVec>(htopo.ncells());
85 std::array<HcalPipelinePedestalAndGain, 4> pedsAndGains;
92 for (
const auto cell : ids) {
93 const auto rawId = cell.rawId();
104 for (
int capid = 0; capid < 4; ++capid) {
107 calib.effpedestal(capid),
109 calib.respcorrgain(capid),
110 calibWidth.
gain(capid));
118 const unsigned linearId = htopo.detId2denseId(cell);
132 prod->setTopo(&htopo);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
double pedestal(int fCapId) const
get pedestal width for capid=0..3
HcalChannelPropertiesEP(const edm::ParameterSet &)
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< HcalDbService, HcalDbRecord > condToken_
std::unique_ptr< HcalRecoParams > ReturnType1
ReturnType2 produce2(const HcalChannelPropertiesRecord &rcd)
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > sevToken_
double effpedestal(int fCapId) const
get effective pedestal width for capid=0..3
edm::ESGetToken< HcalRecoParams, HcalChannelPropertiesAuxRecord > myParamsToken_
const Item * getValues(DetId fId, bool throwOnFail=true) const
edm::ESGetToken< HcalRecoParams, HcalRecoParamsRcd > paramsToken_
~HcalChannelPropertiesEP() override
std::unique_ptr< HcalPFCuts > ReturnType3
HcalChannelPropertiesEP & operator=(const HcalChannelPropertiesEP &)=delete
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
std::unique_ptr< HcalChannelPropertiesVec > ReturnType2
HcalChannelPropertiesEP()=delete
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
uint32_t getValue() const
edm::ESGetToken< HcalPFCuts, HcalPFCutsRcd > pfcutsToken_
double gain(int fCapId) const
get gain width for capid=0..3
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken3_
ReturnType1 produce1(const HcalChannelPropertiesAuxRecord &rcd)
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > qualToken_
const DepRecordT getRecord() const
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
ReturnType3 produce3(const HcalPFCutsRcd &rcd)