Public Member Functions | |
CalibratedElectronProducerT (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~CalibratedElectronProducerT () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | setSemiDetRandomSeed (const edm::Event &iEvent, const T &obj, size_t nrObjs, size_t objNr) |
Private Attributes | |
edm::EDGetTokenT< edm::View< T > > | electronToken_ |
ElectronEnergyCalibrator | energyCorrector_ |
EpCombinationTool | epCombinationTool_ |
bool | produceCalibratedObjs_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitCollectionEBToken_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitCollectionEEToken_ |
std::unique_ptr< TRandom > | semiDeterministicRng_ |
Static Private Attributes | |
static const std::vector< int > | valMapsToStore_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 37 of file CalibratedElectronProducers.cc.
|
explicit |
Definition at line 85 of file CalibratedElectronProducers.cc.
References CalibratedElectronProducerT< T >::energyCorrector_, edm::ParameterSet::getParameter(), ElectronEnergyCalibrator::initPrivateRng(), EGEnergySysIndex::name(), CalibratedElectronProducerT< T >::produceCalibratedObjs_, CalibratedElectronProducerT< T >::semiDeterministicRng_, ElectronEnergyCalibrator::setMinEt(), and CalibratedElectronProducerT< T >::valMapsToStore_.
|
inlineoverride |
Definition at line 40 of file CalibratedElectronProducers.cc.
References CalibratedElectronProducerT< T >::fillDescriptions(), iEvent, getGTfromDQMFile::obj, CalibratedElectronProducerT< T >::produce(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().
|
static |
Definition at line 108 of file CalibratedElectronProducers.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), HLT_2018_cff::InputTag, EpCombinationTool::makePSetDescription(), EGEnergySysIndex::name(), AlCaHLTBitMon_QueryRunRegistry::string, and CalibratedElectronProducerT< T >::valMapsToStore_.
Referenced by CalibratedElectronProducerT< T >::~CalibratedElectronProducerT().
|
override |
Definition at line 128 of file CalibratedElectronProducers.cc.
References ElectronEnergyCalibrator::calibrate(), ElectronEnergyCalibrator::DATA, CalibratedElectronProducerT< T >::electronToken_, CalibratedElectronProducerT< T >::energyCorrector_, CalibratedElectronProducerT< T >::epCombinationTool_, edm::Event::getByToken(), patZpeak::handle, edm::EventBase::id(), edm::EventBase::isRealData(), EGEnergySysIndex::kNrSysErrs, ElectronEnergyCalibrator::MC, eostools::move(), EGEnergySysIndex::name(), MillePedeFileConverter_cfg::out, CalibratedElectronProducerT< T >::produceCalibratedObjs_, edm::Handle< T >::product(), edm::Event::put(), CalibratedElectronProducerT< T >::recHitCollectionEBToken_, CalibratedElectronProducerT< T >::recHitCollectionEEToken_, FastTrackerRecHitMaskProducer_cfi::recHits, bookConverter::results, edm::EventID::run(), CalibratedElectronProducerT< T >::semiDeterministicRng_, EpCombinationTool::setEventContent(), CalibratedElectronProducerT< T >::setSemiDetRandomSeed(), edm::Event::size(), edm::Event::streamID(), and CalibratedElectronProducerT< T >::valMapsToStore_.
Referenced by CalibratedElectronProducerT< T >::~CalibratedElectronProducerT().
|
private |
Definition at line 180 of file CalibratedElectronProducers.cc.
References egamma::getRandomSeedFromObj(), egamma::getRandomSeedFromSC(), and CalibratedElectronProducerT< T >::semiDeterministicRng_.
Referenced by CalibratedElectronProducerT< T >::produce(), and CalibratedElectronProducerT< T >::~CalibratedElectronProducerT().
|
private |
Definition at line 47 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::produce().
|
private |
Definition at line 50 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::CalibratedElectronProducerT(), and CalibratedElectronProducerT< T >::produce().
|
private |
Definition at line 49 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::produce().
|
private |
Definition at line 54 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::CalibratedElectronProducerT(), and CalibratedElectronProducerT< T >::produce().
|
private |
Definition at line 52 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::produce().
|
private |
Definition at line 53 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::produce().
|
private |
Definition at line 51 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::CalibratedElectronProducerT(), CalibratedElectronProducerT< T >::produce(), and CalibratedElectronProducerT< T >::setSemiDetRandomSeed().
|
staticprivate |
Definition at line 55 of file CalibratedElectronProducers.cc.
Referenced by CalibratedElectronProducerT< T >::CalibratedElectronProducerT(), CalibratedElectronProducerT< T >::fillDescriptions(), and CalibratedElectronProducerT< T >::produce().