2 import FWCore.ParameterSet.Config
as cms
5 process = cms.Process(
'TauDQMOffline')
7 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
8 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
13 process.load(
'Configuration.StandardSequences.GeometryRecoDB_cff')
14 process.load(
'Configuration.StandardSequences.MagneticField_cff')
15 process.load(
'Configuration.StandardSequences.Reconstruction_cff')
16 process.load(
'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
17 process.load(
'Configuration.StandardSequences.Services_cff')
18 process.load(
'Configuration.EventContent.EventContent_cff')
21 process.GlobalTag.globaltag =
'94X_dataRun2_ReReco_EOY17_v6' 27 readFiles = cms.untracked.vstring()
28 secFiles = cms.untracked.vstring()
29 process.source = cms.Source (
"PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
32 '/store/data/Run2017D/Tau/MINIAOD/31Mar2018-v1/00000/02FE19AF-3837-E811-B3FF-44A842B4520B.root' 35 process.maxEvents = cms.untracked.PSet(
36 input = cms.untracked.int32( -1 )
39 process.load(
'Validation.RecoTau.RecoTauValidation_cff')
43 process.dump = cms.EDAnalyzer(
"EventContentAnalyzer")
46 process.DQMoutput = cms.OutputModule(
"DQMRootOutputModule",
47 dataset = cms.untracked.PSet(
48 dataTier = cms.untracked.string(
'DQMIO'),
49 filterName = cms.untracked.string(
'')
51 fileName = cms.untracked.string(
'RECO_RAW2DIGI_L1Reco_RECO_EI_PAT_DQM_inDQM.root'),
52 outputCommands = process.DQMEventContent.outputCommands,
53 splitLevel = cms.untracked.int32(0)
58 process.options.numberOfThreads=cms.untracked.uint32(8)
59 process.options.numberOfStreams=cms.untracked.uint32(0)
62 from FWCore.Modules.logErrorHarvester_cff
import customiseLogErrorHarvesterUsingOutputCommands
def customiseLogErrorHarvesterUsingOutputCommands(process)