1 import FWCore.ParameterSet.Config
as cms
9 photonValidation.minPhoEtCut = 10
10 photonValidation.eMax = 500
11 photonValidation.etMax = 250
13 photonValidation.convTrackMinPtCut = 1.
14 photonValidation.useTP =
True
15 photonValidation.rBin = 48
16 photonValidation.eoverpMin = 0.
17 photonValidation.eoverpMax = 5.
19 pfPhotonValidation = Validation.RecoEgamma.photonValidator_cfi.photonValidation.clone()
20 pfPhotonValidation.ComponentName = cms.string(
'pfPhotonValidation')
21 pfPhotonValidation.OutputFileName = cms.string(
'PFPhotonValidationHistos.root')
22 pfPhotonValidation.phoProducer = cms.string(
'gedPhotons')
23 pfPhotonValidation.photonCollection = cms.string(
'')
24 pfPhotonValidation.analyzerName = cms.string(
'pfPhotonValidator')
25 pfPhotonValidation.minPhoEtCut = 10
26 pfPhotonValidation.eMax = 500
27 pfPhotonValidation.etMax = 250
29 pfPhotonValidation.convTrackMinPtCut = 1.
30 pfPhotonValidation.useTP =
True
31 pfPhotonValidation.rBin = 48
32 pfPhotonValidation.eoverpMin = 0.
33 pfPhotonValidation.eoverpMax = 5.
35 oldpfPhotonValidation = Validation.RecoEgamma.photonValidator_cfi.photonValidation.clone()
36 oldpfPhotonValidation.ComponentName = cms.string(
'oldpfPhotonValidation')
37 oldpfPhotonValidation.OutputFileName = cms.string(
'oldPFPhotonValidationHistos.root')
38 oldpfPhotonValidation.phoProducer = cms.string(
'pfPhotonTranslator')
39 oldpfPhotonValidation.photonCollection = cms.string(
'pfphot')
40 oldpfPhotonValidation.analyzerName = cms.string(
'oldpfPhotonValidator')
41 oldpfPhotonValidation.minPhoEtCut = 10
42 oldpfPhotonValidation.eMax = 500
43 oldpfPhotonValidation.etMax = 250
45 oldpfPhotonValidation.convTrackMinPtCut = 1.
46 oldpfPhotonValidation.useTP =
True
47 oldpfPhotonValidation.rBin = 48
48 oldpfPhotonValidation.eoverpMin = 0.
49 oldpfPhotonValidation.eoverpMax = 5.
56 photonPrevalidationSequence = cms.Sequence(tpSelection*tpSelecForFakeRate*tpSelecForEfficiency)
57 photonValidationSequence = cms.Sequence(trackAssociatorByHitsForPhotonValidation*photonValidation*pfPhotonValidation*trackAssociatorByHitsForConversionValidation*tkConversionValidation)