CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
tkConvValidator_cfi.py
Go to the documentation of this file.
3 
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
12 
13 import PhysicsTools.RecoAlgos.trackingParticleSelector_cfi
14 tpSelecForEfficiency = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
15 tpSelecForEfficiency.chargedOnly = True
16 # trackingParticleSelector.pdgId = cms.vint32()
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
24 
25 
26 tpSelecForFakeRate = PhysicsTools.RecoAlgos.trackingParticleSelector_cfi.trackingParticleSelector.clone()
27 tpSelecForFakeRate.chargedOnly = True
28 # trackingParticleSelector.pdgId = cms.vint32()
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
36 
37 
38 
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),
58 
59  minPhoPtForEffic = cms.double(0.3),#when hardcoded it was 2.5
60  maxPhoEtaForEffic = cms.double(2.5),
61  maxPhoZForEffic = cms.double(200.),
62  maxPhoRForEffic = cms.double(100.),
63  minPhoPtForPurity = cms.double(0.),#when hardcoded it was 0.5
64  maxPhoEtaForPurity = cms.double(2.5),
65  maxPhoZForPurity = cms.double(200.),
66  maxPhoRForPurity = cms.double(100.),
67 
68 #
69  minPhoEtCut = cms.double(0.),
70 
71 #
72  useTP = cms.bool(True),
73 #
74 
75  etBin = cms.int32(100),
76  etMax = cms.double(100.0),
77  etMin = cms.double(0.0),
78 #
79  etaBin = cms.int32(100),
80  etaBin2 = cms.int32(25),
81  etaMin = cms.double(-2.5),
82  etaMax = cms.double(2.5),
83 #
84  phiBin = cms.int32(100),
85  phiMin = cms.double(-3.14),
86  phiMax = cms.double(3.14),
87 #
88  resBin = cms.int32(100),
89  resMin = cms.double(0.),
90  resMax = cms.double(1.1),
91 #
92  eoverpBin = cms.int32(100),
93  eoverpMin = cms.double(0.),
94  eoverpMax = cms.double(5.),
95 #
96  dEtaTracksBin = cms.int32(100),
97  dEtaTracksMin = cms.double(-0.2),
98  dEtaTracksMax = cms.double(0.2),
99 #
100  dPhiTracksBin = cms.int32(100),
101  dPhiTracksMin = cms.double(-0.5),
102  dPhiTracksMax = cms.double(0.5),
103 #
104  dEtaBin = cms.int32(100),
105  dEtaMin = cms.double(-0.2),
106  dEtaMax = cms.double(0.2),
107 #
108  dPhiBin = cms.int32(100),
109  dPhiMin = cms.double(-0.05),
110  dPhiMax = cms.double(0.05),
111 #
112  rBin = cms.int32(60),
113  rMin = cms.double(0.),
114  rMax = cms.double(120),
115 #
116  zBin = cms.int32(100),
117  zMin = cms.double(-220.),
118  zMax = cms.double(220),
119 #
120 
121  dCotTracksBin = cms.int32(100),
122  dCotTracksMin = cms.double(-0.12),
123  dCotTracksMax = cms.double(0.12),
124 #
125  chi2Min = cms.double(0.),
126  chi2Max = cms.double(20.),
127 #
128 
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.),
136 
137 )
138 
139