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 | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () 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 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, HLT_FULL_cff::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 bookConverter::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().