CMS 3D CMS Logo

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