CMS 3D CMS Logo

Classes | Functions | Variables
PhotonIDValueMapProducer.cc File Reference
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
#include "DataFormats/PatCandidates/interface/PackedCandidate.h"
#include "DataFormats/PatCandidates/interface/Photon.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include <FWCore/ParameterSet/interface/ConfigurationDescriptions.h>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include <FWCore/ParameterSet/interface/ParameterSetDescription.h>
#include "RecoEcal/EgammaCoreTools/interface/EcalClusterLazyTools.h"
#include "RecoEgamma/EgammaTools/interface/MultiToken.h"
#include "RecoEgamma/EgammaTools/interface/Utils.h"

Go to the source code of this file.

Classes

class  PhotonIDValueMapProducer
 

Functions

template<class T , class U >
bool isInFootprint (const T &footprint, const U &candidate)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PhotonIDValueMapProducer > > s_filler__LINE__ ("PhotonIDValueMapProducer")
 
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< PhotonIDValueMapProducer > > s_maker__LINE__ ("PhotonIDValueMapProducer")
 

Variables

float coneSizeDR = 0.3
 
const unsigned char DR_VETO = 0x2
 
float dRvetoBarrel = 0.02
 
float dRvetoEndcap = 0.02
 
float dxyMax = 0.1
 
float dzMax = 0.2
 
const std::string names [nVars_]
 
int nVars_ = 19
 
const unsigned char PT_MIN_THRESH = 0x8
 
float ptMin = 0.1
 
const unsigned char PV_CONSTRAINT = 0x1
 

Function Documentation

template<class T , class U >
bool isInFootprint ( const T footprint,
const U &  candidate 
)

Definition at line 23 of file PhotonIDValueMapProducer.cc.

Referenced by ElectronPFIsolationWithMapBasedVeto::isInIsolationCone(), PhotonPFIsolationWithMapBasedVeto::isInIsolationCone(), and PhotonIDValueMapProducer::produce().

