Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process( "SiStripDQMOfflineGlobalRunCAF" )
0004 
0005 process.MessageLogger = cms.Service( "MessageLogger",
0006     destinations = cms.untracked.vstring(
0007         'cout'
0008     ),
0009     cout = cms.untracked.PSet(
0010 #         threshold = cms.untracked.string( 'ERROR' )
0011         threshold = cms.untracked.string( 'WARNING' )
0012     )
0013 )
0014 process.SimpleMemoryCheck = cms.Service( "SimpleMemoryCheck",
0015     ignoreTotal = cms.untracked.int32( 0 )
0016 )
0017 
0018 # Magnetic Field
0019 process.load( "Configuration.StandardSequences.MagneticField_xMAG_FIELDx_cff" )
0020 
0021 # Geometry
0022 process.load( "Configuration.StandardSequences.GeometryRecoDB_cff" )
0023 
0024 # Calibration 
0025 process.load( "Configuration.StandardSequences.FrontierConditions_GlobalTag_cff" )
0026 process.GlobalTag.connect   = 'frontier://FrontierProd/CMS_COND_21X_GLOBALTAG'
0027 process.GlobalTag.globaltag = 'xGLOBAL_TAGx'
0028 process.es_prefer_GlobalTag = cms.ESPrefer(
0029     'PoolDBESSource',
0030     'GlobalTag'
0031 )
0032 
0033 # SiStrip DQM
0034 process.load( "DQM.SiStripMonitorClient.SiStripDQMOfflineGlobalRunCAF_cff" )
0035 
0036 # Input
0037 process.load( "xINCLUDE_DIRECTORYx.inputFiles_cff" )
0038 process.maxEvents = cms.untracked.PSet(
0039     input = cms.untracked.int32( -1 )
0040 )
0041 
0042 # HLT Filter
0043 process.hltFilter = cms.EDFilter("HLTHighLevel",
0044     HLTPaths           = cms.vstring(
0045         'HLT_WhatEverFunnyFilter',
0046         'HLT_TrackerCosmics',
0047         'HLT_TrackerCosmics_CoTF',
0048         'HLT_TrackerCosmics_RS'  ,
0049         'HLT_TrackerCosmics_CTF'
0050     ),
0051     eventSetupPathsKey = cms.string( '' ),
0052     andOr              = cms.bool( True ),
0053     throw              = cms.bool( False ),
0054     # use this according to https://hypernews.cern.ch/HyperNews/CMS/get/global-runs/537.html
0055     # TO BE TEMPLATYFIED!
0056     TriggerResultsTag  = cms.InputTag( 'TriggerResults', '', 'HLT' )
0057 #     TriggerResultsTag  = cms.InputTag( 'TriggerResults', '', 'FU' )    
0058 )
0059 
0060 # Scheduling
0061 process.p = cms.Path(
0062 xHLT_FILTERxprocess.hltFilter                            *
0063 xRECO_FROM_RAWxprocess.SiStripDQMRecoFromRaw                *
0064 xDQM_FROM_RAWxprocess.SiStripDQMSourceGlobalRunCAF_fromRAW *
0065     process.SiStripDQMRecoGlobalRunCAF           *
0066 #     process.SiStripDQMSourceGlobalRunCAF_reduced *
0067     process.SiStripMonitorClusterCAF             *
0068     process.MEtoEDMConverter
0069 )
0070 
0071 # Output
0072 process.out = cms.OutputModule( "PoolOutputModule",
0073     fileName       = cms.untracked.string( 'xOUTPUT_DIRECTORYx/SiStripDQMOfflineGlobalRunCAF-xRUN_NAMEx.root' ),
0074     SelectEvents   = cms.untracked.PSet(
0075         SelectEvents = cms.vstring( 'p' )
0076     ),
0077     outputCommands = cms.untracked.vstring(
0078         'drop *',
0079         'keep *_MEtoEDMConverter_*_SiStripDQMOfflineGlobalRunCAF'
0080     )
0081 )
0082 
0083 process.outpath = cms.EndPath(
0084     process.out
0085 )