Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load("EventFilter.EcalRawToDigi.ecalMatacq_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(1000)
0009 )
0010 
0011 process.MessageLogger = cms.Service("MessageLogger",
0012     cerr = cms.untracked.PSet(
0013         enable = cms.untracked.bool(False)
0014     ),
0015     cout = cms.untracked.PSet(
0016         enable = cms.untracked.bool(True),
0017         threshold = cms.untracked.string('WARNING')
0018     ),
0019     suppressInfo = cms.untracked.vstring('ecalMatacq')
0020 )
0021 
0022 #process.source = cms.Source("NewEventStreamFileReader",
0023 #    debugFlag = cms.untracked.bool(True),
0024 #    debugVebosity = cms.untracked.uint32(0),
0025 #    fileNames = cms.untracked.vstring('/store/data/GlobalCRAFT1/Calibration/000/071/133/GlobalCRAFT1.00071133.0004.Calibration.storageManager.00.0000.dat')
0026 #)
0027 process.source = cms.Source ("PoolSource",
0028                      fileNames = cms.untracked.vstring('/store/data/Commissioning08/TestEnables/RAW/v1/000/069/071/688C2E1E-AEA9-DD11-A8EF-001D09F25041.root',
0029                                                        '/store/data/Commissioning08/TestEnables/RAW/v1/000/069/071/C0CFB816-AEA9-DD11-B59B-001D09F2426D.root'),
0030                      secondaryFileNames = cms.untracked.vstring(),
0031                      skipEvents = cms.untracked.uint32(800)
0032                      )                 
0033 
0034 #process.source = cms.Source("PoolSource",
0035 #                    fileNames = cms.untracked.vstring('input.root')
0036 #                    )
0037 
0038 
0039 #source =  cms.Source("LmfSource",
0040 #                     fileNames = cms.untracked.vstring('input.lmf')
0041 #                     )
0042 
0043 process.o1 = cms.OutputModule("PoolOutputModule",
0044     compressionLevel = cms.untracked.int32(1),
0045     outputCommands = cms.untracked.vstring('keep *'),
0046     fileName = cms.untracked.string('output.root')
0047 )
0048 
0049 #histograming
0050 process.hist = cms.EDAnalyzer("EcalMatacqHist2",
0051      firstTimePlotEvent = cms.untracked.int32(1),
0052      nTimePlots = cms.untracked.int32(10),
0053      matacqProducer = cms.string("ecalMatacq"),
0054      outputRootFile = cms.untracked.string('matacqHist.root')
0055 )
0056 
0057 
0058 process.p = cms.Path(process.ecalMatacq*process.hist)
0059 process.outpath = cms.EndPath(process.o1)
0060 
0061 #Matacq input data files:
0062 process.ecalMatacq.fileNames = [
0063     'rfio:///castor/cern.ch/cms/store/data/Matacq2008Ecal/%run_subdir%/matacq.%run_number%.dat'
0064     ]
0065 
0066 #performance timing
0067 process.ecalMatacq.timing = True
0068 process.ecalMatacq.disabled = False
0069 
0070 #debugging verbosity
0071 process.ecalMatacq.verbosity = 1
0072 
0073