24 {
25  for (auto& it : footprint) {
26  if (it.key() == candidate.key())
27  return true;
28  }
29  return false;
30 }
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< PhotonIDValueMapProducer > > s_filler__LINE__ ( "PhotonIDValueMapProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< PhotonIDValueMapProducer > > s_maker__LINE__ ( "PhotonIDValueMapProducer"  )
static

Variable Documentation

float coneSizeDR = 0.3
const unsigned char DR_VETO = 0x2
float dRvetoBarrel = 0.02
float dRvetoEndcap = 0.02
float dxyMax = 0.1
float dzMax = 0.2
const std::string names[nVars_]
Initial value:
= {
"phoFull5x5SigmaIEtaIEta",
"phoFull5x5SigmaIEtaIPhi",
"phoFull5x5E1x3",
"phoFull5x5E2x2",
"phoFull5x5E2x5Max",
"phoFull5x5E5x5",
"phoESEffSigmaRR",
"phoFull5x5E1x3byE5x5",
"phoFull5x5E2x2byE5x5",
"phoFull5x5E2x5byE5x5",
"phoChargedIsolation",
"phoNeutralHadronIsolation",
"phoPhotonIsolation",
"phoWorstChargedIsolation",
"phoWorstChargedIsolationConeVeto",
"phoWorstChargedIsolationConeVetoPVConstr",
"phoTrkIsolation",
"phoHcalPFClIsolation",
"phoEcalPFClIsolation"
}

Definition at line 82 of file PhotonIDValueMapProducer.cc.

Referenced by algorithm(), RHStopDump::analyze(), HLTScalers::analyze(), HcalIsoTrkAnalyzer::analyze(), SiStripBadComponentInfo::bookBadComponentHistos(), MixCollectionValidation::bookHistograms(), MuonIsolationDQM::bookHistograms(), VirtualJetProducer::JetType::byName(), pftools::CalibCompare::CalibCompare(), edm::CFWriter::CFWriter(), CmsShowCommonPopup::CmsShowCommonPopup(), l1t::OMDSReader::columnNames(), l1t::OMDSReader::columnNamesView(), CandCombinerBase< OutputCollection, CandPtr >::combine(), vid::CutFlowResult::cutFlowSize(), DDHtmlLpDetails::DDHtmlLpDetails(), DDHtmlMaDetails::DDHtmlMaDetails(), DDHtmlRoDetails::DDHtmlRoDetails(), DDHtmlSoDetails::DDHtmlSoDetails(), DDHtmlSpDetails::DDHtmlSpDetails(), doBZ2Compression(), HLTScalersClient::endLuminosityBlock(), DDHCalXtalAlgo::execute(), pftools::Exercises3::Exercises3(), edm::ParameterSet::existsAs(), TriggerOutputBranches::fill(), HLTMuonMatchAndPlot::fillMapFromPSet(), egHLT::trigTools::filterInactiveTightLooseTriggers(), MuonResiduals5DOFFitter::fit(), MuonResiduals6DOFrphiFitter::fit(), MuonResiduals6DOFFitter::fit(), FWLiteESRecordWriterAnalyzer::FWLiteESRecordWriterAnalyzer(), SimHitsValidationHcal::getHistogramTypes(), tensorflow::NTSession::GetOrCreateExecutors(), tensorflow::TBBSession::GetOrCreateExecutors(), pat::PackedTriggerPrescales::getPrescaleForName(), FWAdapterRowHeaderTableManager::getTitles(), MisalignmentScenarioBuilder::hasParameter_(), HcalTB02Analysis::HcalTB02Analysis(), HcalTBWriter::HcalTBWriter(), edm::HiMixingModule::HiMixingModule(), identity(), DDHCalXtalAlgo::initialize(), MuonIsolationDQM::InitStatics(), BPHKinematicFit::kinematicTree(), BPHKinematicFit::kinParticles(), HGCalGeomParameters::loadGeometryHexagon(), edm::MixingModule::MixingModule(), PhysicsTools::MVAComputerESSourceBase::MVAComputerESSourceBase(), PhysicsTools::MVATrainerFileSave::MVATrainerFileSave(), gen::ParameterCollector::ParameterCollector(), pat::PATElectronProducer::PATElectronProducer(), MP7FileReader::path(), pat::PATPhotonProducer::PATPhotonProducer(), PATTauIDEmbedder::PATTauIDEmbedder(), pat::PATTauProducer::PATTauProducer(), PhotonIDValueMapProducer::PhotonIDValueMapProducer(), edm::PreMixingModule::PreMixingModule(), print_rates(), PrintGeomInfoAction::PrintGeomInfoAction(), MagGeoBuilderFromDDD::volumeHandle::printUniqueNames(), DDLRotationByAxis::processElement(), RHStopTracer::produce(), pat::PATTriggerObjectStandAloneUnpacker::produce(), PhotonIDValueMapProducer::produce(), pat::PATTriggerProducer::produce(), BaseMVAValueMapProducer< T >::produce(), SiStripDbParams::pset(), pat::TriggerObjectStandAlone::psetID(), dqmoffline::l1t::readHistDefinitions(), CocoaAnalyzer::ReadXMLFile(), edm::PoolOutputModule::reallyOpenFile(), DDLMaterial::setReference(), DDLSolid::setReference(), pat::PackedTriggerPrescales::setTriggerNames(), l1t::OMDSReader::singleAttribute(), heppy::TriggerBitChecker::syncIndices(), fwlite::MultiChainEvent::triggerNames(), fwlite::Event::triggerNames(), edm::Event::triggerNames(), TriggerOutputBranches::TriggerOutputBranches(), fwlite::MultiChainEvent::triggerResultsByName(), fwlite::Event::triggerResultsByName(), edm::Event::triggerResultsByName(), edmplugin::PluginCapabilities::tryToFind(), PrintGeomInfoAction::update(), and HcalTB02Analysis::update().

int nVars_ = 19
const unsigned char PT_MIN_THRESH = 0x8
float ptMin = 0.1

Definition at line 114 of file PhotonIDValueMapProducer.cc.

Referenced by QGLikelihoodDBReader::analyze(), QGLikelihoodSystematicsDBReader::analyze(), QGLikelihoodSystematicsDBWriter::beginJob(), MuonKinVsEtaAnalyzer::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), MuonRecoOneHLT::bookHistograms(), BPHWriteSpecificDecay::BPHWriteSpecificDecay(), SeedForPhotonConversion1Leg::checkHit(), SeedForPhotonConversionFromQuadruplets::checkHit(), GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), FastTSGFromL2Muon::clean(), FastTSGFromIOHit::clean(), TrackerSeedCleaner::clean(), PhotonIDValueMapProducer::computeWorstPFChargedIsolation(), ElectronEnergyCalibrator::correctLinearity(), EmDQM::dqmBeginRun(), EfficiencyPlotter::dqmEndJob(), DTCalibMuonSelection::DTCalibMuonSelection(), EfficiencyPlotter::EfficiencyPlotter(), RectangularEtaPhiTrackingRegion::estimator(), BPHWriteSpecificDecay::fill(), DTCalibMuonSelection::filter(), FourVectorHLT::FourVectorHLT(), PuppiContainer::getPuppiId(), HCovarianceVSParts::HCovarianceVSParts(), TrackBuildingAnalyzer::initHisto(), PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo::loop(), SeedFromConsecutiveHitsCreator::makeSeed(), MuonKinVsEtaAnalyzer::MuonKinVsEtaAnalyzer(), MuonRecoAnalyzer::MuonRecoAnalyzer(), MuonRecoOneHLT::MuonRecoOneHLT(), PropagatorWithMaterialESProducer::produce(), KFBasedPixelFitter::run(), SegmentTrackAnalyzer::SegmentTrackAnalyzer(), HadronDecayGenEvtSelector::selectParticle(), PartonHadronDecayGenEvtSelector::selectParticle(), and Benchmark::setRange().

const unsigned char PV_CONSTRAINT = 0x1