CMS 3D CMS Logo

photonValidator_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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'
9 
10 
11 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
12 photonValidation = DQMEDAnalyzer('PhotonValidator',
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"),
19  #valueMapPhoToParticleBasedIso = cms.InputTag("particleBasedIsolation","valMapPhoToPFisolation"),
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'),
36 #
37  minPhoEtCut = cms.double(10.),
38  convTrackMinPtCut = cms.double(1.),
39  likelihoodCut = cms.double(0.),
40 #
41  useTP = cms.bool(True),
42 #
43  eBin = cms.int32(100),
44  eMin = cms.double(0.0),
45  eMax = cms.double(500.0),
46 #
47  etScale = cms.double(0.1),
48 #
49  etBin = cms.int32(100),
50  etMax = cms.double(250.),
51  etMin = cms.double(0.0),
52 #
53  etaBin = cms.int32(100),
54  etaBin2 = cms.int32(25),
55  etaMin = cms.double(-2.5),
56  etaMax = cms.double(2.5),
57 #
58  phiBin = cms.int32(100),
59  phiMin = cms.double(-3.14),
60  phiMax = cms.double(3.14),
61 #
62  r9Bin = cms.int32(200),
63  r9Min = cms.double(0.0),
64  r9Max = cms.double(1.1),
65 #
66  dEtaTracksBin = cms.int32(100),
67  dEtaTracksMin = cms.double(-0.2),
68  dEtaTracksMax = cms.double(0.2),
69 #
70  dPhiTracksBin = cms.int32(100),
71  dPhiTracksMin = cms.double(-0.5),
72  dPhiTracksMax = cms.double(0.5),
73 #
74  dEtaBin = cms.int32(100),
75  dEtaMin = cms.double(-0.2),
76  dEtaMax = cms.double(0.2),
77 #
78  dPhiBin = cms.int32(100),
79  dPhiMin = cms.double(-0.05),
80  dPhiMax = cms.double(0.05),
81 #
82  rBin = cms.int32(48),
83  rMin = cms.double(0.),
84  rMax = cms.double(120),
85 #
86  zBin = cms.int32(100),
87  zMin = cms.double(-220.),
88  zMax = cms.double(220),
89 #
90  resBin = cms.int32(100),
91  resMin = cms.double(0.7),
92  resMax = cms.double(1.2),
93 #
94  dCotCutOn =cms.bool(False),
95  dCotCutValue=cms.double(0.05),
96  dCotHardCutValue=cms.double(0.02),
97 #
98  dCotTracksBin = cms.int32(100),
99  dCotTracksMin = cms.double(-2.),
100  dCotTracksMax = cms.double(2.),
101 #
102  povereBin = cms.int32(100),
103  povereMin = cms.double(0.),
104  povereMax = cms.double(5.),
105 #
106  eoverpBin = cms.int32(100),
107  eoverpMin = cms.double(0.),
108  eoverpMax = cms.double(5.),
109 #
110  chi2Min = cms.double(0.),
111  chi2Max = cms.double(20.),
112 #
113  ggMassBin =cms.int32(200),
114  ggMassMin =cms.double(60.),
115  ggMassMax =cms.double(160.),
116 #
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.),
124 
125 # Unused stuff
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),
137 
138  trkPtSumCut = cms.double(9999.0),
139  ecalEtSumCut = cms.double(5.0),
140 
141 )
142 
143 from Configuration.Eras.Modifier_fastSim_cff import fastSim
144 fastSim.toModify(photonValidation, fastSim = True)
145 
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
trackAssociatorByHits_cfi