CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
muons_cff Namespace Reference

Variables

tuple finalLooseMuons
 
tuple finalMuons
 
tuple fsrTable
 
tuple isoForMu
 
tuple muonFSRassociation
 
tuple muonFSRphotons
 
tuple muonMCTable
 
tuple muonMCTask = cms.Task(muonsMCMatchForTable,muonMCTable)
 
tuple muonMVALowPt
 
tuple muonMVATTH
 
tuple muonsMCMatchForTable
 
tuple muonTable
 
tuple muonTablesTask = cms.Task(muonFSRphotons,muonFSRassociation,muonMVATTH,muonMVALowPt,muonTable,fsrTable)
 
tuple muonTask = cms.Task(slimmedMuonsUpdated,isoForMu,ptRatioRelForMu,slimmedMuonsWithUserData,finalMuons,finalLooseMuons )
 
tuple ptRatioRelForMu
 
tuple slimmedMuonsUpdated
 
tuple slimmedMuonsWithUserData
 
string weightFile = "PhysicsTools/NanoAOD/data/mu_BDTG_2016.weights.xml"
 

Variable Documentation

tuple muons_cff.finalLooseMuons
Initial value:
1 = cms.EDFilter("PATMuonRefSelector", # for isotrack cleaning
2  src = cms.InputTag("slimmedMuonsWithUserData"),
3  cut = cms.string("pt > 3 && track.isNonnull && isLooseMuon")
4 )

Definition at line 53 of file muons_cff.py.

tuple muons_cff.finalMuons
Initial value:
1 = cms.EDFilter("PATMuonRefSelector",
2  src = cms.InputTag("slimmedMuonsWithUserData"),
3  cut = cms.string("pt > 15 || (pt > 3 && (passed('CutBasedIdLoose') || passed('SoftCutBasedId') || passed('SoftMvaId') || passed('CutBasedIdGlobalHighPt') || passed('CutBasedIdTrkHighPt')))")
4 )

Definition at line 48 of file muons_cff.py.

Referenced by RPCTrigger.produce().

tuple muons_cff.fsrTable
Initial value:
1 = cms.EDProducer("SimpleCandidateFlatTableProducer",
2  src = cms.InputTag("muonFSRphotons"),
3  cut = cms.string(""), #we should not filter on cross linked collections
4  name = cms.string("FsrPhoton"),
5  doc = cms.string("Final state radiation photons emitted by muons"),
6  singleton = cms.bool(False), # the number of entries is variable
7  extension = cms.bool(False), # this is the main table for the muons
8  variables = cms.PSet(P3Vars,
9  relIso03 = Var("userFloat('relIso03')",float,doc="relative isolation in a 0.3 cone without CHS"),
10  dROverEt2 = Var("userFloat('dROverEt2')",float,doc="deltaR to associated muon divided by photon et2"),
11  muonIdx = Var("?hasUserCand('associatedMuon')?userCand('associatedMuon').key():-1",int, doc="index of associated muon")
12  )
13  )

Definition at line 102 of file muons_cff.py.

tuple muons_cff.isoForMu
Initial value:
1 = cms.EDProducer("MuonIsoValueMapProducer",
2  src = cms.InputTag("slimmedMuonsUpdated"),
3  relative = cms.bool(False),
4  rho_MiniIso = cms.InputTag("fixedGridRhoFastjetAll"),
5  EAFile_MiniIso = cms.FileInPath("PhysicsTools/NanoAOD/data/effAreaMuons_cone03_pfNeuHadronsAndPhotons_94X.txt"),
6 )

Definition at line 19 of file muons_cff.py.

tuple muons_cff.muonFSRassociation
Initial value:
1 = muonFSRAssociator.clone(
2  photons = cms.InputTag("muonFSRphotons"),
3  muons = cms.InputTag("linkedObjects","muons"),
4 )

Definition at line 97 of file muons_cff.py.

tuple muons_cff.muonFSRphotons
Initial value:
1 = muonFSRProducer.clone(
2  packedPFCandidates = cms.InputTag("packedPFCandidates"),
3  slimmedElectrons = cms.InputTag("slimmedElectrons"),
4  muons = cms.InputTag("linkedObjects","muons"),
5 )

Definition at line 91 of file muons_cff.py.

tuple muons_cff.muonMCTable
Initial value:
1 = cms.EDProducer("CandMCMatchTableProducer",
2  src = muonTable.src,
3  mcMap = cms.InputTag("muonsMCMatchForTable"),
4  objName = muonTable.name,
5  objType = muonTable.name, #cms.string("Muon"),
6  branchName = cms.string("genPart"),
7  docString = cms.string("MC matching to status==1 muons"),
8 )

Definition at line 196 of file muons_cff.py.

tuple muons_cff.muonMCTask = cms.Task(muonsMCMatchForTable,muonMCTable)

Definition at line 206 of file muons_cff.py.

tuple muons_cff.muonMVALowPt
Initial value:
1 = muonMVATTH.clone(
2  weightFile = cms.FileInPath("PhysicsTools/NanoAOD/data/mu_BDTG_lowpt.weights.xml"),
3  name = cms.string("muonMVALowPt"),
4 )

Definition at line 81 of file muons_cff.py.

