Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:25

0001 # cfg file to test L1 GT stable parameters
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 # process
0006 process = cms.Process('L1RCTGlobalTagTest')
0007 
0008 ###################### user choices ######################
0009 
0010 # choose the global tag type for RelVal; 
0011 #     actual GlobalTag must be replaced in the 'if' below 
0012 useGlobalTag = 'IDEAL_30X'
0013 #useGlobalTag='STARTUP_30X'
0014 
0015 ###################### end user choices ###################
0016 
0017 # number of events and source
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 
0022 process.source = cms.Source('EmptySource')
0023 
0024 # load and configure modules via Global Tag
0025 # https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027  
0028 process.GlobalTag.globaltag = useGlobalTag + '::All'
0029 
0030 
0031 process.load('L1TriggerConfig.RCTConfigProducers.L1RCTConfig_cff')
0032 
0033 process.l1RCTParametersTest = cms.EDAnalyzer("L1RCTParametersTester")
0034 process.l1RCTChannelMaskTest = cms.EDAnalyzer("L1RCTChannelMaskTester")
0035 
0036 # paths to be run
0037 
0038 
0039 process.p = cms.Path(process.l1RCTParametersTest
0040                      *process.l1RCTChannelMaskTest
0041 )
0042 
0043 # Message Logger
0044 process.load('FWCore.MessageService.MessageLogger_cfi')
0045 process.MessageLogger.debugModules = ['RCTConfig']
0046 process.MessageLogger.cout = cms.untracked.PSet(
0047     threshold=cms.untracked.string('DEBUG'),
0048     #threshold = cms.untracked.string('INFO'),
0049     #threshold = cms.untracked.string('ERROR'),
0050     DEBUG=cms.untracked.PSet(
0051         limit=cms.untracked.int32(-1)
0052     ),
0053     INFO=cms.untracked.PSet(
0054         limit=cms.untracked.int32(-1)
0055     ),
0056     WARNING=cms.untracked.PSet(
0057         limit=cms.untracked.int32(-1)
0058     ),
0059     ERROR=cms.untracked.PSet(
0060         limit=cms.untracked.int32(-1)
0061     ),
0062     default = cms.untracked.PSet( 
0063         limit=cms.untracked.int32(-1)  
0064     )
0065 )