Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('HARVESTING')
0004 
0005 # import of standard configurations
0006 process.load('Configuration.StandardSequences.Harvesting_cff')
0007 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0008 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0009 
0010 process.load('HLTriggerOffline.SUSYBSM.SUSYBSM_postProcessor_cff')
0011 
0012 
0013 ## global tag
0014 process.GlobalTag.globaltag = 'GR_R_52_V7::All'
0015 
0016 
0017 
0018 ##process.GlobalTag.globaltag = 'GR_R_38X_V13::All'
0019 #process.GlobalTag.globaltag = 'GR10_P_V10::All'
0020 ## input file (adapt input file name correspondingly)
0021 process.source = cms.Source("PoolSource",
0022 fileNames = cms.untracked.vstring("file:/tmp/pablom/OutputOwen.root"),
0023 #fileNames = cms.untracked.vstring("file:/tmp/pablom/OutputJason.root"),
0024 processingMode = cms.untracked.string('RunsAndLumis')
0025 )
0026 
0027 ## number of events
0028 process.maxEvents = cms.untracked.PSet(
0029 input = cms.untracked.int32(-1)
0030 )
0031 ## output options
0032 process.options = cms.untracked.PSet(
0033 Rethrow = cms.untracked.vstring('ProductNotFound'),
0034 fileMode = cms.untracked.string('FULLMERGE')
0035 )
0036 ## DQMStore and output configuration
0037 process.EDMtoMEConverter.convertOnEndLumi = True
0038 process.EDMtoMEConverter.convertOnEndRun = True
0039 process.dqmSaver.saveByRun = cms.untracked.int32( -1)
0040 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0041 process.dqmSaver.forceRunNumber = cms.untracked.int32( 1)
0042 
0043 
0044 process.MessageLogger = cms.Service("MessageLogger",
0045     HLTMuonVal = cms.untracked.PSet(
0046         limit = cms.untracked.int32(100000)
0047     ),
0048     cerr = cms.untracked.PSet(
0049         enable = cms.untracked.bool(False)
0050     ),
0051     cout = cms.untracked.PSet(
0052         enable = cms.untracked.bool(True)
0053     ),
0054     debugModules = cms.untracked.vstring('*'),
0055     threshold = cms.untracked.string('INFO')
0056 )
0057 
0058 
0059 #process.endpath = cms.EndPath(process.dqmSaver)
0060 
0061 
0062 
0063 ## path definitions
0064 process.edmtome = cms.Path(
0065 process.EDMtoME
0066 )
0067 
0068 process.SusyExoPostVal = cms.Sequence(process.SUSY_HLT_MET_MUON_POSTPROCESSING)
0069 #process.SusyExoPostVal = cms.Sequence(process.SUSY_HLT_InclusiveHT_aux350_POSTPROCESSING + process.SUSY_HLT_InclusiveHT_aux600_POSTPROCESSING)
0070 
0071 process.susypost = cms.Path(
0072 process.SusyExoPostVal
0073 )
0074 
0075 process.dqmsave = cms.Path(
0076 process.DQMSaver
0077 )
0078 ## schedule definition
0079 process.schedule = cms.Schedule(process.edmtome,process.susypost,process.dqmsave)