CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
writelibraryfile_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("HFSHOWERLIBRARY")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 process.source = cms.Source("EmptySource")
8 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
9 
10 process.TFileService = cms.Service("TFileService",fileName = cms.string('HFShowerLibrary.root') )
11 
12 process.photon = cms.EDAnalyzer('HcalForwardLibWriter',
13  HcalForwardLibWriterParameters = cms.PSet(
14  FileName = cms.FileInPath('SimG4CMS/ShowerLibraryProducer/data/fileList.txt'),
15  Nbins = cms.int32(16),
16  Nshowers = cms.int32(5000)
17  )
18 )
19 
20 process.p = cms.Path(process.photon)