Public Member Functions | |
CalibratedPhotonProducerT (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~CalibratedPhotonProducerT () 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 Member Functions | |
void | setSemiDetRandomSeed (const edm::Event &iEvent, const T &obj, size_t nrObjs, size_t objNr) |
Private Attributes | |
PhotonEnergyCalibrator | energyCorrector_ |
edm::EDGetTokenT< edm::View< T > > | photonToken_ |
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<> | |
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 34 of file CalibratedPhotonProducers.cc.
|
explicit |
Definition at line 79 of file CalibratedPhotonProducers.cc.
References CalibratedPhotonProducerT< T >::energyCorrector_, edm::ParameterSet::getParameter(), PhotonEnergyCalibrator::initPrivateRng(), EGEnergySysIndex::name(), CalibratedPhotonProducerT< T >::produceCalibratedObjs_, CalibratedPhotonProducerT< T >::semiDeterministicRng_, PhotonEnergyCalibrator::setMinEt(), and CalibratedPhotonProducerT< T >::valMapsToStore_.
|
inlineoverride |
Definition at line 37 of file CalibratedPhotonProducers.cc.
|
static |
Definition at line 101 of file CalibratedPhotonProducers.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, EGEnergySysIndex::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 121 of file CalibratedPhotonProducers.cc.
References PhotonEnergyCalibrator::DATA, patZpeak::handle, iEvent, EGEnergySysIndex::kNrSysErrs, PhotonEnergyCalibrator::MC, eostools::move(), EGEnergySysIndex::name(), MillePedeFileConverter_cfg::out, FastTrackerRecHitMaskProducer_cfi::recHits, and mysort::results.
|
private |
Definition at line 168 of file CalibratedPhotonProducers.cc.
References egamma::getRandomSeedFromObj(), egamma::getRandomSeedFromSC(), iEvent, and getGTfromDQMFile::obj.
|
private |
Definition at line 45 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().
|
private |
Definition at line 44 of file CalibratedPhotonProducers.cc.
|
private |
Definition at line 49 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().
|
private |
Definition at line 47 of file CalibratedPhotonProducers.cc.
|
private |
Definition at line 48 of file CalibratedPhotonProducers.cc.
|
private |
Definition at line 46 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().
|
staticprivate |
Definition at line 51 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().