Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-25 02:43:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Generator.Pyquen2025Settings_cff import *
0004 from GeneratorInterface.Core.ExternalGeneratorFilter import ExternalGeneratorFilter
0005 import os
0006 
0007 hjenergy = os.getenv("HJENERGY", "2760")
0008 
0009 generator = ExternalGeneratorFilter(cms.EDFilter("PyquenGeneratorFilter",
0010                          locals()[f"collisionParameters{hjenergy}GeV"],   #tune CELLO
0011                          locals()[f"qgpParameters{hjenergy}GeV"],         #tune CELLO
0012                          pyquenParameters,
0013                          doQuench = cms.bool(True),
0014                          bFixed = cms.double(0.0), ## fixed impact param (fm); valid only if cflag_=0
0015                          PythiaParameters = cms.PSet(pyquenPythiaDefaultBlock,
0016                                                      parameterSets = cms.vstring('pythiaUESettings','customProcesses','pythiaZjets','pythiaZtoMuonsAndElectrons','kinematics'),
0017                                                      kinematics = cms.vstring ("CKIN(3)=10",  #min pthat
0018                                                                                "CKIN(4)=9999", #max pthat
0019                                                                                "CKIN(7)=-2.",  #min rapidity
0020                                                                                "CKIN(8)=2."    #max rapidity
0021                                                                                )
0022                                                      
0023                                                      ),
0024                         cFlag = cms.int32(0), ## centrality flag
0025                         bMin = cms.double(0.0), ## min impact param (fm); valid only if cflag_!=0
0026                         bMax = cms.double(0.0) ## max impact param (fm); valid only if cflag_!=0
0027                         ))
0028 
0029 generator.embeddingMode = 0
0030 
0031 configurationMetadata = cms.untracked.PSet(
0032     version = cms.untracked.string('$Revision: 1.3 $'),
0033     name = cms.untracked.string('$Source: /local/projects/CMSSW/rep/CMSSW/Configuration/Generator/python/Pyquen_ZeemumuJets_pt10_2760GeV_cfi.py,v $'),
0034     annotation = cms.untracked.string('PYQUEN Z->mumu and Z->ee (pt-hat > 10 GeV) at sqrt(s) = 2.76TeV')
0035     )
0036 
0037 ProductionFilterSequence = cms.Sequence(generator)