Public Member Functions | |
EcalUncalibRecHitPhase2WeightsProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
const edm::EDGetTokenT< EBDigiCollectionPh2 > | ebDigiCollectionToken_ |
const edm::EDPutTokenT< EBUncalibratedRecHitCollection > | ebUncalibRecHitCollectionToken_ |
const float | tFall_ |
const float | tRise_ |
const std::vector< double > | weights_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 15 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
|
explicit |
Definition at line 59 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
|
static |
Definition at line 30 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_2022v11_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 67 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
References EcalLiteDTUSample::adc(), edm::DataFrameContainer::begin(), ebDigiCollectionToken_, ebUncalibRecHitCollectionToken_, edm::DataFrameContainer::end(), diffTwoXMLs::g1, EcalLiteDTUSample::gainId(), ecalPh2::gains, edm::Event::get(), EBDataFrame::id(), EcalUncalibratedRecHit::kHasSwitchToGain1, eostools::move(), PresampleTask_cfi::nSamples, edm::Event::put(), ecalGpuTask_cfi::sample, EcalUncalibratedRecHit::setAmplitudeError(), EcalUncalibratedRecHit::setFlagBit(), EcalUncalibratedRecHit::setJitterError(), EcalDataFrame::size(), and weights_.
|
private |
Definition at line 26 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 27 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
Referenced by produce().
|
private |
Definition at line 23 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
|
private |
Definition at line 22 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
|
private |
Definition at line 24 of file EcalUncalibRecHitPhase2WeightsProducer.cc.
Referenced by produce().