CMS 3D CMS Logo

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