1 import FWCore.ParameterSet.Config
as cms
4 trackAssociatorByHitsForPhotonValidation = tabh.trackAssociatorByHits.clone()
5 trackAssociatorByHitsForPhotonValidation.Cut_RecoToSim = 0.5
6 trackAssociatorByHitsForPhotonValidation.Quality_SimToReco = 0.5
7 trackAssociatorByHitsForPhotonValidation.Purity_SimToReco = 0.5
8 trackAssociatorByHitsForPhotonValidation.SimToRecoDenominator =
'reco'
11 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
13 ComponentName = cms.string(
'photonValidation'),
14 OutputFileName = cms.string(
'PhotonValidationHistos.root'),
15 scEndcapProducer = cms.string(
'correctedMulti5x5SuperClustersWithPreshower'),
16 scBarrelProducer = cms.string(
'correctedHybridSuperClusters'),
17 phoProducer = cms.string(
'photons'),
18 pfCandidates = cms.InputTag(
"particleFlow"),
20 valueMapPhoToParticleBasedIso = cms.string(
"gedPhotons"),
21 conversionOITrackProducer =cms.string(
'ckfOutInTracksFromConversions'),
22 conversionIOTrackProducer =cms.string(
'ckfInOutTracksFromConversions'),
23 outInTrackCollection =cms.string(
''),
24 inOutTrackCollection =cms.string(
''),
25 photonCollection = cms.string(
''),
26 hbheInstance = cms.string(
''),
27 endcapEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
28 barrelEcalHits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
29 hbheModule = cms.string(
'hbhereco'),
30 trackProducer = cms.InputTag(
"generalTracks"),
31 label_tp = cms.InputTag(
"tpSelection"),
32 Verbosity = cms.untracked.int32(0),
33 fastSim = cms.bool(
False),
34 isRunCentrally = cms.bool(
False),
35 analyzerName = cms.string(
'PhotonValidator'),
37 minPhoEtCut = cms.double(10.),
38 convTrackMinPtCut = cms.double(1.),
39 likelihoodCut = cms.double(0.),
41 useTP = cms.bool(
True),
43 eBin = cms.int32(100),
44 eMin = cms.double(0.0),
45 eMax = cms.double(500.0),
47 etScale = cms.double(0.1),
49 etBin = cms.int32(100),
50 etMax = cms.double(250.),
51 etMin = cms.double(0.0),
53 etaBin = cms.int32(100),
54 etaBin2 = cms.int32(25),
55 etaMin = cms.double(-2.5),
56 etaMax = cms.double(2.5),
58 phiBin = cms.int32(100),
59 phiMin = cms.double(-3.14),
60 phiMax = cms.double(3.14),
62 r9Bin = cms.int32(200),
63 r9Min = cms.double(0.0),
64 r9Max = cms.double(1.1),
66 dEtaTracksBin = cms.int32(100),
67 dEtaTracksMin = cms.double(-0.2),
68 dEtaTracksMax = cms.double(0.2),
70 dPhiTracksBin = cms.int32(100),
71 dPhiTracksMin = cms.double(-0.5),
72 dPhiTracksMax = cms.double(0.5),
74 dEtaBin = cms.int32(100),
75 dEtaMin = cms.double(-0.2),
76 dEtaMax = cms.double(0.2),
78 dPhiBin = cms.int32(100),
79 dPhiMin = cms.double(-0.05),
80 dPhiMax = cms.double(0.05),
83 rMin = cms.double(0.),
84 rMax = cms.double(120),
86 zBin = cms.int32(100),
87 zMin = cms.double(-220.),
88 zMax = cms.double(220),
90 resBin = cms.int32(100),
91 resMin = cms.double(0.7),
92 resMax = cms.double(1.2),
94 dCotCutOn =cms.bool(
False),
95 dCotCutValue=cms.double(0.05),
96 dCotHardCutValue=cms.double(0.02),
98 dCotTracksBin = cms.int32(100),
99 dCotTracksMin = cms.double(-2.),
100 dCotTracksMax = cms.double(2.),
102 povereBin = cms.int32(100),
103 povereMin = cms.double(0.),
104 povereMax = cms.double(5.),
106 eoverpBin = cms.int32(100),
107 eoverpMin = cms.double(0.),
108 eoverpMax = cms.double(5.),
110 chi2Min = cms.double(0.),
111 chi2Max = cms.double(20.),
113 ggMassBin =cms.int32(200),
114 ggMassMin =cms.double(60.),
115 ggMassMax =cms.double(160.),
117 rBinForXray = cms.int32(200),
118 rMinForXray = cms.double(0.),
119 rMaxForXray = cms.double(80.),
120 zBinForXray = cms.int32(100),
121 zBin2ForXray = cms.int32(560),
122 zMinForXray = cms.double(0.),
123 zMaxForXray = cms.double(280.),
126 hcalIsolExtR = cms.double(0.3),
127 hcalIsolInnR = cms.double(0.0),
128 minTrackPtCut = cms.double(1.5),
129 minBcEtCut = cms.double(0.0),
130 lipCut = cms.double(2.0),
131 trkIsolInnR = cms.double(0.03),
132 ecalIsolR = cms.double(0.35),
133 trkIsolExtR = cms.double(0.3),
134 maxNumOfTracksInCone = cms.int32(3),
135 hcalEtSumCut = cms.double(6.0),
136 minHcalHitEtCut = cms.double(0.0),
138 trkPtSumCut = cms.double(9999.0),
139 ecalEtSumCut = cms.double(5.0),
143 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
144 fastSim.toModify(photonValidation, fastSim =
True)