/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4CMS/ShowerLibraryProducer/python/writelibraryfile_cfg.py
24 строки
785 B
Sunanda
Move FileService variable in the code rather than as a class member and use fillDescription in SimG4CMS/ShowerLibraryProducer and SimG4CMS/Calo
14 дек 2021, 20:45
14 дек 2021, 20:45
204f24d
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("HFSHOWERLIBRARY") process.load("FWCore.MessageService.MessageLogger_cfi") process.source = cms.Source("EmptySource") process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1)) process.TFileService = cms.Service("TFileService",fileName = cms.string('HFShowerLibrary.root') ) process.photon = cms.EDAnalyzer('HcalForwardLibWriter', hcalForwardLibWriterParameters = cms.PSet( FileName = cms.FileInPath('SimG4CMS/ShowerLibraryProducer/data/fileList.txt'), Nbins = cms.int32(16), Nshowers = cms.int32(10000), BufSize = cms.int32(1), SplitLevel = cms.int32(2), CompressionAlgo = cms.int32(4), CompressionLevel = cms.int32(4) ) ) process.p = cms.Path(process.photon)