CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fastjetJetProducer_validation_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 process = cms.Process("JETVALIDATION")
5 
6 
7 # INPUT
8 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
9 process.source = cms.Source(
10  "PoolSource",
11  debugFlag = cms.untracked.bool(True),
12  debugVebosity = cms.untracked.uint32(0),
13  fileNames = cms.untracked.vstring('file:FastJetReco.root')
14  )
15 
16 # OUTPUT
17 process.fileSaver = cms.EDFilter(
18  "JetFileSaver",
19  OutputFile = cms.untracked.string('val_phase4.root')
20  )
21 
22 # MESSAGELOGGER
23 process.MessageLogger = cms.Service("MessageLogger",
24  cerr = cms.untracked.PSet(
25  enable = cms.untracked.bool(False)
26  ),
27  cout = cms.untracked.PSet(
28  enable = cms.untracked.bool(True),
29  threshold = cms.untracked.string('WARNING')
30  )
31 )
32 
33 # DQMSTORE
34 process.DQMStore = cms.Service("DQMStore")
35 
36 
37 # IC5 Calo-Jets
38 process.ic5calo = cms.EDAnalyzer(
39  "CaloJetTester",
40  src = cms.InputTag("iterativeCone5CaloJets::JETRECO"),
41  srcGen = cms.InputTag("iterativeCone5GenJets::JETRECO"),
42  genEnergyFractionThreshold = cms.double(0.05),
43  genPtThreshold = cms.double(1.0),
44  RThreshold = cms.double(0.3),
45  reverseEnergyFractionThreshold = cms.double(0.5)
46  )
47 
48 # IC5 PFlow jets
49 process.ic5pflow = cms.EDFilter(
50  "PFJetTester",
51  src = cms.InputTag("iterativeCone5PFJets::JETRECO"),
52  srcGen = cms.InputTag("iterativeCone5GenJets::JETRECO"),
53  genEnergyFractionThreshold = cms.double(0.05),
54  genPtThreshold = cms.double(1.0),
55  RThreshold = cms.double(0.3),
56  reverseEnergyFractionThreshold = cms.double(0.5)
57  )
58 
59 # KT4 Calo Jets
60 process.kt4calo = cms.EDFilter(
61  "CaloJetTester",
62  src = cms.InputTag("kt4CaloJets::JETRECO"),
63  srcGen = cms.InputTag("kt4GenJets::JETRECO"),
64  genEnergyFractionThreshold = cms.double(0.05),
65  genPtThreshold = cms.double(1.0),
66  RThreshold = cms.double(0.3),
67  reverseEnergyFractionThreshold = cms.double(0.5)
68  )
69 
70 # KT6 Calo Jets
71 process.kt6calo = cms.EDFilter(
72  "CaloJetTester",
73  src = cms.InputTag("kt6CaloJets::JETRECO"),
74  srcGen = cms.InputTag("kt6GenJets::JETRECO"),
75  genEnergyFractionThreshold = cms.double(0.05),
76  genPtThreshold = cms.double(1.0),
77  RThreshold = cms.double(0.3),
78  reverseEnergyFractionThreshold = cms.double(0.5)
79  )
80 
81 # SC5 Calo Jets
82 process.sc5calo = cms.EDFilter(
83  "CaloJetTester",
84  src = cms.InputTag("sisCone5CaloJets::JETRECO"),
85  srcGen = cms.InputTag("sisCone5GenJets::JETRECO"),
86  genEnergyFractionThreshold = cms.double(0.05),
87  genPtThreshold = cms.double(1.0),
88  RThreshold = cms.double(0.3),
89  reverseEnergyFractionThreshold = cms.double(0.5)
90 )
91 
92 # SC7 Calo Jets
93 process.sc7calo = cms.EDFilter(
94  "CaloJetTester",
95  src = cms.InputTag("sisCone7CaloJets::JETRECO"),
96  srcGen = cms.InputTag("sisCone7GenJets::JETRECO"),
97  genEnergyFractionThreshold = cms.double(0.05),
98  genPtThreshold = cms.double(1.0),
99  RThreshold = cms.double(0.3),
100  reverseEnergyFractionThreshold = cms.double(0.5)
101  )
102 
103 process.p1 = cms.Path(process.fileSaver+
104  process.ic5calo+process.ic5pflow+
105  process.kt4calo+process.kt6calo+
106  process.sc5calo+process.sc7calo
107  )
108