-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45468 from hjbossi/main/CMSSW_13_0_HeavyIon_X
Make Pythia8 Photon Flux more configurable.
- Loading branch information
Showing
5 changed files
with
106 additions
and
97 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
Configuration/Generator/python/Pythia8PhotonFluxSettings_cfi.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,32 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# configuration for photon flux in PbPb | ||
PhotonFlux_PbPb = cms.PSet( | ||
beamTypeA = cms.int32(1000822080), | ||
beamTypeB = cms.int32(1000822080), | ||
radiusA = cms.untracked.double(6.636), | ||
radiusB = cms.untracked.double(6.636), | ||
zA = cms.untracked.int32(82), | ||
zB = cms.untracked.int32(82) | ||
) | ||
|
||
# configuration for photon flux in OO | ||
PhotonFlux_OO = cms.PSet( | ||
beamTypeA = cms.int32(80160), | ||
beamTypeB = cms.int32(80160), | ||
radiusA = cms.untracked.double(3.02), | ||
radiusB = cms.untracked.double(3.02), | ||
zA = cms.untracked.int32(8), | ||
zB = cms.untracked.int32(8) | ||
) | ||
|
||
# configuration for photon flux in XeXe | ||
# radius from charged particle raa: https://arxiv.org/pdf/1809.00201.pdf | ||
PhotonFlux_XeXe = cms.PSet( | ||
beamTypeA = cms.int32(5418), | ||
beamTypeB = cms.int32(5418), | ||
radiusA = cms.untracked.double(5.4), | ||
radiusB = cms.untracked.double(5.4), | ||
zA = cms.untracked.int32(54), | ||
zB = cms.untracked.int32(54) | ||
) |
28 changes: 28 additions & 0 deletions
28
Configuration/Generator/python/Pythia8_GammaNucleus_5p36TeV_cfi.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,28 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
from Configuration.Generator.Pythia8PhotonFluxSettings_cfi import PhotonFlux_PbPb | ||
|
||
generator = cms.EDFilter("Pythia8GeneratorFilter", | ||
maxEventsToPrint = cms.untracked.int32(1), | ||
pythiaPylistVerbosity = cms.untracked.int32(1), | ||
filterEfficiency = cms.untracked.double(1.0), | ||
pythiaHepMCVerbosity = cms.untracked.bool(False), | ||
comEnergy = cms.double(5360.), | ||
PhotonFlux = PhotonFlux_PbPb, | ||
PythiaParameters = cms.PSet( | ||
parameterSets = cms.vstring('pythia8_example02'), | ||
pythia8_example02 = cms.vstring( | ||
'HardQCD:all = on', | ||
'PhaseSpace:pTHatMin = 10.', | ||
'PhotonParton:all = on', | ||
'MultipartonInteractions:pT0Ref = 3.0', | ||
'PDF:beamA2gamma = on', | ||
'PDF:proton2gammaSet = 0', | ||
'PDF:useHardNPDFB = on', | ||
'PDF:gammaFluxApprox2bMin = 13.272', | ||
'PDF:beam2gammaApprox = 2', | ||
'Photon:sampleQ2 = off', | ||
'Photon:ProcessType = 3' | ||
) | ||
) | ||
) | ||
ProductionFilterSequence = cms.Sequence(generator) |
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
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
28 changes: 3 additions & 25 deletions
28
GeneratorInterface/Pythia8Interface/test/pythia8ex2_ConvertToMain70_cfg_Fragment.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