Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('test')
0004 
0005 # minimum of logs
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         threshold = cms.untracked.string('WARNING')
0009     )
0010 )
0011 
0012 # raw data source
0013 process.source = cms.Source("EmptySource",
0014 )
0015 
0016 process.maxEvents = cms.untracked.PSet(
0017   input = cms.untracked.int32(1)
0018 )
0019 
0020 # load a mapping
0021 process.load("CalibPPS.ESProducers.totemDAQMappingESSourceXML_cfi")
0022 process.totemDAQMappingESSourceXML.subSystem = "TrackingStrip"
0023 process.totemDAQMappingESSourceXML.configuration = cms.VPSet(
0024   cms.PSet(
0025     validityRange = cms.EventRange("1:min - 999999999:max"),
0026     mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/mapping_tracking_strip_2017.xml"),
0027     maskFileNames = cms.vstring()
0028   )
0029 )
0030   
0031 # print the mapping
0032 process.printTotemDAQMapping = cms.EDAnalyzer("PrintTotemDAQMapping",
0033   subSystem = cms.untracked.string("TrackingStrip")
0034 )
0035 
0036 process.path = cms.Path(
0037   process.printTotemDAQMapping
0038 )