CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
puppiForMET_cff Namespace Reference

Functions

def makePuppies
 
def makePuppiesFromMiniAOD
 

Variables

tuple candName = cms.InputTag('packedPFCandidates')
 puppi met More...
 
tuple dRMatch = cms.vdouble(10,10,10,10)
 
tuple pdgids = cms.vint32(22,11,211,130)
 
tuple photonId = cms.InputTag("egmPhotonIDs:cutBasedPhotonID_PHYS14_PU20bx25_V2p1-standalone-loose")
 
tuple photonName = cms.InputTag('slimmedPhotons')
 
tuple pt = cms.double(10)
 
tuple puppiCandName = cms.InputTag('puppi')
 
tuple useRefs = cms.bool(True)
 
tuple useValueMap = cms.bool(False)
 
tuple weight = cms.double(1.)
 
tuple weightsName = cms.InputTag('puppi')
 

Function Documentation

def puppiForMET_cff.makePuppies (   process)

Definition at line 6 of file puppiForMET_cff.py.

Referenced by miniAOD_tools.miniAOD_customizeCommon().

6 
7 def makePuppies( process ):
8 
9  process.load('CommonTools.PileupAlgos.Puppi_cff')
10 
11  process.pfNoLepPUPPI = cms.EDFilter("PdgIdCandViewSelector",
12  src = cms.InputTag("particleFlow"),
13  pdgId = cms.vint32( 1,2,22,111,130,310,2112,211,-211,321,-321,999211,2212,-2212 )
14  )
15  process.pfLeptonsPUPPET = cms.EDFilter("PdgIdCandViewSelector",
16  src = cms.InputTag("particleFlow"),
17  pdgId = cms.vint32(-11,11,-13,13),
18  )
19 
20 
21  process.puppiNoLep = process.puppi.clone()
22  process.puppiNoLep.candName = cms.InputTag('pfNoLepPUPPI')
23 
24  process.puppiMerged = cms.EDProducer("CandViewMerger",src = cms.VInputTag( 'puppiNoLep','pfLeptonsPUPPET'))
def puppiForMET_cff.makePuppiesFromMiniAOD (   process)

Definition at line 43 of file puppiForMET_cff.py.

43 
44 def makePuppiesFromMiniAOD( process ):
45 
46  process.load('CommonTools.PileupAlgos.Puppi_cff')
47 
48  process.puppi.candName = cms.InputTag('packedPFCandidates')
49  process.puppi.vertexName = cms.InputTag('offlineSlimmedPrimaryVertices')
50 # kind of ugly, is there a better way to do this?
51 
52  process.pfNoLepPUPPI = cms.EDFilter("CandPtrSelector", src = cms.InputTag("packedPFCandidates"), cut = cms.string("abs(pdgId) != 13 && abs(pdgId) != 11 && abs(pdgId) != 15"))
53  process.pfLeptonsPUPPET = cms.EDFilter("CandPtrSelector", src = cms.InputTag("packedPFCandidates"), cut = cms.string("abs(pdgId) == 13 || abs(pdgId) == 11 || abs(pdgId) == 15"))
54 
55  process.puppiNoLep = process.puppi.clone()
56  process.puppiNoLep.candName = cms.InputTag('pfNoLepPUPPI')
57 
58  process.puppiMerged = cms.EDProducer("CandViewMerger",src = cms.VInputTag( 'puppiNoLep','pfLeptonsPUPPET'))

Variable Documentation

tuple puppiForMET_cff.candName = cms.InputTag('packedPFCandidates')

puppi met

Definition at line 27 of file puppiForMET_cff.py.

tuple puppiForMET_cff.dRMatch = cms.vdouble(10,10,10,10)

Definition at line 33 of file puppiForMET_cff.py.

Referenced by PileupJetIdAlgo.initVariables().

tuple puppiForMET_cff.pdgids = cms.vint32(22,11,211,130)

Definition at line 34 of file puppiForMET_cff.py.

tuple puppiForMET_cff.photonId = cms.InputTag("egmPhotonIDs:cutBasedPhotonID_PHYS14_PU20bx25_V2p1-standalone-loose")

Definition at line 30 of file puppiForMET_cff.py.

Referenced by PuppiPhoton.produce().

tuple puppiForMET_cff.photonName = cms.InputTag('slimmedPhotons')

Definition at line 29 of file puppiForMET_cff.py.

tuple puppiForMET_cff.pt = cms.double(10)

Definition at line 31 of file puppiForMET_cff.py.

tuple puppiForMET_cff.puppiCandName = cms.InputTag('puppi')

Definition at line 28 of file puppiForMET_cff.py.

tuple puppiForMET_cff.useRefs = cms.bool(True)

Definition at line 32 of file puppiForMET_cff.py.

tuple puppiForMET_cff.useValueMap = cms.bool(False)

Definition at line 36 of file puppiForMET_cff.py.

tuple puppiForMET_cff.weight = cms.double(1.)

