Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 45 of file RecHitCorrector.cc.
Definition at line 93 of file RecHitCorrector.cc.
References AlignmentProducer_cff::calibrations, ewkTauDQM_cfi::channels, submitPVValidationJobs::conditions, doInterCalib_, CaloRecHit::energy(), factor_, CastorCondObjectContainer< Item >::getAllChannels(), edm::EventSetup::getData(), CastorChannelStatus::getValue(), CastorCondObjectContainer< Item >::getValues(), mps_fire::i, CastorRecHit::id(), iEvent, edm::HandleBase::isValid(), eostools::move(), convertSQLiteXML::ok, DetId::rawId(), edm::SortedCollection< T, SORT >::size(), hcalRecHitTable_cff::time, CaloRecHit::time(), tok_input_, tokChan_, and tokCond_.
105 edm::LogWarning(
"CastorRecHitCorrector") <<
"No valid CastorRecHitCollection found, please check the InputLabel...";
109 auto rec = std::make_unique<CastorRecHitCollection>();
111 for (
unsigned int i = 0;
i < rechits->
size();
i++) {
128 if (channel.rawId() == detcell.
rawId()) {
130 if (mydigistatus->
getValue() == 2989) {
138 rec->emplace_back(rechit.
id(), correctedenergy,
time);
const Item * getValues(DetId fId, bool throwOnFail=true) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::EDGetTokenT< CastorRecHitCollection > tok_input_
const edm::ESGetToken< CastorChannelQuality, CastorChannelQualityRcd > tokChan_
HcalCastorDetId id() const
get the id
std::vector< DetId > getAllChannels() const
constexpr float energy() const
const edm::ESGetToken< CastorDbService, CastorDbRecord > tokCond_
constexpr uint32_t rawId() const
get the raw id
uint32_t getValue() const
constexpr float time() const