Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HLTHARVEST")
0004 
0005 process.load("HLTriggerOffline.Common.HLTValidationHarvest_cff")
0006 
0007 process.load('Configuration/StandardSequences/Services_cff')
0008 process.load('FWCore/MessageService/MessageLogger_cfi')
0009 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(-1)
0013 )
0014 process.source = cms.Source("PoolSource",
0015     fileNames = cms.untracked.vstring("")
0016 )
0017 
0018 
0019 process.dqmSaver.convention = 'Offline'
0020 #Settings equivalent to 'RelVal' convention:
0021 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0022 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0023 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0024 #End of 'RelVal convention settings
0025 
0026 process.dqmSaver.workflow = ""
0027 process.DQMStore.verbose=3
0028 
0029 process.options = cms.untracked.PSet(
0030     fileMode = cms.untracked.string('FULLMERGE')
0031 )
0032 
0033 # Other statements
0034 
0035 #Adding DQMFileSaver to the message logger configuration
0036 process.MessageLogger.cout.DQMFileSaver = cms.untracked.PSet(
0037        limit = cms.untracked.int32(1000000)
0038        )
0039 process.MessageLogger.cerr.DQMFileSaver = cms.untracked.PSet(
0040        limit = cms.untracked.int32(1000000)
0041        )
0042 
0043 process.dqmSaver.workflow = "/CMSSW_3_1_0/RelVal/TrigVal"
0044 process.DQMStore.verbose=0
0045 process.maxEvents.input = 2
0046 process.source.fileNames = cms.untracked.vstring(
0047 '/store/relval/CMSSW_3_0_0_pre7/RelValTTbar/GEN-SIM-RECO/STARTUP_30X_v1/0002/0AB7BC40-87E9-DD11-8CCF-003048767D51.root'
0048 )
0049 
0050 
0051 process.load("HLTriggerOffline.Common.HLTValidation_cff")
0052 
0053 #extra config needed in standalone
0054 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
0055 process.load("Configuration.StandardSequences.L1TriggerDefaultMenu_cff")
0056 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0057 
0058 process.validation = cms.Path(
0059     process.hltvalidation
0060    # process.HLTMuonVal
0061    #+process.HLTTauVal
0062    #+process.EcalPi0Mon
0063    #+process.EcalPhiSymMon
0064    #+process.egammaValidationSequence
0065    #+process.HLTSusyExoVal
0066    #+process.heavyFlavorValidationSequence
0067     )
0068 
0069 process.post_validation = cms.Path(
0070     process.hltpostvalidation
0071     )
0072 
0073 process.EDMtoMEconv_and_saver= cms.Path(process.EDMtoMEConverter*process.dqmSaver)
0074 
0075 process.schedule = cms.Schedule(
0076     process.validation,
0077     process.post_validation,
0078     process.EDMtoMEconv_and_saver
0079     )
0080 
0081 for filter in (getattr(process,f) for f in process.filters_()):
0082     if hasattr(filter,"outputFile"):
0083         filter.outputFile=""
0084 
0085