File indexing completed on 2024-04-06 12:33:18
0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003
0004
0005 process = cms.Process('TauDQMOffline')
0006
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0009
0010
0011
0012 from Configuration.StandardSequences.GeometryRecoDB_cff import *
0013 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.Reconstruction_cff')
0016 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0017 process.load('Configuration.StandardSequences.Services_cff')
0018 process.load('Configuration.EventContent.EventContent_cff')
0019
0020
0021 process.GlobalTag.globaltag = '94X_dataRun2_ReReco_EOY17_v6'
0022
0023
0024
0025
0026
0027 readFiles = cms.untracked.vstring()
0028 secFiles = cms.untracked.vstring()
0029 process.source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0030
0031 readFiles.extend( [
0032 '/store/data/Run2017D/Tau/MINIAOD/31Mar2018-v1/00000/02FE19AF-3837-E811-B3FF-44A842B4520B.root'
0033 ] );
0034
0035 process.maxEvents = cms.untracked.PSet(
0036 input = cms.untracked.int32( -1 )
0037 )
0038
0039 process.load('Validation.RecoTau.RecoTauValidation_cff')
0040
0041
0042
0043 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0044
0045
0046 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0047 dataset = cms.untracked.PSet(
0048 dataTier = cms.untracked.string('DQMIO'),
0049 filterName = cms.untracked.string('')
0050 ),
0051 fileName = cms.untracked.string('RECO_RAW2DIGI_L1Reco_RECO_EI_PAT_DQM_inDQM.root'),
0052 outputCommands = process.DQMEventContent.outputCommands,
0053 splitLevel = cms.untracked.int32(0)
0054 )
0055
0056
0057
0058 process.options.numberOfThreads=cms.untracked.uint32(8)
0059 process.options.numberOfStreams=cms.untracked.uint32(0)
0060
0061
0062 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0063 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0064