Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:14:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("analyzer")
0004 
0005 process.load("EventFilter.CSCTFRawToDigi.csctfunpacker_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0008 
0009 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0010 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0011 process.MessageLogger.cout.threshold = cms.untracked.string('INFO')
0012 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0013 
0014 #process.source = cms.Source("PoolSource",
0015 #    fileNames = cms.untracked.vstring('/store/data/CRAFT09/Cosmics/RAW/v1/000/112/553/C0041916-1896-DE11-948D-003048D3756A.root')
0016 #)
0017 
0018 process.source = cms.Source("DaqSource",
0019     readerPluginName = cms.untracked.string('CSCFileReader'),
0020     readerPset = cms.untracked.PSet(
0021         firstEvent  = cms.untracked.int32(0),
0022         tfDDUnumber = cms.untracked.int32(0),
0023         FED760 = cms.untracked.vstring('RUI00'),
0024 #        RUI00  = cms.untracked.vstring('./133877_2badEvents.raw_760')
0025 #        RUI00  = cms.untracked.vstring('./133877_badEvent.raw_760')
0026         RUI00  = cms.untracked.vstring('./133877_3events.raw_760')
0027   )
0028 )
0029 
0030 process.csctfanalyzer = cms.EDAnalyzer("CSCTFAnalyzer",
0031          mbProducer     = cms.untracked.InputTag("csctfunpacker:DT"),
0032          lctProducer    = cms.untracked.InputTag("csctfunpacker:"),
0033          trackProducer  = cms.untracked.InputTag("csctfunpacker:"),
0034          statusProducer = cms.untracked.InputTag("csctfunpacker:")
0035 )
0036 
0037 process.p = cms.Path(process.csctfunpacker*process.csctfanalyzer)
0038 
0039 #process.cscdumper = cms.EDAnalyzer("CSCFileDumper",
0040 #    output = cms.untracked.string("133877_2badEvents.raw"),
0041 #    events = cms.untracked.string("4768853,1373027")
0042 #)
0043 #
0044 #process.p = cms.Path(process.cscdumper)
0045