Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:35

0001 FLAVOR = 'stop'
0002 COM_ENERGY = 13000. # GeV
0003 MASS_POINT = 200   # GeV
0004 PROCESS_FILE = 'SimG4Core/CustomPhysics/data/stophadronProcessList.txt'
0005 PARTICLE_FILE = 'Configuration/Generator/data/particles_%s_%d_GeV.txt'  % (FLAVOR, MASS_POINT)
0006 SLHA_FILE ='Configuration/Generator/data/HSCP_%s_%d_SLHA.spc' % (FLAVOR, MASS_POINT)
0007 PDT_FILE = 'Configuration/Generator/data/hscppythiapdt%s%d.tbl'  % (FLAVOR, MASS_POINT)
0008 USE_REGGE = False
0009 
0010 import FWCore.ParameterSet.Config as cms
0011 
0012 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0013 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0014 
0015 generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0016                          pythiaPylistVerbosity = cms.untracked.int32(0),
0017                          filterEfficiency = cms.untracked.double(-1),
0018                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0019                          comEnergy = cms.double(COM_ENERGY),
0020                          crossSection = cms.untracked.double(-1),
0021                          maxEventsToPrint = cms.untracked.int32(0),
0022                          SLHAFileForPythia8 = cms.string('%s' % SLHA_FILE), 
0023              PythiaParameters = cms.PSet(
0024         pythia8CommonSettingsBlock,
0025         pythia8CUEP8M1SettingsBlock,
0026         processParameters = cms.vstring(
0027             'SUSY:all = off',
0028             'SUSY:gg2squarkantisquark  = on',
0029             'SUSY:qqbar2squarkantisquark= on',
0030             'RHadrons:allow  = on',
0031             'RHadrons:allowDecay = off',
0032             'RHadrons:setMasses = on',
0033             ),
0034         parameterSets = cms.vstring('pythia8CommonSettings',
0035                                     'pythia8CUEP8M1Settings',
0036                                     'processParameters'
0037                                     )        
0038         )
0039                          )
0040 
0041 generator.hscpFlavor = cms.untracked.string(FLAVOR)
0042 generator.massPoint = cms.untracked.int32(MASS_POINT)
0043 generator.particleFile = cms.untracked.string(PARTICLE_FILE)
0044 generator.slhaFile = cms.untracked.string(SLHA_FILE)
0045 generator.processFile = cms.untracked.string(PROCESS_FILE)
0046 generator.pdtFile = cms.FileInPath(PDT_FILE)
0047 generator.useregge = cms.bool(USE_REGGE)
0048 
0049 dirhadrongenfilter = cms.EDFilter("MCParticlePairFilter",
0050     Status = cms.untracked.vint32(1, 1),
0051     MinPt = cms.untracked.vdouble(0., 0.),
0052     MinP = cms.untracked.vdouble(0., 0.),
0053     MaxEta = cms.untracked.vdouble(100., 100.),
0054     MinEta = cms.untracked.vdouble(-100, -100),
0055     ParticleCharge = cms.untracked.int32(0),
0056     ParticleID1 = cms.untracked.vint32(1000612,1000622,1000632,1000642,1000652,1006113,1006211,1006213,1006223,1006311,1006313,1006321,1006323,1006333),
0057     ParticleID2 = cms.untracked.vint32(1000612,1000622,1000632,1000642,1000652,1006113,1006211,1006213,1006223,1006311,1006313,1006321,1006323,1006333)
0058 )
0059 
0060 ProductionFilterSequence = cms.Sequence(generator*dirhadrongenfilter)