Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-11 03:35:50

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 
0004 ################# Quality Tests for jets #########################
0005 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0006 qTesterJet = DQMQualityTester(
0007      qtList = cms.untracked.FileInPath('DQMOffline/JetMET/test/JetQualityTests.xml'),
0008      prescaleFactor = cms.untracked.int32(1),
0009      testInEventloop = cms.untracked.bool(False),
0010      verboseQT =  cms.untracked.bool(False)
0011  )
0012 
0013 ################# Quality Tests for MET #########################
0014 qTesterMET = DQMQualityTester(
0015      qtList = cms.untracked.FileInPath('DQMOffline/JetMET/test/METQualityTests.xml'),
0016      prescaleFactor = cms.untracked.int32(1),
0017      testInEventloop = cms.untracked.bool(False),
0018      verboseQT =  cms.untracked.bool(False)
0019  )
0020 
0021 ################# Data Certification #########################
0022 dataCertificationJetMET = DQMEDHarvester('DataCertificationJetMET',
0023                               fileName       = cms.untracked.string(""),
0024                               refFileName    = cms.untracked.string(""),
0025                               OutputFile     = cms.untracked.bool(False),
0026                               OutputFileName = cms.untracked.string("DQMDataCertificationResult.root"),
0027                               Verbose        = cms.untracked.int32(0),
0028                               metFolder      = cms.untracked.string("Cleaned"),
0029                               jetAlgo        = cms.untracked.string("ak4"),
0030                               folderName     = cms.untracked.string("JetMET/EventInfo"),  
0031                               METTypeRECO    = cms.InputTag("pfMETT1"),
0032                               #for the uncleaned directory the flag needs to be set accordingly in
0033                               #metDQMConfig_cfi.py
0034                               METTypeRECOUncleaned = cms.InputTag("pfMet"),
0035                               METTypeMiniAOD = cms.InputTag("slimmedMETs"),
0036                               JetTypeRECO    = cms.InputTag("ak4PFJetsCHS"),
0037                               JetTypeMiniAOD = cms.InputTag("slimmedJets"),
0038                               #if changed here, change METAnalyzer module in same manner and jetDQMconfig
0039                               etaBin      = cms.int32(100),
0040                               etaMax      = cms.double(5.0),
0041                               etaMin      = cms.double(-5.0),
0042                               pVBin       = cms.int32(100),
0043                               pVMax       = cms.double(100.0),
0044                               pVMin       = cms.double(0.0),
0045                               ptBin       = cms.int32(100),
0046                               ptMax       = cms.double(500.0),
0047                               ptMin       = cms.double(20.0),
0048                               pfBarrelJetMeanTest   = cms.untracked.bool(True),
0049                               pfBarrelJetKSTest     = cms.untracked.bool(False),
0050                               pfEndcapJetMeanTest   = cms.untracked.bool(True),
0051                               pfEndcapJetKSTest     = cms.untracked.bool(False),
0052                               pfForwardJetMeanTest  = cms.untracked.bool(True),
0053                               pfForwardJetKSTest    = cms.untracked.bool(False),
0054                               caloJetMeanTest           = cms.untracked.bool(True),
0055                               caloJetKSTest             = cms.untracked.bool(False),
0056                               jptJetMeanTest          = cms.untracked.bool(False),
0057                               jptJetKSTest            = cms.untracked.bool(False),                                        
0058                               caloMETMeanTest         = cms.untracked.bool(True),
0059                               caloMETKSTest           = cms.untracked.bool(False),
0060                               pfMETMeanTest           = cms.untracked.bool(True),
0061                               pfMETKSTest             = cms.untracked.bool(False),
0062                               tcMETMeanTest           = cms.untracked.bool(False),
0063                               tcMETKSTest             = cms.untracked.bool(False),
0064 
0065                               isHI                    = cms.untracked.bool(False),
0066 )
0067 
0068 dataCertificationJetMETHI = dataCertificationJetMET.clone(
0069     isHI    = True,
0070     jetAlgo = "ak"
0071 )