#include <PFPhotonTranslator.h>
Public Types | |
typedef std::vector< edm::Handle< edm::ValueMap< double > > > | IsolationValueMaps |
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 |
Public Member Functions | |
PFPhotonTranslator (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
~PFPhotonTranslator () | |
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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Additional Inherited Members | |
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 60 of file PFPhotonTranslator.h.
typedef std::vector< edm::Handle< edm::ValueMap<double> > > PFPhotonTranslator::IsolationValueMaps |
Definition at line 68 of file PFPhotonTranslator.h.
|
explicit |
Definition at line 64 of file PFPhotonTranslator.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
PFPhotonTranslator::~PFPhotonTranslator | ( | ) |
Definition at line 105 of file PFPhotonTranslator.cc.
|
private |
Definition at line 1047 of file PFPhotonTranslator.cc.
References reco::Candidate::begin(), reco::PFCandidate::elementsInBlocks(), reco::Candidate::end(), and reco::PFBlockElement::index().
|
private |
Definition at line 523 of file PFPhotonTranslator.cc.
References reco::CaloCluster::algo(), reco::CaloCluster::caloID(), reco::PFBlockElement::clusterRef(), reco::PFCluster::energy(), reco::CaloCluster::hitsAndFractions(), edm::Ref< C, T, F >::isNull(), reco::CaloCluster::position(), and reco::CaloCluster::seed().
|
private |
Definition at line 553 of file PFPhotonTranslator.cc.
References findQualityFiles::size.
|
private |
Definition at line 690 of file PFPhotonTranslator.cc.
References relativeConstraints::error, reco::Conversion::pflow, reco::Conversion::setOneLegMVA(), X, DOFs::Y, and DOFs::Z.
|
private |
Definition at line 792 of file PFPhotonTranslator.cc.
References reco::PhotonCore::addConversion(), reco::PhotonCore::addElectronPixelSeed(), reco::PhotonCore::addOneLegConversion(), iseed, reco::PhotonCore::setParentSuperCluster(), reco::PhotonCore::setPFlowPhoton(), reco::PhotonCore::setStandardPhoton(), reco::PhotonCore::setSuperCluster(), and edm::RefVector< C, T, F >::size().
|
private |
Definition at line 885 of file PFPhotonTranslator.cc.
References reco::Photon::PflowIsolationVariables::chargedHadronIso, reco::Photon::IsolationVariables::ecalRecHitSumEt, reco::Photon::PflowIDVariables::etOutsideMustache, reco::Photon::IsolationVariables::hcalDepth1TowerSumEt, reco::Photon::IsolationVariables::hcalDepth2TowerSumEt, reco::Photon::IsolationVariables::hcalTowerSumEt, reco::Photon::FiducialFlags::isEB, reco::Photon::FiducialFlags::isEBEEGap, reco::Photon::FiducialFlags::isEBEtaGap, reco::Photon::FiducialFlags::isEBPhiGap, reco::Photon::FiducialFlags::isEE, reco::Photon::FiducialFlags::isEEDeeGap, reco::Photon::FiducialFlags::isEERingGap, reco::Photon::SaturationInfo::isSeedSaturated, reco::Mustache::MustacheID(), reco::Photon::PflowIDVariables::mva, reco::Photon::PflowIDVariables::nClusterOutsideMustache, reco::Photon::PflowIsolationVariables::neutralHadronIso, reco::Photon::SaturationInfo::nSaturatedXtals, reco::Photon::IsolationVariables::nTrkHollowCone, reco::Photon::IsolationVariables::nTrkSolidCone, reco::Photon::PflowIsolationVariables::photonIso, reco::Photon::regression2, reco::Photon::IsolationVariables::trkSumPtHollowCone, reco::Photon::IsolationVariables::trkSumPtSolidCone, and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 546 of file PFPhotonTranslator.cc.
References reco::PFBlockElement::clusterRef().
|
private |
Definition at line 572 of file PFPhotonTranslator.cc.
References findQualityFiles::size.
|
private |
Definition at line 591 of file PFPhotonTranslator.cc.
References reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), MillePedeFileConverter_cfg::e, PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, reco::SuperCluster::rawEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), and reco::SuperCluster::setSeed().
|
private |
Definition at line 504 of file PFPhotonTranslator.cc.
References runEdmFileComparison::found, and edm::Event::getByLabel().
|
overridevirtual |
Definition at line 107 of file PFPhotonTranslator.cc.
References reco::PFBlockElement::ECAL, allElectronIsolations_cfi::elements, reco::PFCandidate::elementsInBlocks(), reco::PFCandidate::gamma, edm::Event::getByLabel(), mps_fire::i, edm::Ref< C, T, F >::isNull(), electronProducer_cff::isolationValues, edm::HandleBase::isValid(), eostools::move(), reco::PFCandidate::mva_nothing_gamma(), gedPhotons_cfi::outputPhotonCollection, reco::PFCandidate::particleId(), slimmedMuons_cfi::pfCandidates, reco::PFCandidate::photonExtraRef(), edm::Handle< T >::product(), reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, edm::Event::put(), edm::RefVector< C, T, F >::size(), mps_update::status, reco::PFCandidate::superClusterRef(), reco::PFBlockElement::type(), and particleFlowSuperClusterECAL_cfi::vertexCollection.
|
private |
Definition at line 118 of file PFPhotonTranslator.h.
|
private |
Definition at line 132 of file PFPhotonTranslator.h.
|
private |
Definition at line 124 of file PFPhotonTranslator.h.
|
private |
Definition at line 138 of file PFPhotonTranslator.h.
|
private |
Definition at line 154 of file PFPhotonTranslator.h.
|
private |
Definition at line 155 of file PFPhotonTranslator.h.
|
private |
Definition at line 116 of file PFPhotonTranslator.h.
|
private |
Definition at line 142 of file PFPhotonTranslator.h.
|
private |
Definition at line 140 of file PFPhotonTranslator.h.
|
private |
Definition at line 160 of file PFPhotonTranslator.h.
|
private |
Definition at line 119 of file PFPhotonTranslator.h.
|
private |
Definition at line 145 of file PFPhotonTranslator.h.
|
private |
Definition at line 146 of file PFPhotonTranslator.h.
|
private |
Definition at line 120 of file PFPhotonTranslator.h.
|
private |
Definition at line 121 of file PFPhotonTranslator.h.
|
private |
Definition at line 109 of file PFPhotonTranslator.h.
|
private |
Definition at line 108 of file PFPhotonTranslator.h.
|
private |
Definition at line 110 of file PFPhotonTranslator.h.
|
private |
Definition at line 126 of file PFPhotonTranslator.h.
|
private |
Definition at line 149 of file PFPhotonTranslator.h.
|
private |
Definition at line 115 of file PFPhotonTranslator.h.
|
private |
Definition at line 114 of file PFPhotonTranslator.h.
|
private |
Definition at line 113 of file PFPhotonTranslator.h.
|
private |
Definition at line 144 of file PFPhotonTranslator.h.
|
private |
Definition at line 111 of file PFPhotonTranslator.h.
|
private |
Definition at line 150 of file PFPhotonTranslator.h.
|
private |
Definition at line 151 of file PFPhotonTranslator.h.
|
private |
Definition at line 112 of file PFPhotonTranslator.h.
|
private |
Definition at line 136 of file PFPhotonTranslator.h.
|
private |
Definition at line 134 of file PFPhotonTranslator.h.
|
private |
Definition at line 128 of file PFPhotonTranslator.h.
|
private |
Definition at line 130 of file PFPhotonTranslator.h.
|
private |
Definition at line 158 of file PFPhotonTranslator.h.
|
private |
Definition at line 157 of file PFPhotonTranslator.h.
|
private |
Definition at line 117 of file PFPhotonTranslator.h.