CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fastjetJetProducer_validation_cfg.py
Go to the documentation of this file.
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  destinations = cms.untracked.vstring('cout'),
25  cout = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'))
26 )
27 
28 # DQMSTORE
29 process.DQMStore = cms.Service("DQMStore")
30 
31 
32 # IC5 Calo-Jets
33 process.ic5calo = cms.EDAnalyzer(
34  "CaloJetTester",
35  src = cms.InputTag("iterativeCone5CaloJets::JETRECO"),
36  srcGen = cms.InputTag("iterativeCone5GenJets::JETRECO"),
37  genEnergyFractionThreshold = cms.double(0.05),
38  genPtThreshold = cms.double(1.0),
39  RThreshold = cms.double(0.3),
40  reverseEnergyFractionThreshold = cms.double(0.5)
41  )
42 
43 # IC5 PFlow jets
44 process.ic5pflow = cms.EDFilter(
45  "PFJetTester",
46  src = cms.InputTag("iterativeCone5PFJets::JETRECO"),
47  srcGen = cms.InputTag("iterativeCone5GenJets::JETRECO"),
48  genEnergyFractionThreshold = cms.double(0.05),
49  genPtThreshold = cms.double(1.0),
50  RThreshold = cms.double(0.3),
51  reverseEnergyFractionThreshold = cms.double(0.5)
52  )
53 
54 # KT4 Calo Jets
55 process.kt4calo = cms.EDFilter(
56  "CaloJetTester",
57  src = cms.InputTag("kt4CaloJets::JETRECO"),
58  srcGen = cms.InputTag("kt4GenJets::JETRECO"),
59  genEnergyFractionThreshold = cms.double(0.05),
60  genPtThreshold = cms.double(1.0),
61  RThreshold = cms.double(0.3),
62  reverseEnergyFractionThreshold = cms.double(0.5)
63  )
64 
65 # KT6 Calo Jets
66 process.kt6calo = cms.EDFilter(
67  "CaloJetTester",
68  src = cms.InputTag("kt6CaloJets::JETRECO"),
69  srcGen = cms.InputTag("kt6GenJets::JETRECO"),
70  genEnergyFractionThreshold = cms.double(0.05),
71  genPtThreshold = cms.double(1.0),
72  RThreshold = cms.double(0.3),
73  reverseEnergyFractionThreshold = cms.double(0.5)
74  )
75 
76 # SC5 Calo Jets
77 process.sc5calo = cms.EDFilter(
78  "CaloJetTester",
79  src = cms.InputTag("sisCone5CaloJets::JETRECO"),
80  srcGen = cms.InputTag("sisCone5GenJets::JETRECO"),
81  genEnergyFractionThreshold = cms.double(0.05),
82  genPtThreshold = cms.double(1.0),
83  RThreshold = cms.double(0.3),
84  reverseEnergyFractionThreshold = cms.double(0.5)
85 )
86 
87 # SC7 Calo Jets
88 process.sc7calo = cms.EDFilter(
89  "CaloJetTester",
90  src = cms.InputTag("sisCone7CaloJets::JETRECO"),
91  srcGen = cms.InputTag("sisCone7GenJets::JETRECO"),
92  genEnergyFractionThreshold = cms.double(0.05),
93  genPtThreshold = cms.double(1.0),
94  RThreshold = cms.double(0.3),
95  reverseEnergyFractionThreshold = cms.double(0.5)
96  )
97 
98 process.p1 = cms.Path(process.fileSaver+
99  process.ic5calo+process.ic5pflow+
100  process.kt4calo+process.kt6calo+
101  process.sc5calo+process.sc7calo
102  )
103