CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
photonValidationSequence_cff.py
Go to the documentation of this file.
2 
6 
8 
9 photonValidation.minPhoEtCut = 10
10 photonValidation.eMax = 500
11 photonValidation.etMax = 250
12 ## same for all
13 photonValidation.convTrackMinPtCut = 1.
14 photonValidation.useTP = True
15 photonValidation.rBin = 48
16 photonValidation.eoverpMin = 0.
17 photonValidation.eoverpMax = 5.
18 #
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
28 ## same for all
29 pfPhotonValidation.convTrackMinPtCut = 1.
30 pfPhotonValidation.useTP = True
31 pfPhotonValidation.rBin = 48
32 pfPhotonValidation.eoverpMin = 0.
33 pfPhotonValidation.eoverpMax = 5.
34 #
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
44 ## same for all
45 oldpfPhotonValidation.convTrackMinPtCut = 1.
46 oldpfPhotonValidation.useTP = True
47 oldpfPhotonValidation.rBin = 48
48 oldpfPhotonValidation.eoverpMin = 0.
49 oldpfPhotonValidation.eoverpMax = 5.
50 
51 
52 
53 
54 
55 # selectors go in separate "pre-" sequence
56 photonPrevalidationSequence = cms.Sequence(tpSelection*tpSelecForFakeRate*tpSelecForEfficiency)
57 photonValidationSequence = cms.Sequence(trackAssociatorByHitsForPhotonValidation*photonValidation*pfPhotonValidation*trackAssociatorByHitsForConversionValidation*tkConversionValidation)
58 
59