-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 62165 b: refs/heads/l1tmuon-upgrade-dev c: 9e4e8d9 h: refs/heads/l1tmuon-upgrade-dev i: 62163: 9ed05df
- Loading branch information
Julia Yarba
committed
Mar 16, 2009
1 parent
bf9ff8e
commit ab473d9
Showing
3 changed files
with
156 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/l1tmuon-upgrade-dev: 10f4401e73d62ca927bc5a5ca06ad22f59053b7a | ||
refs/heads/l1tmuon-upgrade-dev: 9e4e8d9f705c2f8878e71795be2031f964792b95 |
77 changes: 77 additions & 0 deletions
77
trunk/GeneratorInterface/Pythia6Interface/test/Py6GenFilter_gluino_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.GenProduction.PythiaUESettings_cfi import * | ||
|
||
process = cms.Process("TEST") | ||
process.load("FWCore.Framework.test.cmsExceptionsFatal_cff") | ||
|
||
|
||
process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", | ||
generator = cms.PSet( | ||
initialSeed = cms.untracked.uint32(123456789), | ||
engineName = cms.untracked.string('HepJamesRandom') | ||
) | ||
) | ||
|
||
|
||
# The following three lines reduce the clutter of repeated printouts | ||
# of the same exception message. | ||
process.load("FWCore.MessageLogger.MessageLogger_cfi") | ||
process.MessageLogger.destinations = ['cerr'] | ||
process.MessageLogger.statistics = [] | ||
process.MessageLogger.fwkJobReports = [] | ||
|
||
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1)) | ||
|
||
process.source = cms.Source("EmptySource") | ||
|
||
from Configuration.Generator.PythiaUESettings_cfi import * | ||
|
||
process.generator = cms.EDFilter("Pythia6GeneratorFilter", | ||
pythiaHepMCVerbosity = cms.untracked.bool(True), | ||
maxEventsToPrint = cms.untracked.int32(2), | ||
pythiaPylistVerbosity = cms.untracked.int32(1), | ||
comEnergy = cms.double(10000.0), | ||
|
||
stopHadrons = cms.bool(False), | ||
gluinoHadrons = cms.bool(True), | ||
|
||
PythiaParameters = cms.PSet( | ||
|
||
pythiaUESettingsBlock, | ||
# | ||
# setting for gluino/r-hadrons have been taken from original | ||
# example application (by F.Moortgat), available in 1_8_4 | ||
# but "lost in translation" from old-style configs to python | ||
# | ||
pythiaGluinoRHadrons = cms.vstring( | ||
'MSEL=0 ! User defined processes', | ||
'IMSS(1)=1 ! brute force', | ||
'MSUB(243)=1 ! subprocess', | ||
'MSUB(244)=1 ! subprocess', | ||
'IMSS(3)=1', | ||
'RMSS(3)=300.', | ||
'RMSS(1)=250.', | ||
'RMSS(2)=250.', | ||
'RMSS(4)=10000.', | ||
'MDCY(309,1)=0 ! set gluino stable', | ||
'IMSS(5)=1', | ||
'RMSS(12)=1000.' | ||
### 'MSTJ(14)=-1', this is MANDATORY, so it's hardcoded in Py6Had class | ||
### 'MSTP(111)=0' this is MANDATORY, so it's hardcoded in Py6Had class | ||
), | ||
# This is a vector of ParameterSet names to be read, in this order | ||
parameterSets = cms.vstring( | ||
'pythiaUESettings', | ||
'pythiaGluinoRHadrons') | ||
) | ||
) | ||
|
||
process.GEN = cms.OutputModule("PoolOutputModule", | ||
fileName = cms.untracked.string('gluinoRHadrons.root') | ||
) | ||
|
||
process.p = cms.Path(process.generator) | ||
process.outpath = cms.EndPath(process.GEN) | ||
|
||
process.schedule = cms.Schedule(process.p, process.outpath) |
78 changes: 78 additions & 0 deletions
78
trunk/GeneratorInterface/Pythia6Interface/test/Py6GenFilter_stophadrons_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.GenProduction.PythiaUESettings_cfi import * | ||
|
||
process = cms.Process("TEST") | ||
process.load("FWCore.Framework.test.cmsExceptionsFatal_cff") | ||
|
||
|
||
process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", | ||
generator = cms.PSet( | ||
initialSeed = cms.untracked.uint32(123456789), | ||
engineName = cms.untracked.string('HepJamesRandom') | ||
) | ||
) | ||
|
||
|
||
# The following three lines reduce the clutter of repeated printouts | ||
# of the same exception message. | ||
process.load("FWCore.MessageLogger.MessageLogger_cfi") | ||
process.MessageLogger.destinations = ['cerr'] | ||
process.MessageLogger.statistics = [] | ||
process.MessageLogger.fwkJobReports = [] | ||
|
||
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1)) | ||
|
||
process.source = cms.Source("EmptySource") | ||
|
||
from Configuration.Generator.PythiaUESettings_cfi import * | ||
|
||
process.generator = cms.EDFilter("Pythia6GeneratorFilter", | ||
pythiaHepMCVerbosity = cms.untracked.bool(True), | ||
maxEventsToPrint = cms.untracked.int32(2), | ||
pythiaPylistVerbosity = cms.untracked.int32(1), | ||
comEnergy = cms.double(10000.0), | ||
|
||
stopHadrons = cms.bool(True), | ||
gluinoHadrons = cms.bool(False), | ||
|
||
PythiaParameters = cms.PSet( | ||
|
||
pythiaUESettingsBlock, | ||
# | ||
# settings for stop-hadrons have been taken from original example Py6 add-on | ||
# http://projects.hepforge.org/pythia6/examples/main78.f | ||
# | ||
pythiaStopHadrons = cms.vstring( | ||
'MSEL=0 ! User defined processes', | ||
'IMSS(1)=1 ! brute force', | ||
'MSUB(261)=1 ! subprocess', | ||
'MSUB(264)=1 ! subprocess', | ||
'IMSS(3)=1', | ||
'RMSS(3)=1000.', | ||
'RMSS(1)=1000.', | ||
'RMSS(2)=1000.', | ||
'RMSS(4)=5000.', | ||
'MDCY(302,1)=0 ! set stop stable', | ||
'MWID(302)=0', | ||
'IMSS(5)=1', | ||
'RMSS(12)=200.', | ||
'RMSS(10)=300.' | ||
### 'MSTJ(14)=-1', # this is actually hardcoded in Py6Had class | ||
### 'MSTP(111)=0' # this is a MANDATORY, thus it's hardcoded in Py6Had class | ||
), | ||
# This is a vector of ParameterSet names to be read, in this order | ||
parameterSets = cms.vstring( | ||
'pythiaUESettings', | ||
'pythiaStopHadrons') | ||
) | ||
) | ||
|
||
process.GEN = cms.OutputModule("PoolOutputModule", | ||
fileName = cms.untracked.string('stopHadrons.root') | ||
) | ||
|
||
process.p = cms.Path(process.generator) | ||
process.outpath = cms.EndPath(process.GEN) | ||
|
||
process.schedule = cms.Schedule(process.p, process.outpath) |