/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/MixingModule/python/HiMix_cff.py
38 строк
2 KB
Matthew
produce crossing frame to store heavyIon info
17 май 2017, 17:40
17 май 2017, 17:40
afae678
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # configuration to model pileup for initial physics phase from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects from SimGeneral.MixingModule.mixPoolSource_cfi import * from SimGeneral.MixingModule.digitizers_cfi import * FileNames = cms.untracked.vstring(['/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/16547ECB-9C4B-E411-A815-0025905964BC.root', '/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/86C3C326-9F4B-E411-903D-0025905A48EC.root', '/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/C48D8223-9F4B-E411-BC37-0026189438DC.root', '/store/relval/CMSSW_7_2_0_pre7/RelValQCD_Pt_80_120_13/GEN-SIM/PRE_LS172_V11-v1/00000/D070AB62-9D4B-E411-9766-002618FDA207.root']) # How to?? #for a in self.aliases: delattr(self, a) # here?? mix = cms.EDProducer("MixingModule", digitizers = cms.PSet(theDigitizers), LabelPlayback = cms.string('mix'), maxBunch = cms.int32(0), minBunch = cms.int32(0), ## in terms of 25 nsec bunchspace = cms.int32(1), ##ns mixProdStep1 = cms.bool(False), mixProdStep2 = cms.bool(False), playback = cms.untracked.bool(True), useCurrentProcessOnly = cms.bool(False), input = cms.SecSource("EmbeddedRootSource", nbPileupEvents = cms.PSet( averageNumber = cms.double(1.0) ), type = cms.string('fixed'), sequential = cms.untracked.bool(False), fileNames = FileNames ), mixObjects = cms.PSet(theMixObjects) ) mix.mixObjects.mixHepMC.makeCrossingFrame = True