6 trackAssociatorByHitsForConversionValidation = SimTracker.TrackAssociation.quickTrackAssociatorByHits_cfi.quickTrackAssociatorByHits.clone()
7 trackAssociatorByHitsForConversionValidation.ComponentName = cms.string(
'trackAssociatorByHitsForConversionValidation')
8 trackAssociatorByHitsForConversionValidation.SimToRecoDenominator =
'reco'
9 trackAssociatorByHitsForConversionValidation.Quality_SimToReco = 0.5
10 trackAssociatorByHitsForConversionValidation.Purity_SimToReco = 0.5
11 trackAssociatorByHitsForConversionValidation.Cut_RecoToSim = 0.5
13 import PhysicsTools.RecoAlgos.trackingParticleSelector_cfi
14 tpSelecForEfficiency = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
15 tpSelecForEfficiency.chargedOnly =
True
17 tpSelecForEfficiency.tip = 120
18 tpSelecForEfficiency.lip = 280
19 tpSelecForEfficiency.signalOnly =
False
20 tpSelecForEfficiency.minRapidity = -2.5
21 tpSelecForEfficiency.ptMin = 0.3
22 tpSelecForEfficiency.maxRapidity = 2.5
23 tpSelecForEfficiency.minHit = 0
26 tpSelecForFakeRate = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
27 tpSelecForFakeRate.chargedOnly =
True
29 tpSelecForFakeRate.tip = 120
30 tpSelecForFakeRate.lip = 280
31 tpSelecForFakeRate.signalOnly =
False
32 tpSelecForFakeRate.minRapidity = -2.5
33 tpSelecForFakeRate.ptMin = 0.
34 tpSelecForFakeRate.maxRapidity = 2.5
35 tpSelecForFakeRate.minHit = 0
39 tkConversionValidation = cms.EDAnalyzer(
"TkConvValidator",
40 Name = cms.untracked.string(
'tkConversionValidation'),
41 isRunCentrally = cms.bool(
False),
42 OutputFileName = cms.string(
'ValidationHistos.root'),
43 convProducer = cms.string(
'allConversions'),
44 conversionCollection = cms.string(
''),
45 phoProducer = cms.string(
'photons'),
46 photonCollection = cms.string(
''),
47 trackProducer = cms.InputTag(
"generalTracks"),
48 dqmpath = cms.string(
'EgammaV/ConversionValidator/'),
49 Verbosity = cms.untracked.int32(0),
50 generalTracksOnly = cms.bool(
True),
51 arbitratedMerged = cms.bool(
False),
52 arbitratedEcalSeeded = cms.bool(
False),
53 ecalalgotracks = cms.bool(
False),
54 highPurity = cms.bool(
True),
55 minProb = cms.double(-99.9),
56 maxHitsBeforeVtx = cms.uint32(999),
57 minLxy = cms.double(-9999.9),
59 minPhoPtForEffic = cms.double(0.3),
60 maxPhoEtaForEffic = cms.double(2.5),
61 maxPhoZForEffic = cms.double(200.),
62 maxPhoRForEffic = cms.double(100.),
63 minPhoPtForPurity = cms.double(0.),
64 maxPhoEtaForPurity = cms.double(2.5),
65 maxPhoZForPurity = cms.double(200.),
66 maxPhoRForPurity = cms.double(100.),
69 minPhoEtCut = cms.double(0.),
72 useTP = cms.bool(
True),
75 etBin = cms.int32(100),
76 etMax = cms.double(100.0),
77 etMin = cms.double(0.0),
79 etaBin = cms.int32(100),
80 etaBin2 = cms.int32(25),
81 etaMin = cms.double(-2.5),
82 etaMax = cms.double(2.5),
84 phiBin = cms.int32(100),
85 phiMin = cms.double(-3.14),
86 phiMax = cms.double(3.14),
88 resBin = cms.int32(100),
89 resMin = cms.double(0.),
90 resMax = cms.double(1.1),
92 eoverpBin = cms.int32(100),
93 eoverpMin = cms.double(0.),
94 eoverpMax = cms.double(5.),
96 dEtaTracksBin = cms.int32(100),
97 dEtaTracksMin = cms.double(-0.2),
98 dEtaTracksMax = cms.double(0.2),
100 dPhiTracksBin = cms.int32(100),
101 dPhiTracksMin = cms.double(-0.5),
102 dPhiTracksMax = cms.double(0.5),
104 dEtaBin = cms.int32(100),
105 dEtaMin = cms.double(-0.2),
106 dEtaMax = cms.double(0.2),
108 dPhiBin = cms.int32(100),
109 dPhiMin = cms.double(-0.05),
110 dPhiMax = cms.double(0.05),
112 rBin = cms.int32(60),
113 rMin = cms.double(0.),
114 rMax = cms.double(120),
116 zBin = cms.int32(100),
117 zMin = cms.double(-220.),
118 zMax = cms.double(220),
121 dCotTracksBin = cms.int32(100),
122 dCotTracksMin = cms.double(-0.12),
123 dCotTracksMax = cms.double(0.12),
125 chi2Min = cms.double(0.),
126 chi2Max = cms.double(20.),
129 rBinForXray = cms.int32(200),
130 rMinForXray = cms.double(0.),
131 rMaxForXray = cms.double(80.),
132 zBinForXray = cms.int32(100),
133 zBin2ForXray = cms.int32(560),
134 zMinForXray = cms.double(0.),
135 zMaxForXray = cms.double(280.),