Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process( "SiStripDQMConvertOfflineGlobalRun" )
0004 
0005 ### Miscellanous ###
0006 
0007 process.options = cms.untracked.PSet(
0008    fileMode    = cms.untracked.string( 'FULLMERGE' ),
0009    wantSummary = cms.untracked.bool( True )
0010 )
0011 
0012 # Logging #
0013 process.MessageLogger = cms.Service( "MessageLogger",
0014     destination = cms.untracked.vstring(
0015         'cout'
0016     ),
0017     cout = cms.untracked.PSet(
0018         threshold = cms.untracked.string( 'INFO' )
0019     )
0020 )
0021 
0022 # # Profiling #
0023 # process.ProfilerService = cms.Service( "ProfilerService",
0024 #     paths = cms.untracked.vstring(
0025 #         'FullEvent'
0026 #     )
0027 # )
0028 
0029 # Memory check #
0030 process.SimpleMemoryCheck = cms.Service( "SimpleMemoryCheck",
0031 #     oncePerEventMode = cms.untracked.bool( True ),
0032     ignoreTotal      = cms.untracked.int32( 0 )
0033 )
0034 
0035 ### Import ###
0036 
0037 # Magnetic fiels #
0038 process.load( "Configuration.StandardSequences.MagneticField_38T_cff" )
0039 # Geometry #
0040 process.load( "Configuration.StandardSequences.GeometryRecoDB_cff" )
0041 # Calibration 
0042 process.load( "Configuration.StandardSequences.FrontierConditions_GlobalTag_cff" )
0043 # process.GlobalTag.connect   = 'frontier://FrontierProd/CMS_COND_21X_GLOBALTAG'
0044 process.GlobalTag.globaltag = 'CRAFT_30X::All'
0045 process.es_prefer_GlobalTag = cms.ESPrefer(
0046     'PoolDBESSource',
0047     'GlobalTag'
0048 )
0049 
0050 ### Input ###
0051 
0052 # Source #
0053 process.source = cms.Source( "PoolSource",
0054     processingMode = cms.untracked.string( 'Runs' ),
0055     fileNames      = cms.untracked.vstring(
0056         'file1.root',
0057         'file2.root'
0058     )
0059 )
0060 # Input steering #
0061 process.maxEvents = cms.untracked.PSet(
0062     input = cms.untracked.int32( -1 )
0063 )
0064 
0065 ### SiStrip DQM ###
0066 
0067 process.load( "DQM.SiStripMonitorClient.SiStripDQMOfflineGlobalRunCAF_cff" )
0068 
0069 ### Output ###
0070 
0071 # DQM store #
0072 # process.DQMStore.verbose           = 1
0073 
0074 # EDM2ME #
0075 # process.EDMtoMEConverter.convertOnEndLumi = False
0076 # process.EDMtoMEConverter.convertOnEndRun  = True
0077 
0078 # DQM saver #
0079 process.dqmSaver.dirName = '.'
0080 
0081 ### Scheduling ###
0082 
0083 process.p = cms.Path(
0084     process.EDMtoMEConverter        *
0085     process.SiStripOfflineDQMClient *
0086     process.qTester                 *
0087     process.dqmSaver
0088 )