Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #from Configuration.Generator.PythiaUESettings_cfi import *
0004 from Configuration.Generator.PythiaUEProQ20Settings_cfi import *
0005 #from Configuration.Generator.PythiaUEP11noCRSettings_cfi import *
0006 
0007 source = cms.Source("EmptySource")
0008 
0009 collisionParameters200GeV = cms.PSet(aBeamTarget = cms.double(197.0), ## beam/target atomic number
0010                                      comEnergy = cms.double(200.0)
0011                                     )
0012 
0013 collisionParameters2760GeV = cms.PSet(aBeamTarget = cms.double(208.0), ## beam/target atomic number
0014                                       comEnergy = cms.double(2760.0)
0015                                      )
0016 
0017 collisionParameters5020GeV = cms.PSet(aBeamTarget = cms.double(208.0), ## beam/target atomic number
0018                                       comEnergy = cms.double(5020.0)
0019                                      )
0020 
0021 collisionParameters5362GeV = cms.PSet(aBeamTarget = cms.double(208.0), ## beam/target atomic number
0022                                       comEnergy = cms.double(5362.0)
0023                                      )
0024 collisionParametersF5362GeV = collisionParameters5362GeV.clone()
0025 
0026 collisionParameters5442GeV = cms.PSet(aBeamTarget = cms.double(129.0), ## beam/target atomic number
0027                                       comEnergy = cms.double(5442.0)
0028                                      )
0029 
0030 collisionParameters5519GeV = cms.PSet(aBeamTarget = cms.double(208.0), ## beam/target atomic number
0031                                       comEnergy = cms.double(5519.0)
0032                                      )
0033 
0034 qgpParameters200GeV = cms.PSet(qgpInitialTemperature = cms.double(0.3), ## initial temperature of QGP; allowed range [0.2,2.0]GeV;
0035                                qgpProperTimeFormation = cms.double(0.4), ## proper time of QGP formation; allowed range [0.01,10.0]fm/c;
0036                                hadronFreezoutTemperature = cms.double(0.100),
0037                                doRadiativeEnLoss = cms.bool(True), ## if true, perform partonic radiative en loss
0038                                doCollisionalEnLoss = cms.bool(True),
0039                                qgpNumQuarkFlavor = cms.int32(2),  ## number of active quark flavors in qgp; allowed values: 0,1,2,3
0040                               )
0041 
0042 qgpParameters2760GeV = cms.PSet(qgpInitialTemperature = cms.double(1.), ## initial temperature of QGP; allowed range [0.2,2.0]GeV;
0043                                 qgpProperTimeFormation = cms.double(0.4), ## proper time of QGP formation; allowed range [0.01,10.0]fm/c;
0044                                 hadronFreezoutTemperature = cms.double(0.160),
0045                                 doRadiativeEnLoss = cms.bool(True), ## if true, perform partonic radiative en loss
0046                                 doCollisionalEnLoss = cms.bool(True),
0047                                 qgpNumQuarkFlavor = cms.int32(0),  ## number of active quark flavors in qgp; allowed values: 0,1,2,3
0048                                )
0049 
0050 qgpParameters5020GeV = qgpParameters2760GeV.clone(qgpInitialTemperature = cms.double(1.2),
0051                                                   hadronFreezoutTemperature = cms.double(0.170)
0052                                                  )
0053 
0054 qgpParameters5362GeV = qgpParameters5020GeV.clone(hadronFreezoutTemperature = cms.double(0.174))
0055 
0056 qgpParametersF5362GeV = qgpParameters5362GeV.clone(qgpInitialTemperature = cms.double(1.),
0057                                                    qgpProperTimeFormation = cms.double(0.1), 
0058                                                    hadronFreezoutTemperature = cms.double(0.125)
0059                                                   )
0060 
0061 qgpParameters5442GeV = qgpParameters5020GeV.clone(hadronFreezoutTemperature = cms.double(0.176))
0062 
0063 qgpParameters5519GeV = qgpParameters5020GeV.clone(qgpInitialTemperature = cms.double(1.3),
0064                                                   hadronFreezoutTemperature = cms.double(0.176)
0065                                                  )
0066 
0067 hydjetParameters200GeV = cms.PSet(sigmaInelNN = cms.double(41.6),
0068                                   shadowingSwitch = cms.int32(1),
0069                                   nMultiplicity = cms.int32(6640),
0070                                   fracSoftMultiplicity = cms.double(1.),
0071                                   maxLongitudinalRapidity = cms.double(3.),
0072                                   maxTransverseRapidity = cms.double(1.1),
0073                                   rotateEventPlane = cms.bool(True),
0074                                   allowEmptyEvents = cms.bool(False),
0075                                   angularSpectrumSelector = cms.int32(1), ## angular emitted gluon spectrum
0076                                   embeddingMode = cms.int32(0)
0077                                  )
0078 
0079 hydjetParameters2760GeV = cms.PSet(sigmaInelNN = cms.double(61.8),
0080                                    shadowingSwitch = cms.int32(1),
0081                                    nMultiplicity = cms.int32(15400),
0082                                    fracSoftMultiplicity = cms.double(1.),
0083                                    maxLongitudinalRapidity = cms.double(3.9),
0084                                    maxTransverseRapidity = cms.double(1.),
0085                                    rotateEventPlane = cms.bool(True),
0086                                    allowEmptyEvents = cms.bool(False),
0087                                    angularSpectrumSelector = cms.int32(1), ## angular emitted gluon spectrum
0088                                    embeddingMode = cms.int32(0)
0089                                   )
0090 
0091 hydjetParameters5020GeV = hydjetParameters2760GeV.clone(sigmaInelNN = cms.double(67.6),
0092                                                         nMultiplicity = cms.int32(18600)
0093                                                        )
0094 
0095 hydjetParameters5362GeV = hydjetParameters2760GeV.clone(sigmaInelNN = cms.double(68.13),
0096                                                         nMultiplicity = cms.int32(19125)
0097                                                        )
0098 
0099 hydjetParametersF5362GeV = hydjetParameters5362GeV.clone(nMultiplicity = cms.int32(18670),
0100                                                          maxLongitudinalRapidity = cms.double(4.),
0101                                                          maxTransverseRapidity = cms.double(0.8),
0102                                                          angularSpectrumSelector = cms.int32(1)
0103                                                         )
0104 
0105 hydjetParameters5442GeV = hydjetParameters2760GeV.clone(sigmaInelNN = cms.double(68.4),
0106                                                         nMultiplicity = cms.int32(21700),
0107                                                         maxLongitudinalRapidity = cms.double(4.2),
0108                                                         maxTransverseRapidity = cms.double(1.2)
0109                                                        )
0110 
0111 hydjetParameters5519GeV = hydjetParameters2760GeV.clone(sigmaInelNN = cms.double(70.9),
0112                                                         nMultiplicity = cms.int32(19306),
0113                                                         maxLongitudinalRapidity = cms.double(4.)
0114                                                        )
0115 
0116 pyquenParameters  = cms.PSet(doIsospin = cms.bool(True),
0117                              angularSpectrumSelector = cms.int32(0), ## angular emitted gluon spectrum
0118                              embeddingMode = cms.int32(0)
0119                              )
0120 
0121 pyquenPythiaDefaultBlock = cms.PSet(
0122     pythiaUESettingsBlock,
0123     hydjetPythiaDefault200 = cms.vstring('MSEL=0   ! user processes',
0124                                       'CKIN(3)=3.55',# ! ptMin
0125                                       'MSTP(81)=1'
0126                                       ),
0127     hydjetPythiaDefault2760 = cms.vstring('MSEL=0   ! user processes',
0128                                       'CKIN(3)=7.2',# ! ptMin
0129                                       'MSTP(81)=1'
0130                                       ),
0131     hydjetPythiaDefault5020 = cms.vstring('MSEL=0   ! user processes',
0132                                       'CKIN(3)=9.',# ! ptMin
0133                                       'MSTP(81)=1'
0134                                       ),   
0135     hydjetPythiaDefault5362 = cms.vstring('MSEL=0   ! user processes',
0136                                       'CKIN(3)=9.',# ! ptMin
0137                                       'MSTP(81)=1'
0138                                       ),
0139     hydjetPythiaDefaultF5362 = cms.vstring('MSEL=0   ! user processes',
0140                                       'CKIN(3)=8.5',# ! ptMin
0141                                       'MSTP(81)=1'
0142                                       ),
0143     hydjetPythiaDefault5442 = cms.vstring('MSEL=0   ! user processes',
0144                                       'CKIN(3)=11.',# ! ptMin
0145                                       'MSTP(81)=1'
0146                                       ),
0147     hydjetPythiaDefault5519 = cms.vstring('MSEL=0   ! user processes',
0148                                       'CKIN(3)=9.2',# ! ptMin
0149                                       'MSTP(81)=1'
0150                                       ),
0151     ppDefault = cms.vstring('MSEL=1   ! QCD hight pT processes (only jets)',
0152                             'CKIN(3)=10.',# ! ptMin
0153                             'MSTP(81)=1'
0154                             ),
0155     pythiaHirootDefault = cms.vstring('MSEL=0', # ! Only user defined processes,
0156                                 'MSTU(21)=1', # ! to avoid stopping run',
0157                                 'PARU(14)=1.', # ! tolerance parameter to adjust fragmentation',
0158                                 'MSTP(81)=0', # ! pp multiple scattering off',
0159                                 'PMAS(5,1)=4.8', # ! b quark mass',
0160                                 'PMAS(6,1)=175.0', # ! t quark mass'
0161                                 'CKIN(3)=7.',# ! ptMin
0162                                 'MSTJ(22)=2',
0163                                 'PARJ(71)=10.', # Decays only if life time < 10mm
0164                                 'PARP(67)=1.',
0165                                 'PARP(82)=1.9',
0166                                 'PARP(85)=0.33',
0167                                 'PARP(86)=0.66',
0168                                 'PARP(89)=1000.',
0169                                 'PARP(91)=1.0',
0170                                 'MSTJ(11)=3',
0171                                 'MSTJ(22)=2'
0172                                 ),
0173     ppJets = cms.vstring('MSEL=1   ! QCD hight pT processes'),
0174     customProcesses = cms.vstring('MSEL=0   ! User processes'),
0175     pythiaJets = cms.vstring('MSUB(11)=1', # q+q->q+q
0176                              'MSUB(12)=1', # q+qbar->q+qbar
0177                              'MSUB(13)=1', # q+qbar->g+g
0178                              'MSUB(28)=1', # q+g->q+g
0179                              'MSUB(53)=1', # g+g->q+qbar
0180                              'MSUB(68)=1' # g+g->g+g
0181                              ),
0182     pythiaPromptPhotons = cms.vstring('MSUB(14)=1', # q+qbar->g+gamma
0183                                       'MSUB(18)=1', # q+qbar->gamma+gamma
0184                                       'MSUB(29)=1', # q+g->q+gamma
0185                                       'MSUB(114)=1', # g+g->gamma+gamma
0186                                       'MSUB(115)=1' # g+g->g+gamma
0187                                       ),
0188 
0189     pythiaWeakBosons = cms.vstring('MSUB(1)=1',
0190                                    'MSUB(2)=1'),
0191 
0192     pythiaZjets = cms.vstring('MSUB(15)=1',
0193                               'MSUB(30)=1'),
0194 
0195     pythiaCharmoniumNRQCD = cms.vstring('MSUB(421) = 1',
0196                                         'MSUB(422) = 1',
0197                                         'MSUB(423) = 1',
0198                                         'MSUB(424) = 1',
0199                                         'MSUB(425) = 1',
0200                                         'MSUB(426) = 1',
0201                                         'MSUB(427) = 1',
0202                                         'MSUB(428) = 1',
0203                                         'MSUB(429) = 1',
0204                                         'MSUB(430) = 1',
0205                                         'MSUB(431) = 1',
0206                                         'MSUB(432) = 1',
0207                                         'MSUB(433) = 1',
0208                                         'MSUB(434) = 1',
0209                                         'MSUB(435) = 1',
0210                                         'MSUB(436) = 1',
0211                                         'MSUB(437) = 1',
0212                                         'MSUB(438) = 1',
0213                                         'MSUB(439) = 1'
0214                                         ),
0215 
0216     pythiaBottomoniumNRQCD = cms.vstring('MSUB(461) = 1',
0217                                          'MSUB(462) = 1',
0218                                          'MSUB(463) = 1',
0219                                          'MSUB(464) = 1',
0220                                          'MSUB(465) = 1',
0221                                          'MSUB(466) = 1',
0222                                          'MSUB(467) = 1',
0223                                          'MSUB(468) = 1',
0224                                          'MSUB(469) = 1',
0225                                          'MSUB(470) = 1',
0226                                          'MSUB(471) = 1',
0227                                          'MSUB(472) = 1',
0228                                          'MSUB(473) = 1',
0229                                          'MSUB(474) = 1',
0230                                          'MSUB(475) = 1',
0231                                          'MSUB(476) = 1',
0232                                          'MSUB(477) = 1',
0233                                          'MSUB(478) = 1',
0234                                          'MSUB(479) = 1',
0235                                          ),
0236 
0237     pythiaQuarkoniaSettings = cms.vstring('PARP(141)=1.16',   # Matrix Elements
0238                                           'PARP(142)=0.0119',
0239                                           'PARP(143)=0.01',
0240                                           'PARP(144)=0.01',
0241                                           'PARP(145)=0.05',
0242                                           'PARP(146)=9.28',
0243                                           'PARP(147)=0.15',
0244                                           'PARP(148)=0.02',
0245                                           'PARP(149)=0.02',
0246                                           'PARP(150)=0.085',
0247                                           # Meson spin
0248                                           'PARJ(13)=0.60',
0249                                           'PARJ(14)=0.162',
0250                                           'PARJ(15)=0.018',
0251                                           'PARJ(16)=0.054',
0252                                           # Polarization
0253                                           'MSTP(145)=0',
0254                                           'MSTP(146)=0',
0255                                           'MSTP(147)=0',
0256                                           'MSTP(148)=1',
0257                                           'MSTP(149)=1',
0258                                           # Chi_c branching ratios
0259                                           'BRAT(861)=0.202',
0260                                           'BRAT(862)=0.798',
0261                                           'BRAT(1501)=0.013',
0262                                           'BRAT(1502)=0.987',
0263                                           'BRAT(1555)=0.356',
0264                                           'BRAT(1556)=0.644'
0265                                           ),
0266 
0267     pythiaZtoMuons = cms.vstring("MDME(174,1)=0",          # !Z decay into d dbar,
0268                                  "MDME(175,1)=0",          # !Z decay into u ubar,
0269                                  "MDME(176,1)=0",          # !Z decay into s sbar,
0270                                  "MDME(177,1)=0",          # !Z decay into c cbar,
0271                                  "MDME(178,1)=0",          # !Z decay into b bbar,
0272                                  "MDME(179,1)=0",          # !Z decay into t tbar,
0273                                  "MDME(182,1)=0",          # !Z decay into e- e+,
0274                                  "MDME(183,1)=0",          # !Z decay into nu_e nu_ebar,
0275                                  "MDME(184,1)=1",          # !Z decay into mu- mu+,
0276                                  "MDME(185,1)=0",          # !Z decay into nu_mu nu_mubar,
0277                                  "MDME(186,1)=0",          # !Z decay into tau- tau+,
0278                                  "MDME(187,1)=0"           # !Z decay into nu_tau nu_taubar
0279                                  ),
0280 
0281 
0282     pythiaZtoElectrons = cms.vstring("MDME(174,1)=0",          # !Z decay into d dbar,
0283                                      "MDME(175,1)=0",          # !Z decay into u ubar,
0284                                      "MDME(176,1)=0",          # !Z decay into s sbar,
0285                                      "MDME(177,1)=0",          # !Z decay into c cbar,
0286                                      "MDME(178,1)=0",          # !Z decay into b bbar,
0287                                      "MDME(179,1)=0",          # !Z decay into t tbar,
0288                                      "MDME(182,1)=1",          # !Z decay into e- e+,
0289                                      "MDME(183,1)=0",          # !Z decay into nu_e nu_ebar,
0290                                      "MDME(184,1)=0",          # !Z decay into mu- mu+,
0291                                      "MDME(185,1)=0",          # !Z decay into nu_mu nu_mubar,
0292                                      "MDME(186,1)=0",          # !Z decay into tau- tau+,
0293                                      "MDME(187,1)=0"           # !Z decay into nu_tau nu_taubar
0294                                      ),
0295 
0296     pythiaZtoMuonsAndElectrons = cms.vstring("MDME(174,1)=0",          # !Z decay into d dbar,
0297                                              "MDME(175,1)=0",          # !Z decay into u ubar,
0298                                              "MDME(176,1)=0",          # !Z decay into s sbar,
0299                                              "MDME(177,1)=0",          # !Z decay into c cbar,
0300                                              "MDME(178,1)=0",          # !Z decay into b bbar,
0301                                              "MDME(179,1)=0",          # !Z decay into t tbar,
0302                                              "MDME(182,1)=1",          # !Z decay into e- e+,
0303                                              "MDME(183,1)=0",          # !Z decay into nu_e nu_ebar,
0304                                              "MDME(184,1)=1",          # !Z decay into mu- mu+,
0305                                              "MDME(185,1)=0",          # !Z decay into nu_mu nu_mubar,
0306                                              "MDME(186,1)=0",          # !Z decay into tau- tau+,
0307                                              "MDME(187,1)=0"           # !Z decay into nu_tau nu_taubar
0308                                              ),
0309 
0310     pythiaUpsilonToMuons = cms.vstring('BRAT(1034) = 0 ',  # switch off',
0311                                        'BRAT(1035) = 1 ',  # switch on',
0312                                        'BRAT(1036) = 0 ',  # switch off',
0313                                        'BRAT(1037) = 0 ',  # switch off',
0314                                        'BRAT(1038) = 0 ',  # switch off',
0315                                        'BRAT(1039) = 0 ',  # switch off',
0316                                        'BRAT(1040) = 0 ',  # switch off',
0317                                        'BRAT(1041) = 0 ',  # switch off',
0318                                        'BRAT(1042) = 0 ',  # switch off',
0319                                        'MDME(1034,1) = 0 ',  # switch off',
0320                                        'MDME(1035,1) = 1 ',  # switch on',
0321                                        'MDME(1036,1) = 0 ',  # switch off',
0322                                        'MDME(1037,1) = 0 ',  # switch off',
0323                                        'MDME(1038,1) = 0 ',  # switch off',
0324                                        'MDME(1039,1) = 0 ',  # switch off',
0325                                        'MDME(1040,1) = 0 ',  # switch off',
0326                                        'MDME(1041,1) = 0 ',  # switch off',
0327                                        'MDME(1042,1) = 0 ',  # switch off'
0328                                        ),
0329 
0330    pythiaJpsiToMuons = cms.vstring('BRAT(858) = 0 ',  # switch off',
0331                                    'BRAT(859) = 1 ',  # switch on',
0332                                    'BRAT(860) = 0 ',  # switch off',
0333                                    'MDME(858,1) = 0 ',  # switch off',
0334                                    'MDME(859,1) = 1 ',  # switch on',
0335                                    'MDME(860,1) = 0 ',  # switch off'
0336                                    ),
0337 
0338     pythiaMuonCandidates = cms.vstring(
0339     'CKIN(3)=20',
0340     'MSTJ(22)=2',
0341     'PARJ(71)=40.'
0342     ),
0343     myParameters = cms.vstring('MDCY(310,1)=0')
0344 
0345 )