CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetValidationHeavyIons_cff.py
Go to the documentation of this file.
2 
3 ### genjet cleaning for improved matching in HI environment
4 
6 
7 iterativeCone5HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('iterativeCone5HiGenJets'))
8 iterativeCone7HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('iterativeCone7HiGenJets'))
9 ak5HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak5HiGenJets'))
10 ak7HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak7HiGenJets'))
11 
12 ### jet analyzer for two radii (0.5, 0.7) and three algorithms:
13 ### iterative cone with PU, anti-kt with PU, anti-kt with fastjet PU
14 
15 JetAnalyzerICPU5Calo = cms.EDAnalyzer("CaloJetTester",
16  src = cms.InputTag("iterativeConePu5CaloJets"),
17  srcGen = cms.InputTag("iterativeCone5HiCleanedGenJets"),
18  genEnergyFractionThreshold = cms.double(0.05),
19  genPtThreshold = cms.double(1.0),
20  RThreshold = cms.double(0.3),
21  reverseEnergyFractionThreshold = cms.double(0.5)
22 )
23 
24 JetAnalyzerICPU7Calo = cms.EDAnalyzer("CaloJetTester",
25  src = cms.InputTag("iterativeConePu7CaloJets"),
26  srcGen = cms.InputTag("iterativeCone7HiCleanedGenJets"),
27  genEnergyFractionThreshold = cms.double(0.05),
28  genPtThreshold = cms.double(1.0),
29  RThreshold = cms.double(0.3),
30  reverseEnergyFractionThreshold = cms.double(0.5)
31 )
32 
33 JetAnalyzerAkPU5Calo = cms.EDAnalyzer("CaloJetTester",
34  src = cms.InputTag("akPu5CaloJets"),
35  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
36  genEnergyFractionThreshold = cms.double(0.05),
37  genPtThreshold = cms.double(1.0),
38  RThreshold = cms.double(0.3),
39  reverseEnergyFractionThreshold = cms.double(0.5)
40 )
41 
42 JetAnalyzerAkPU7Calo = cms.EDAnalyzer("CaloJetTester",
43  src = cms.InputTag("akPu7CaloJets"),
44  srcGen = cms.InputTag("ak7HiCleanedGenJets"),
45  genEnergyFractionThreshold = cms.double(0.05),
46  genPtThreshold = cms.double(1.0),
47  RThreshold = cms.double(0.3),
48  reverseEnergyFractionThreshold = cms.double(0.5)
49 )
50 
51 JetAnalyzerAkFastPU5Calo = cms.EDAnalyzer("CaloJetTester",
52  src = cms.InputTag("akFastPu5CaloJets"),
53  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
54  genEnergyFractionThreshold = cms.double(0.05),
55  genPtThreshold = cms.double(1.0),
56  RThreshold = cms.double(0.3),
57  reverseEnergyFractionThreshold = cms.double(0.5)
58 )
59 
60 JetAnalyzerAkFastPU7Calo = cms.EDAnalyzer("CaloJetTester",
61  src = cms.InputTag("akFastPu7CaloJets"),
62  srcGen = cms.InputTag("ak7HiCleanedGenJets"),
63  genEnergyFractionThreshold = cms.double(0.05),
64  genPtThreshold = cms.double(1.0),
65  RThreshold = cms.double(0.3),
66  reverseEnergyFractionThreshold = cms.double(0.5)
67 )
68 
69 hiJetValidation = cms.Sequence(
70  (iterativeCone5HiCleanedGenJets * JetAnalyzerICPU5Calo)
71  #+ (iterativeCone7HiCleanedGenJets * JetAnalyzerICPU7Calo)
72  #+ (ak5HiCleanedGenJets * JetAnalyzerAkPU5Calo * JetAnalyzerAkFastPU5Calo
73  #+ (ak7HiCleanedGenJets*JetAnalyzerAkPU7Calo *JetAnalyzerAkFastPU7Calo)
74  )