Definition at line 35 of file puppiForMET_cff.py.

Referenced by PhysicsTools::LeastSquares.add(), KalmanVertexUpdator< N >.add(), reco::TrackKinematics.add(), lhef::LHERunInfo::Counter.add(), MuonTruth.addChannel(), RPCRawDataCounts.addDccRecord(), Accumulator.addEntry(), CaloValidationStatistics.addEntry(), MultiTrajectoryStateAssembler.addInvalidState(), TtFullLepKinSolver.addKinSolInfo(), addMeas(), MuonDT2ChamberResidual.addResidual(), MuonCSCChamberResidual.addResidual(), MuonDT13ChamberResidual.addResidual(), CSCPairResidualsConstraint.addTrack(), FedCablingAlgorithm.analyse(), EWKSystUnc.analyze(), ZLONLOHistogrammer.analyze(), zPdfUnc.analyze(), ZMCHistogrammer.analyze(), JetAnaPythia< Jet >.analyze(), GenMuonRadCorrAnalyzer.analyze(), HistoAnalyzer< C >.analyze(), BTagPerformanceAnalyzerMC.analyze(), MuonTruth.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), EmbeddingKineReweightNtupleProducer.analyze(), WValidation.analyze(), BasicHepMCHeavyIonValidation.analyze(), DrellYanValidation.analyze(), BasicGenParticleValidation.analyze(), BasicHepMCValidation.analyze(), MBUEandQCDValidation.analyze(), HiggsValidation.analyze(), DuplicationChecker.analyze(), TauValidation.analyze(), AnotherPrimaryVertexAnalyzer.analyze(), MCVerticesAnalyzer.analyze(), MCvsRecoVerticesAnalyzer.analyze(), Rivet::CMS_2013_I1224539_DIJET.analyze(), FSQDiJetAve.analyze(), EgHLTOfflineSource.analyze(), IsolatedTracksNxN.analyze(), MCEmbeddingValidationAnalyzer.analyze(), RegressionHelper.applyCombinationRegression(), areaInfo.areaInfo(), GsfVertexUpdator.assembleVertexComponents(), CaloTowersCreationAlgo.assignHitEcal(), CaloTowersCreationAlgo.assignHitHcal(), reco::tau::RecoTauVertexAssociator.associatedVertex(), JetAnaPythia< Jet >.beginJob(), BremsstrahlungSimulator.brem(), GsfVertexWeightCalculator.calculate(), ClusterShapeAlgo.Calculate_EnergyDepTopology(), PositionCalc.Calculate_Location(), ECAL2DPositionCalcWithDepthCorr.calculateAndSetPositionActual(), TBPositionCalc.CalculateCMSPos(), QGTagger.calcVariables(), XHistogram.check_weight(), DAFTrackProducerAlgorithm.checkHits(), MultiGaussianStateCombiner1D.combine(), EpCombinationTool.combine(), PairProductionSimulator.compute(), CandIsolatorFromDeposits::SingleDeposit.compute(), PFCandIsolatorFromDeposits::SingleDeposit.compute(), MVAJetPuId.computeIdVariables(), PileupJetIdAlgo.computeIdVariables(), MuScleFitUtils.computeWeight(), EcalTPGParamBuilder.computeWeights(), MassWindow.count(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.count(), BackgroundHandler.countEventsInAllWindows(), MultiVertexFitter.createSeed(), DreamSD.curve_LY(), HcalTB02SD.curve_LY(), ECalSD.curve_LY(), SignedImpactParameter3D.distanceWithJetAxis(), CSCOfflineMonitor.doEfficiencies(), CSCValidation.doEfficiencies(), PhysicsTools::TrainProcessor.doTrainData(), DTCertificationSummary.dqmEndJob(), DTResolutionAnalysisTest.dqmEndJob(), DTRunConditionVarClient.dqmEndJob(), MuScleFit.duringFastLoop(), CalorimetryManager.EMShowerSimulation(), CaloTowersCreationAlgo.emShwrLogWeightPos(), lhef::LHEReader::XMLHandler.endElement(), AdaptiveVertexReconstructor.erase(), evaluateTtFullHadSignalSel(), evaluateTtSemiLepSignalSel(), VertexHistogramMaker.fill(), BPhysicsValidation::ParticleMonitor.Fill(), BasicHepMCValidation::ParticleMonitor.Fill(), ConfigurableHisto.fill(), HParticle.Fill(), HPartVSEta.Fill(), HPartVSPhi.Fill(), HPartVSPt.Fill(), HMassVSPart.Fill(), HMassVSPartProfile.Fill(), HcalDigisClient.fill1D(), HcalDigisClient.fill2D(), SiPixelDataQuality.fillGlobalQualityPlot(), HLXMonitor.FillHistograms(), MCEmbeddingValidationAnalyzer::plotEntryTypeEvtWeight.fillHistograms(), recoBSVTagInfoValidationAnalyzer.fillRecoToSim(), SVTagInfoValidationAnalyzer.fillRecoToSim(), SVTagInfoValidationAnalyzer.fillSimToReco(), recoBSVTagInfoValidationAnalyzer.fillSimToReco(), HepMCFilterDriver.filter(), TauSpinnerFilter.filter(), MCVerticesWeight.filter(), reco::PositiveSideGhostTrackFitter.fit(), MuonResiduals1DOFFitter.fit(), PFDisplacedVertexFinder.fitVertexFromSeed(), gen::Hydjet2Hadronizer.generatePartonsAndHadronize(), CaloSD.getAttenuation(), ECalSD.getBirkL3(), EcalTBH4BeamSD.getEnergyDeposit(), HcalTB06BeamSD.getEnergyDeposit(), ECalSD.getEnergyDeposit(), HcalTB02SD.getEnergyDeposit(), HCalSD.getEnergyDeposit(), EcalClusterToolsT< noZS >.getEnergyDepTopology(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.getFilteredCands(), HFShowerParam.getHits(), GsfBetheHeitlerUpdator.getMixtureParameters(), Qjets.GetNextDistance(), TtFullLepKinSolver.getNuSolution(), DreamSD.getStepInfo(), CaloMeanResponse.getWeight(), AdaptiveVertexFitter.getWeight(), tnp::BaseTreeFiller.init(), reco::GhostTrack.initStates(), CSCPairResidualsConstraint.isFiducial(), IPTools.jetTrackDistance(), likelihood(), VoronoiAlgorithm.lp_populate(), reco::PFDisplacedVertexSeed.mergeWith(), EGExtraInfoModifierFromDB.modifyObject(), MuonResiduals1DOFFitter_FCN(), MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), MuonResiduals6DOFrphiFitter_FCN(), SmsModeFinder3d.operator()(), MtvClusterizer1D< T >.operator()(), FsmwClusterizer1D< T >.operator()(), FsmwModeFinder3d.operator()(), npstat::LinInterpolatedTableND< Numeric, Axis >.operator()(), DTSegmentAnalysisTest.performClientDiagnostic(), TauValidation.photons(), MuonResiduals1DOFFitter.plot(), MuonResiduals5DOFFitter.plot(), MuonResiduals6DOFrphiFitter.plot(), MuonResiduals6DOFFitter.plot(), MuonResidualsFitter.plotweighted(), RandArrayFunction.PrepareTable(), PrescaleWeightProvider.prescaleWeight(), PrintMaterialBudgetInfo.printInfo(), HCalSD.ProcessHits(), WeakEffectsWeightProducer.produce(), ISRGammaWeightProducer.produce(), FSRWeightProducer.produce(), ISRWeightProducer.produce(), LHECOMWeightProducer.produce(), ZmumuEvtSelEffCorrWeightProducer.produce(), edm::BeamHaloProducer.produce(), EmbeddingKineReweightProducer.produce(), MuonRadiationCorrWeightProducer.produce(), GenFilterEfficiencyProducer.produce(), FastPrimaryVertexWithWeightsProducer.produce(), EcalTBWeightsXMLTranslator.readWeightSet(), EcalWeightSetXMLTranslator.readXML(), FastHFShowerLibrary.recoHFShowerLibrary(), KalmanVertexUpdator< N >.remove(), CaloTowersCreationAlgo.rescale(), CaloTowersCreationAlgo.rescaleTowers(), BtoCharmDecayVertexMergerT< VTX >.resolveBtoDchain(), AdaptiveVertexFitter.reWeightTracks(), EcalClusterToolsT< noZS >.roundnessSelectedBarrelRecHits(), PhysicsTools::MLP.set(), L1Analysis::L1AnalysisEvent.Set(), UpdateTProfile.setBinContent(), FWGUIManager.setFrom(), tauImpactParameter::LagrangeMultipliersFitter.setWeight(), Histograms.SetWeight(), PFCandIsolatorFromDeposits::SingleDeposit.SingleDeposit(), CandIsolatorFromDeposits::SingleDeposit.SingleDeposit(), TauValidation.spinEffectsWHpm(), TauValidation.spinEffectsZH(), sistrip::MeasureLA.summarize_module_muH_byLayer(), TBposition(), hcalCalib.Terminate(), PF_PU_AssoMapAlgos.TrackWeightAssociation(), EcalTPGParamBuilder.uncodeWeight(), KalmanVertexUpdator< N >.update(), CommissioningTask.updateHistoSet(), reco::PFDisplacedVertexSeed.updateSeedPoint(), GsfMaterialEffectsUpdator.updateState(), MultiVertexFitter.updateWeights(), VertexTrackFactory< 6 >.vertexTrack(), vtxMean(), TtFullLepKinSolver.WeightSolfromMC(), AdaptiveVertexFitter.weightTracks(), and MuonResidualsTwoBin.wmean().

tuple puppiForMET_cff.weightsName = cms.InputTag('puppi')

Definition at line 37 of file puppiForMET_cff.py.