CMS 3D CMS Logo

conversion_template_cfg.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 process = cms.Process("Convert")
5 
6 process.load("DQM.SiStripCommon.MessageLogger_cfi")
7 
8 process.source = cms.Source("NewEventStreamFileReader",
9  fileNames = cms.untracked.vstring("file:DATFILE")
10 )
11 
12 maxEvents = cms.PSet(
13  input = cms.untracked.int32(-1)
14 )
15 
16 process.anal = cms.EDAnalyzer("EventContentAnalyzer")
17 
18 process.out = cms.OutputModule("PoolOutputModule",
19  fileName = cms.untracked.string("ROOFILE"),
20  outputCommands = cms.untracked.vstring("drop *", "keep FEDRawDataCollection_*_*_*")
21 )
22 
23 process.p = cms.Path(process.anal)
24 process.e = cms.EndPath(process.out)