#include <GEDPhotonGSCrysFixer.h>
Public Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
GEDPhotonGSCrysFixer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~GEDPhotonGSCrysFixer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef edm::View< reco::Photon > | PhotonView |
typedef edm::ValueMap < reco::SuperClusterRef > | SCRefMap |
Private Member Functions | |
template<typename T > | |
edm::Handle< T > | getHandle (edm::Event const &iEvent, edm::EDGetTokenT< T > const &token, std::string const &name) |
template<typename T > | |
void | getToken (edm::EDGetTokenT< T > &token, edm::ParameterSet const &pset, std::string const &label, std::string const &instance="") |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 20 of file GEDPhotonGSCrysFixer.h.
|
private |
Definition at line 53 of file GEDPhotonGSCrysFixer.h.
|
private |
Definition at line 54 of file GEDPhotonGSCrysFixer.h.
GEDPhotonGSCrysFixer::GEDPhotonGSCrysFixer | ( | const edm::ParameterSet & | config | ) |
Definition at line 36 of file GEDPhotonGSCrysFixer.cc.
References edm::EDConsumerBase::consumesCollector(), ebHitsToken_, energyCorrector_, edm::ParameterSet::existsAs(), PhotonEnergyCorrector::gedRegression(), getToken(), inputPhotonsToken_, newCoresToken_, newCoresToOldSCMapToken_, and verticesToken_.
GEDPhotonGSCrysFixer::~GEDPhotonGSCrysFixer | ( | ) |
Definition at line 56 of file GEDPhotonGSCrysFixer.cc.
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 61 of file GEDPhotonGSCrysFixer.cc.
References energyCorrector_, geometry_, edm::EventSetup::get(), PhotonEnergyCorrector::init(), edm::ESHandle< class >::product(), and topology_.
|
inlineprivate |
Definition at line 44 of file GEDPhotonGSCrysFixer.h.
References edm::Event::getByToken(), patZpeak::handle, and mergeVDriftHistosByStation::name.
Referenced by produce().
|
inlineprivate |
Definition at line 33 of file GEDPhotonGSCrysFixer.h.
References edm::ParameterSet::getParameter(), instance, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by GEDPhotonGSCrysFixer().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 75 of file GEDPhotonGSCrysFixer.cc.
References PhotonEnergyCorrector::calculate(), EcalClusterToolsT< noZS >::covariances(), EcalClusterToolsT< noZS >::e1x3(), reco::Photon::ShowerShape::e1x3, EcalClusterToolsT< noZS >::e1x5(), reco::Photon::ShowerShape::e1x5, EcalClusterToolsT< noZS >::e2nd(), reco::Photon::ShowerShape::e2nd, EcalClusterToolsT< noZS >::e2x2(), reco::Photon::ShowerShape::e2x2, reco::Photon::ShowerShape::e2x5, EcalClusterToolsT< noZS >::e2x5Bottom(), reco::Photon::ShowerShape::e2x5Bottom, EcalClusterToolsT< noZS >::e2x5Left(), reco::Photon::ShowerShape::e2x5Left, EcalClusterToolsT< noZS >::e2x5Max(), reco::Photon::ShowerShape::e2x5Max, EcalClusterToolsT< noZS >::e2x5Right(), reco::Photon::ShowerShape::e2x5Right, EcalClusterToolsT< noZS >::e2x5Top(), reco::Photon::ShowerShape::e2x5Top, EcalClusterToolsT< noZS >::e3x3(), reco::Photon::ShowerShape::e3x3, EcalClusterToolsT< noZS >::e5x5(), reco::Photon::ShowerShape::e5x5, ebHitsToken_, EcalClusterToolsT< noZS >::eBottom(), reco::Photon::ShowerShape::eBottom, reco::Photon::IsolationVariables::ecalRecHitSumEt, reco::Photon::ShowerShape::effSigmaRR, EcalClusterToolsT< noZS >::eLeft(), reco::Photon::ShowerShape::eLeft, EcalClusterToolsT< noZS >::eMax(), energyCorrector_, EcalClusterToolsT< noZS >::eRight(), reco::Photon::ShowerShape::eRight, EcalClusterToolsT< noZS >::eTop(), reco::Photon::ShowerShape::eTop, reco::Photon::PflowIDVariables::etOutsideMustache, edm::helper::Filler< Map >::fill(), PhotonEnergyCorrector::gedRegression(), geometry_, getHandle(), GainSwitchTools::hasEBGainSwitchIn5x5(), reco::Photon::IsolationVariables::hcalDepth1TowerSumEt, reco::Photon::IsolationVariables::hcalDepth1TowerSumEtBc, reco::Photon::IsolationVariables::hcalDepth2TowerSumEt, reco::Photon::IsolationVariables::hcalDepth2TowerSumEtBc, reco::Photon::IsolationVariables::hcalTowerSumEt, reco::Photon::IsolationVariables::hcalTowerSumEtBc, PhotonEnergyCorrector::init(), inputPhotonsToken_, edm::helper::Filler< Map >::insert(), reco::Photon::FiducialFlags::isEB, edm::isFinite(), EcalClusterToolsT< noZS >::localCovariances(), reco::Photon::ShowerShape::maxEnergyXtal, reco::Photon::MIPVariables::mipChi2, reco::Photon::MIPVariables::mipIntercept, reco::Photon::MIPVariables::mipIsHalo, reco::Photon::MIPVariables::mipNhitCone, reco::Photon::MIPVariables::mipSlope, reco::Photon::MIPVariables::mipTotEnergy, reco::Photon::PflowIDVariables::mva, reco::Photon::PflowIDVariables::nClusterOutsideMustache, newCoresToken_, newCoresToOldSCMapToken_, reco::Photon::IsolationVariables::nTrkHollowCone, reco::Photon::IsolationVariables::nTrkSolidCone, p4, edm::Event::put(), reco::Photon::ShowerShape::sigmaEtaEta, reco::Photon::ShowerShape::sigmaIetaIeta, reco::Photon::ShowerShape::sigmaIetaIphi, reco::Photon::ShowerShape::sigmaIphiIphi, mathSSE::sqrt(), topology_, reco::Photon::IsolationVariables::trkSumPtHollowCone, reco::Photon::IsolationVariables::trkSumPtSolidCone, csvLumiCalc::unit, HLT_25ns10e33_v2_cff::vertices, and verticesToken_.
|
private |
Definition at line 59 of file GEDPhotonGSCrysFixer.h.
Referenced by GEDPhotonGSCrysFixer(), and produce().
|
private |
Definition at line 62 of file GEDPhotonGSCrysFixer.h.
Referenced by beginLuminosityBlock(), GEDPhotonGSCrysFixer(), and produce().
|
private |
Definition at line 65 of file GEDPhotonGSCrysFixer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 56 of file GEDPhotonGSCrysFixer.h.
Referenced by GEDPhotonGSCrysFixer(), and produce().
|
private |
Definition at line 57 of file GEDPhotonGSCrysFixer.h.
Referenced by GEDPhotonGSCrysFixer(), and produce().
|
private |
Definition at line 58 of file GEDPhotonGSCrysFixer.h.
Referenced by GEDPhotonGSCrysFixer(), and produce().
|
private |
Definition at line 64 of file GEDPhotonGSCrysFixer.h.
Referenced by beginLuminosityBlock(), and produce().
|
private |
Definition at line 60 of file GEDPhotonGSCrysFixer.h.
Referenced by GEDPhotonGSCrysFixer(), and produce().