CMS 3D CMS Logo

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