CMS 3D CMS Logo

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

Variables

tuple finalIsolatedTracks
 
tuple isFromLostTrackForIsoTk
 
tuple isoForIsoTk
 
tuple isoTrackTable
 
tuple isoTrackTablesTask = cms.Task(isoTrackTable)
 
tuple isoTrackTask = cms.Task(finalIsolatedTracks,isoForIsoTk,isFromLostTrackForIsoTk)
 

Variable Documentation

tuple isotracks_cff.finalIsolatedTracks
Initial value:
1 = cms.EDProducer("IsolatedTrackCleaner",
2  tracks = cms.InputTag("isolatedTracks"),
3  cut = cms.string("((pt>5 && (abs(pdgId) == 11 || abs(pdgId) == 13)) || pt > 10) && (abs(pdgId) < 15 || abs(eta) < 2.5) && ((abs(dxy) < 0.2 && abs(dz) < 0.1) || pt>15) && ((pfIsolationDR03().chargedHadronIso < 5 && pt < 25) || pfIsolationDR03().chargedHadronIso/pt < 0.2)"),
4  finalLeptons = cms.VInputTag(
5  cms.InputTag("finalElectrons"),
6  cms.InputTag("finalLooseMuons"),
7  ),
8 )

Definition at line 5 of file isotracks_cff.py.

tuple isotracks_cff.isFromLostTrackForIsoTk
Initial value:
1 = cms.EDProducer("IsFromLostTrackMapProducer",
2  srcIsoTracks = cms.InputTag("finalIsolatedTracks"),
3  packedPFCandidates = cms.InputTag("packedPFCandidates"),
4  lostTracks = cms.InputTag("lostTracks"),
5 )

Definition at line 21 of file isotracks_cff.py.

tuple isotracks_cff.isoForIsoTk
Initial value:
1 = cms.EDProducer("IsoTrackIsoValueMapProducer",
2  src = cms.InputTag("finalIsolatedTracks"),
3  relative = cms.bool(True),
4  rho_MiniIso = cms.InputTag("fixedGridRhoFastjetAll"),
5  EAFile_MiniIso = cms.FileInPath("PhysicsTools/NanoAOD/data/effAreaMuons_cone03_pfNeuHadronsAndPhotons_80X.txt"),
6 )

Definition at line 14 of file isotracks_cff.py.

tuple isotracks_cff.isoTrackTable
Initial value:
1 = cms.EDProducer("SimpleCandidateFlatTableProducer",
2  src = cms.InputTag("finalIsolatedTracks"),
3  cut = cms.string(""), # filtered already above
4  name = cms.string("IsoTrack"),
5  doc = cms.string("isolated tracks after basic selection (" + finalIsolatedTracks.cut.value() + ") and lepton veto"),
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  dz = Var("dz",float,doc="dz (with sign) wrt first PV, in cm",precision=10),
10  dxy = Var("dxy",float,doc="dxy (with sign) wrt first PV, in cm",precision=10),
11  pfRelIso03_chg = Var("pfIsolationDR03().chargedHadronIso/pt",float,doc="PF relative isolation dR=0.3, charged component",precision=10),
12  pfRelIso03_all = Var("(pfIsolationDR03().chargedHadronIso + max(pfIsolationDR03().neutralHadronIso + pfIsolationDR03().photonIso - pfIsolationDR03().puChargedHadronIso/2,0.0))/pt",float,doc="PF relative isolation dR=0.3, total (deltaBeta corrections)",precision=10),
13  isPFcand = Var("packedCandRef().isNonnull()",bool,doc="if isolated track is a PF candidate"),
14  fromPV = Var("fromPV", int, doc="isolated track comes from PV"),
15  pdgId = Var("pdgId",int,doc="PDG id of PF cand"),
16  isHighPurityTrack = Var("isHighPurityTrack",bool,doc="track is high purity"),
17  charge = Var("charge", int, doc="electric charge"),
18  ),
19  externalVariables = cms.PSet(
20  miniPFRelIso_chg = ExtVar("isoForIsoTk:miniIsoChg",float,doc="mini PF relative isolation, charged component",precision=10),
21  miniPFRelIso_all = ExtVar("isoForIsoTk:miniIsoAll",float,doc="mini PF relative isolation, total (with scaled rho*EA PU corrections)",precision=10),
22  isFromLostTrack = ExtVar("isFromLostTrackForIsoTk:isFromLostTrack",bool,doc="if isolated track comes from a lost track"),
23  ),
24 )
def ExtVar
Definition: common_cff.py:31

Definition at line 27 of file isotracks_cff.py.

tuple isotracks_cff.isoTrackTablesTask = cms.Task(isoTrackTable)

Definition at line 53 of file isotracks_cff.py.

tuple isotracks_cff.isoTrackTask = cms.Task(finalIsolatedTracks,isoForIsoTk,isFromLostTrackForIsoTk)

Definition at line 52 of file isotracks_cff.py.