test
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 ak4HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak4HiGenJets'))
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 
16 JetAnalyzerICPU5Calo = cms.EDAnalyzer("JetTester",
17  JetType = cms.untracked.string('calo'),
18  OutputFile = cms.untracked.string(''),
19  src = cms.InputTag("iterativeConePu5CaloJets"),
20  srcGen = cms.InputTag("iterativeCone5HiCleanedGenJets"),
21  JetCorrections = cms.string(""),
22  recoJetPtThreshold = cms.double(40),
23  genEnergyFractionThreshold = cms.double(0.05),
24  matchGenPtThreshold = cms.double(20.0),
25  RThreshold = cms.double(0.3)
26 )
27 
28 JetAnalyzerICPU7Calo = cms.EDAnalyzer("JetTester",
29  JetType = cms.untracked.string('calo'),
30  OutputFile = cms.untracked.string(''),
31  src = cms.InputTag("iterativeConePu7CaloJets"),
32  srcGen = cms.InputTag("iterativeCone7HiCleanedGenJets"),
33  JetCorrections = cms.string(""),
34  recoJetPtThreshold = cms.double(40),
35  genEnergyFractionThreshold = cms.double(0.05),
36  matchGenPtThreshold = cms.double(20.0),
37  RThreshold = cms.double(0.3)
38 )
39 
40 JetAnalyzerAkPU5Calo = cms.EDAnalyzer("JetTester",
41  JetType = cms.untracked.string('calo'),
42  OutputFile = cms.untracked.string(''),
43  src = cms.InputTag("akPu5CaloJets"),
44  srcGen = cms.InputTag("ak4HiCleanedGenJets"),
45  JetCorrections = cms.string(""),
46  recoJetPtThreshold = cms.double(40),
47  genEnergyFractionThreshold = cms.double(0.05),
48  matchGenPtThreshold = cms.double(20.0),
49  RThreshold = cms.double(0.3)
50 )
51 
52 JetAnalyzerAkPU7Calo = cms.EDAnalyzer("JetTester",
53  JetType = cms.untracked.string('calo'),
54  OutputFile = cms.untracked.string(''),
55  src = cms.InputTag("akPu7CaloJets"),
56  srcGen = cms.InputTag("ak7HiCleanedGenJets"),
57  JetCorrections = cms.string(""),
58  recoJetPtThreshold = cms.double(40),
59  genEnergyFractionThreshold = cms.double(0.05),
60  matchGenPtThreshold = cms.double(20.0),
61  RThreshold = cms.double(0.3)
62 )
63 
64 JetAnalyzerAkFastPU5Calo = cms.EDAnalyzer("JetTester",
65  JetType = cms.untracked.string('calo'),
66  OutputFile = cms.untracked.string(''),
67  src = cms.InputTag("akFastPu5CaloJets"),
68  srcGen = cms.InputTag("ak4HiCleanedGenJets"),
69  JetCorrections = cms.string(""),
70  recoJetPtThreshold = cms.double(40),
71  genEnergyFractionThreshold = cms.double(0.05),
72  matchGenPtThreshold = cms.double(20.0),
73  RThreshold = cms.double(0.3)
74 )
75 
76 JetAnalyzerAkFastPU7Calo = cms.EDAnalyzer("JetTester",
77  JetType = cms.untracked.string('calo'),
78  OutputFile = cms.untracked.string(''),
79  src = cms.InputTag("akFastPu7CaloJets"),
80  srcGen = cms.InputTag("ak7HiCleanedGenJets"),
81  JetCorrections = cms.string(""),
82  recoJetPtThreshold = cms.double(40),
83  genEnergyFractionThreshold = cms.double(0.05),
84  matchGenPtThreshold = cms.double(20.0),
85  RThreshold = cms.double(0.3)
86 )
87 
88 hiJetValidation = cms.Sequence(
89  (iterativeCone5HiCleanedGenJets * JetAnalyzerICPU5Calo)
90  #+ (iterativeCone7HiCleanedGenJets * JetAnalyzerICPU7Calo)
91  #+ (ak4HiCleanedGenJets * JetAnalyzerAkPU5Calo * JetAnalyzerAkFastPU5Calo
92  #+ (ak7HiCleanedGenJets*JetAnalyzerAkPU7Calo *JetAnalyzerAkFastPU7Calo)
93  )