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 | |
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 | |
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<> | |
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 32 of file CalibratedPhotonProducers.cc.
|
explicit |
Definition at line 77 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 35 of file CalibratedPhotonProducers.cc.
|
static |
Definition at line 99 of file CalibratedPhotonProducers.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), HLT_2018_cff::InputTag, EGEnergySysIndex::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 118 of file CalibratedPhotonProducers.cc.
References PhotonEnergyCalibrator::DATA, patZpeak::handle, iEvent, EGEnergySysIndex::kNrSysErrs, PhotonEnergyCalibrator::MC, eostools::move(), EGEnergySysIndex::name(), MillePedeFileConverter_cfg::out, edm::Handle< T >::product(), FastTrackerRecHitMaskProducer_cfi::recHits, and bookConverter::results.
|
private |
Definition at line 169 of file CalibratedPhotonProducers.cc.
References egamma::getRandomSeedFromObj(), egamma::getRandomSeedFromSC(), iEvent, and getGTfromDQMFile::obj.
|
private |
Definition at line 43 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().
|
private |
Definition at line 42 of file CalibratedPhotonProducers.cc.
|
private |
Definition at line 47 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().
|
private |
Definition at line 45 of file CalibratedPhotonProducers.cc.
|
private |
Definition at line 46 of file CalibratedPhotonProducers.cc.
|
private |
Definition at line 44 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().
|
staticprivate |
Definition at line 49 of file CalibratedPhotonProducers.cc.
Referenced by CalibratedPhotonProducerT< T >::CalibratedPhotonProducerT().