CMS 3D CMS Logo

writelibraryfile_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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(10000),
17  BufSize = cms.int32(1),
18  SplitLevel = cms.int32(2),
19  CompressionAlgo = cms.int32(4),
20  CompressionLevel = cms.int32(4)
21  )
22 )
23 
24 process.p = cms.Path(process.photon)