CMS 3D CMS Logo

dataCertificationJetMET_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
3 
4 ################# Quality Tests for jets #########################
5 qTesterJet = cms.EDAnalyzer("QualityTester",
6  qtList = cms.untracked.FileInPath('DQMOffline/JetMET/test/JetQualityTests.xml'),
7  prescaleFactor = cms.untracked.int32(1),
8  testInEventloop = cms.untracked.bool(False),
9  verboseQT = cms.untracked.bool(False)
10  )
11 
12 ################# Quality Tests for MET #########################
13 qTesterMET = cms.EDAnalyzer("QualityTester",
14  qtList = cms.untracked.FileInPath('DQMOffline/JetMET/test/METQualityTests.xml'),
15  prescaleFactor = cms.untracked.int32(1),
16  testInEventloop = cms.untracked.bool(False),
17  verboseQT = cms.untracked.bool(False)
18  )
19 
20 ################# Data Certification #########################
21 dataCertificationJetMET = DQMEDHarvester('DataCertificationJetMET',
22  fileName = cms.untracked.string(""),
23  refFileName = cms.untracked.string(""),
24  OutputFile = cms.untracked.bool(False),
25  OutputFileName = cms.untracked.string("DQMDataCertificationResult.root"),
26  Verbose = cms.untracked.int32(0),
27  metFolder = cms.untracked.string("Cleaned"),
28  jetAlgo = cms.untracked.string("ak4"),
29  folderName = cms.untracked.string("JetMET/EventInfo"),
30  METTypeRECO = cms.InputTag("pfMETT1"),
31  #for the uncleaned directory the flag needs to be set accordingly in
32  #metDQMConfig_cfi.py
33  METTypeRECOUncleaned = cms.InputTag("pfMet"),
34  METTypeMiniAOD = cms.InputTag("slimmedMETs"),
35  JetTypeRECO = cms.InputTag("ak4PFJetsCHS"),
36  JetTypeMiniAOD = cms.InputTag("slimmedJets"),
37  #if changed here, change METAnalyzer module in same manner and jetDQMconfig
38  etaBin = cms.int32(100),
39  etaMax = cms.double(5.0),
40  etaMin = cms.double(-5.0),
41  pVBin = cms.int32(100),
42  pVMax = cms.double(100.0),
43  pVMin = cms.double(0.0),
44  ptBin = cms.int32(100),
45  ptMax = cms.double(500.0),
46  ptMin = cms.double(20.0),
47  pfBarrelJetMeanTest = cms.untracked.bool(True),
48  pfBarrelJetKSTest = cms.untracked.bool(False),
49  pfEndcapJetMeanTest = cms.untracked.bool(True),
50  pfEndcapJetKSTest = cms.untracked.bool(False),
51  pfForwardJetMeanTest = cms.untracked.bool(True),
52  pfForwardJetKSTest = cms.untracked.bool(False),
53  caloJetMeanTest = cms.untracked.bool(True),
54  caloJetKSTest = cms.untracked.bool(False),
55  jptJetMeanTest = cms.untracked.bool(False),
56  jptJetKSTest = cms.untracked.bool(False),
57  caloMETMeanTest = cms.untracked.bool(True),
58  caloMETKSTest = cms.untracked.bool(False),
59  pfMETMeanTest = cms.untracked.bool(True),
60  pfMETKSTest = cms.untracked.bool(False),
61  tcMETMeanTest = cms.untracked.bool(False),
62  tcMETKSTest = cms.untracked.bool(False),
63 
64  isHI = cms.untracked.bool(False),
65 )
66 
67 dataCertificationJetMETHI = dataCertificationJetMET.clone(
68  isHI = cms.untracked.bool(True),
69  jetAlgo = cms.untracked.string("ak"),
70 )