1 import FWCore.ParameterSet.Config
as cms
4 tkAssocParamBlock = TrackAssociatorParameterBlock.clone()
5 tkAssocParamBlock.TrackAssociatorParameters.useMuon = cms.bool(
False)
6 tkAssocParamBlock.TrackAssociatorParameters.useCalo = cms.bool(
False)
7 tkAssocParamBlock.TrackAssociatorParameters.useHO = cms.bool(
False)
8 tkAssocParamBlock.TrackAssociatorParameters.usePreshower = cms.bool(
False)
9 tkAssocParamBlock.TrackAssociatorParameters.EERecHitCollectionLabel = cms.InputTag(
"reducedEcalRecHitsEE")
10 tkAssocParamBlock.TrackAssociatorParameters.EBRecHitCollectionLabel = cms.InputTag(
"reducedEcalRecHitsEB")
11 tkAssocParamBlock.TrackAssociatorParameters.HBHERecHitCollectionLabel = cms.InputTag(
"reducedHcalRecHits",
"hbhereco")
12 tkAssocParamBlock.TrackAssociatorParameters.HORecHitCollectionLabel = cms.InputTag(
"reducedHcalRecHits",
"horeco")
14 _susySoftDisappearingTrackCut = (
15 "pt > 10. && (pt > 15. || hitPattern().pixelLayersWithMeasurement() == hitPattern().trackerLayersWithMeasurement()) && "+
16 " abs(dxy) < 0.02 && abs(dz) < 0.1 && "+
17 " (miniPFIsolation().chargedHadronIso()/pt < 0.2) && "+
18 " !(pfLepOverlap) && "+
19 " pfNeutralSum/pt < 0.2" 21 _exoHighPtTrackCut = (
23 " isHighPurityTrack && "+
24 " abs(dxy) < 0.5 && abs(dz) < 0.5 && "+
25 " (miniPFIsolation().chargedHadronIso()/pt < 1.0 || pt > 100)" 27 isolatedTracks = cms.EDProducer(
"PATIsolatedTrackProducer",
29 packedPFCandidates = cms.InputTag(
"packedPFCandidates"),
30 lostTracks = cms.InputTag(
"lostTracks"),
31 generalTracks = cms.InputTag(
"generalTracks"),
32 primaryVertices = cms.InputTag(
"offlinePrimaryVertices"),
33 caloJets = cms.InputTag(
"ak4CaloJets"),
34 dEdxDataStrip = cms.InputTag(
"dedxHarmonic2"),
35 dEdxDataPixel = cms.InputTag(
"dedxPixelHarmonic2"),
36 dEdxHitInfo = cms.InputTag(
"dedxHitInfo"),
37 dEdxHitInfoPrescale = cms.InputTag(
"dedxHitInfo",
"prescale"),
38 addPrescaledDeDxTracks = cms.bool(
False),
39 usePrecomputedDeDxStrip = cms.bool(
True),
40 usePrecomputedDeDxPixel = cms.bool(
True),
41 pT_cut = cms.double(5.0),
42 pT_cut_noIso = cms.double(20.0),
43 pfIsolation_DR = cms.double(0.3),
44 pfIsolation_DZ = cms.double(0.1),
45 miniIsoParams = cms.vdouble(0.05, 0.2, 10.0),
47 absIso_cut = cms.double(5.0),
48 relIso_cut = cms.double(0.2),
49 miniRelIso_cut = cms.double(0.2),
51 caloJet_DR = cms.double(0.3),
53 pflepoverlap_DR = cms.double(0.001),
54 pflepoverlap_pTmin = cms.double(5.0),
56 pcRefNearest_DR = cms.double(0.3),
57 pcRefNearest_pTmin = cms.double(5.0),
59 pfneutralsum_DR = cms.double(0.05),
61 saveDeDxHitInfo = cms.bool(
True),
62 saveDeDxHitInfoCut = cms.string(
"(%s) || (%s)" % (_susySoftDisappearingTrackCut,_exoHighPtTrackCut)),
66 """Switch off dE/dx hit info on fast sim, as it's not available""" 67 process.isolatedTracks.saveDeDxHitInfo =
False
def miniAOD_customizeIsolatedTracksFastSim(process)