tuple muons_cff.muonMVATTH
Initial value:
1 = cms.EDProducer("MuonBaseMVAValueMapProducer",
2  src = cms.InputTag("linkedObjects","muons"),
3  weightFile = cms.FileInPath("PhysicsTools/NanoAOD/data/mu_BDTG_2017.weights.xml"),
4  name = cms.string("muonMVATTH"),
5  isClassifier = cms.bool(True),
6  variablesOrder = cms.vstring(["LepGood_pt","LepGood_eta","LepGood_jetNDauChargedMVASel","LepGood_miniRelIsoCharged","LepGood_miniRelIsoNeutral","LepGood_jetPtRelv2","LepGood_jetDF","LepGood_jetPtRatio","LepGood_dxy","LepGood_sip3d","LepGood_dz","LepGood_segmentComp"]),
7  variables = cms.PSet(
8  LepGood_pt = cms.string("pt"),
9  LepGood_eta = cms.string("eta"),
10  LepGood_jetNDauChargedMVASel = cms.string("?userCand('jetForLepJetVar').isNonnull()?userFloat('jetNDauChargedMVASel'):0"),
11  LepGood_miniRelIsoCharged = cms.string("userFloat('miniIsoChg')/pt"),
12  LepGood_miniRelIsoNeutral = cms.string("(userFloat('miniIsoAll')-userFloat('miniIsoChg'))/pt"),
13  LepGood_jetPtRelv2 = cms.string("?userCand('jetForLepJetVar').isNonnull()?userFloat('ptRel'):0"),
14  LepGood_jetDF = cms.string("?userCand('jetForLepJetVar').isNonnull()?max(userCand('jetForLepJetVar').bDiscriminator('pfDeepFlavourJetTags:probbb')+userCand('jetForLepJetVar').bDiscriminator('pfDeepFlavourJetTags:probb')+userCand('jetForLepJetVar').bDiscriminator('pfDeepFlavourJetTags:problepb'),0.0):0.0"),
15  LepGood_jetPtRatio = cms.string("?userCand('jetForLepJetVar').isNonnull()?min(userFloat('ptRatio'),1.5):1.0/(1.0+(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt)"),
16  LepGood_dxy = cms.string("log(abs(dB('PV2D')))"),
17  LepGood_sip3d = cms.string("abs(dB('PV3D')/edB('PV3D'))"),
18  LepGood_dz = cms.string("log(abs(dB('PVDZ')))"),
19  LepGood_segmentComp = cms.string("segmentCompatibility"),
20 
21  )
22 )

Definition at line 58 of file muons_cff.py.

tuple muons_cff.muonsMCMatchForTable
Initial value:
1 = cms.EDProducer("MCMatcher", # cut on deltaR, deltaPt/Pt; pick best by deltaR
2  src = muonTable.src, # final reco collection
3  matched = cms.InputTag("finalGenParticles"), # final mc-truth particle collection
4  mcPdgId = cms.vint32(13), # one or more PDG ID (13 = mu); absolute values (see below)
5  checkCharge = cms.bool(False), # True = require RECO and MC objects to have the same charge
6  mcStatus = cms.vint32(1), # PYTHIA status code (1 = stable, 2 = shower, 3 = hard scattering)
7  maxDeltaR = cms.double(0.3), # Minimum deltaR for the match
8  maxDPtRel = cms.double(0.5), # Minimum deltaPt/Pt for the match
9  resolveAmbiguities = cms.bool(True), # Forbid two RECO objects to match to the same GEN object
10  resolveByMatchQuality = cms.bool(True), # False = just match input in order; True = pick lowest deltaR pair first
11 )

Definition at line 184 of file muons_cff.py.

tuple muons_cff.muonTable

Definition at line 116 of file muons_cff.py.

tuple muons_cff.muonTablesTask = cms.Task(muonFSRphotons,muonFSRassociation,muonMVATTH,muonMVALowPt,muonTable,fsrTable)

Definition at line 207 of file muons_cff.py.

Definition at line 205 of file muons_cff.py.

tuple muons_cff.ptRatioRelForMu
Initial value:
1 = cms.EDProducer("MuonJetVarProducer",
2  srcJet = cms.InputTag("updatedJets"),
3  srcLep = cms.InputTag("slimmedMuonsUpdated"),
4  srcVtx = cms.InputTag("offlineSlimmedPrimaryVertices"),
5 )

Definition at line 28 of file muons_cff.py.

tuple muons_cff.slimmedMuonsUpdated
Initial value:
1 = cms.EDProducer("PATMuonUpdater",
2  src = cms.InputTag("slimmedMuons"),
3  vertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
4  computeMiniIso = cms.bool(False),
5  fixDxySign = cms.bool(True),
6  pfCandsForMiniIso = cms.InputTag("packedPFCandidates"),
7  miniIsoParams = PhysicsTools.PatAlgos.producersLayer1.muonProducer_cfi.patMuons.miniIsoParams, # so they're in sync
8  recomputeMuonBasicSelectors = cms.bool(False),
9 )

Definition at line 8 of file muons_cff.py.

tuple muons_cff.slimmedMuonsWithUserData
Initial value:
1 = cms.EDProducer("PATMuonUserDataEmbedder",
2  src = cms.InputTag("slimmedMuonsUpdated"),
3  userFloats = cms.PSet(
4  miniIsoChg = cms.InputTag("isoForMu:miniIsoChg"),
5  miniIsoAll = cms.InputTag("isoForMu:miniIsoAll"),
6  ptRatio = cms.InputTag("ptRatioRelForMu:ptRatio"),
7  ptRel = cms.InputTag("ptRatioRelForMu:ptRel"),
8  jetNDauChargedMVASel = cms.InputTag("ptRatioRelForMu:jetNDauChargedMVASel"),
9  ),
10  userCands = cms.PSet(
11  jetForLepJetVar = cms.InputTag("ptRatioRelForMu:jetForLepJetVar") # warning: Ptr is null if no match is found
12  ),
13 )

Definition at line 34 of file muons_cff.py.

string muons_cff.weightFile = "PhysicsTools/NanoAOD/data/mu_BDTG_2016.weights.xml"

Definition at line 87 of file muons_cff.py.