00001 import FWCore.ParameterSet.Config as cms
00002
00003 herwigDefaultsBlock = cms.PSet(
00004 dataLocation = cms.string('${HERWIGPATH}'),
00005
00006 repository = cms.string('HerwigDefaults.rpo'),
00007 eventHandlers = cms.string('/Herwig/EventHandlers'),
00008 generatorModule = cms.string('/Herwig/Generators/LHCGenerator'),
00009
00010 run = cms.string('LHC'),
00011
00012 cmsDefaults = cms.vstring(
00013 '+pdfMRST2001',
00014 '+cm14TeV',
00015 '+ue_2_3',
00016 '+basicSetup',
00017 '+setParticlesStableForDetector',
00018 ),
00019
00020 basicSetup = cms.vstring(
00021 'cd /Herwig/Generators',
00022 'create ThePEG::RandomEngineGlue /Herwig/RandomGlue',
00023 'set LHCGenerator:RandomNumberGenerator /Herwig/RandomGlue',
00024 'set LHCGenerator:NumberOfEvents 10000000',
00025 'set LHCGenerator:DebugLevel 1',
00026 'set LHCGenerator:PrintEvent 0',
00027 'set LHCGenerator:MaxErrors 10000',
00028 'cd /Herwig/Particles',
00029 'set p+:PDF /Herwig/Partons/cmsPDFSet',
00030 'set pbar-:PDF /Herwig/Partons/cmsPDFSet',
00031 'set K0:Width 1e300*GeV',
00032 'set Kbar0:Width 1e300*GeV',
00033 'cd /',
00034 ),
00035
00036
00037
00038
00039
00040 pdfMRST2001 = cms.vstring(
00041 'cd /Herwig/Partons',
00042 'create Herwig::MRST MRST2001 HwMRST.so',
00043 'setup MRST2001 ${HERWIGPATH}/PDF/mrst/2001/lo2002.dat',
00044 'set MRST2001:RemnantHandler HadronRemnants',
00045 'cp MRST2001 cmsPDFSet',
00046 'cd /',
00047 ),
00048
00049 pdfMRST2008LOss = cms.vstring(
00050 'cp /Herwig/Partons/MRST /Herwig/Partons/cmsPDFSet',
00051 ),
00052 pdfCTEQ5L = cms.vstring(
00053 'cd /Herwig/Partons',
00054 'create ThePEG::LHAPDF CTEQ5L ThePEGLHAPDF.so',
00055 'set CTEQ5L:PDFName cteq5l.LHgrid',
00056 'set CTEQ5L:RemnantHandler HadronRemnants',
00057 'cp CTEQ5L cmsPDFSet',
00058 'cd /',
00059 ),
00060 pdfCTEQ6L1 = cms.vstring(
00061 'cd /Herwig/Partons',
00062 'create ThePEG::LHAPDF CTEQ6L1 ThePEGLHAPDF.so',
00063 'set CTEQ6L1:PDFName cteq6ll.LHpdf',
00064 'set CTEQ6L1:RemnantHandler HadronRemnants',
00065 'cp CTEQ6L1 cmsPDFSet',
00066 'cd /',
00067 ),
00068
00069
00070
00071
00072 cm7TeV = cms.vstring(
00073 'set /Herwig/Generators/LHCGenerator:EventHandler:LuminosityFunction:Energy 7000.0',
00074 'set /Herwig/Shower/Evolver:IntrinsicPtGaussian 2.0*GeV',
00075 ),
00076 cm8TeV = cms.vstring(
00077 'set /Herwig/Generators/LHCGenerator:EventHandler:LuminosityFunction:Energy 8000.0',
00078 'set /Herwig/Shower/Evolver:IntrinsicPtGaussian 2.0*GeV',
00079 ),
00080 cm10TeV = cms.vstring(
00081 'set /Herwig/Generators/LHCGenerator:EventHandler:LuminosityFunction:Energy 10000.0',
00082 'set /Herwig/Shower/Evolver:IntrinsicPtGaussian 2.1*GeV',
00083 ),
00084 cm14TeV = cms.vstring(
00085 'set /Herwig/Generators/LHCGenerator:EventHandler:LuminosityFunction:Energy 14000.0',
00086 'set /Herwig/Shower/Evolver:IntrinsicPtGaussian 2.2*GeV',
00087 ),
00088
00089
00090
00091
00092
00093 ue_2_3 = cms.vstring(
00094 'cd /Herwig/UnderlyingEvent',
00095 'set KtCut:MinKT 4.0',
00096 'set UECuts:MHatMin 8.0',
00097 'set MPIHandler:InvRadius 1.5',
00098 'cd /',
00099 ),
00100
00101 ue_2_4 = cms.vstring(
00102 'cd /Herwig/UnderlyingEvent',
00103 'set KtCut:MinKT 4.3',
00104 'set UECuts:MHatMin 8.6',
00105 'set MPIHandler:InvRadius 1.2',
00106 'cd /',
00107 ),
00108
00109
00110
00111
00112 reweightConstant = cms.vstring(
00113 'mkdir /Herwig/Weights',
00114 'cd /Herwig/Weights',
00115 'create ThePEG::ReweightConstant reweightConstant ReweightConstant.so',
00116 'cd /',
00117 'set /Herwig/Weights/reweightConstant:C 1',
00118 'insert SimpleQCD:Reweights[0] /Herwig/Weights/reweightConstant',
00119 ),
00120 reweightPthat = cms.vstring(
00121 'mkdir /Herwig/Weights',
00122 'cd /Herwig/Weights',
00123 'create ThePEG::ReweightMinPT reweightMinPT ReweightMinPT.so',
00124 'cd /',
00125 'set /Herwig/Weights/reweightMinPT:Power 4.5',
00126 'set /Herwig/Weights/reweightMinPT:Scale 15*GeV',
00127 'insert SimpleQCD:Reweights[0] /Herwig/Weights/reweightMinPT',
00128 ),
00129
00130
00131 setParticlesStableForDetector = cms.vstring(
00132 'cd /Herwig/Particles',
00133 'set mu-:Stable Stable',
00134 'set mu+:Stable Stable',
00135 'set Sigma-:Stable Stable',
00136 'set Sigmabar+:Stable Stable',
00137 'set Lambda0:Stable Stable',
00138 'set Lambdabar0:Stable Stable',
00139 'set Sigma+:Stable Stable',
00140 'set Sigmabar-:Stable Stable',
00141 'set Xi-:Stable Stable',
00142 'set Xibar+:Stable Stable',
00143 'set Xi0:Stable Stable',
00144 'set Xibar0:Stable Stable',
00145 'set Omega-:Stable Stable',
00146 'set Omegabar+:Stable Stable',
00147 'set pi+:Stable Stable',
00148 'set pi-:Stable Stable',
00149 'set K+:Stable Stable',
00150 'set K-:Stable Stable',
00151 'set K_S0:Stable Stable',
00152 'set K_L0:Stable Stable',
00153 'cd /',
00154 ),
00155
00156
00157 lheDefaults = cms.vstring(
00158 'cd /Herwig/Cuts',
00159 'create ThePEG::Cuts NoCuts',
00160 'cd /Herwig/EventHandlers',
00161 'create ThePEG::LesHouchesInterface LHEReader',
00162 'set LHEReader:Cuts /Herwig/Cuts/NoCuts',
00163 'create ThePEG::LesHouchesEventHandler LHEHandler',
00164 'set LHEHandler:WeightOption VarWeight',
00165 'set LHEHandler:PartonExtractor /Herwig/Partons/QCDExtractor',
00166 'set LHEHandler:CascadeHandler /Herwig/Shower/ShowerHandler',
00167 'set LHEHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler',
00168 'set LHEHandler:DecayHandler /Herwig/Decays/DecayHandler',
00169 'insert LHEHandler:LesHouchesReaders 0 LHEReader',
00170 'cd /Herwig/Generators',
00171 'set LHCGenerator:EventHandler /Herwig/EventHandlers/LHEHandler',
00172 'cd /Herwig/Shower',
00173 'set Evolver:HardVetoScaleSource Read',
00174 'set Evolver:MECorrMode No',
00175 'cd /',
00176 ),
00177 lheDefaultPDFs = cms.vstring(
00178 'cd /Herwig/EventHandlers',
00179 'set LHEReader:PDFA /cmsPDFSet',
00180 'set LHEReader:PDFB /cmsPDFSet',
00181 'cd /',
00182 ),
00183
00184
00185 powhegDefaults = cms.vstring(
00186
00187 'cp /Herwig/Partons/MRST-NLO /cmsPDFSet',
00188 'set /Herwig/Particles/p+:PDF /Herwig/Partons/MRST-NLO',
00189 'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/MRST-NLO',
00190
00191 'create Herwig::O2AlphaS O2AlphaS',
00192 'set /Herwig/Generators/LHCGenerator:StandardModelParameters:QCD/RunningAlphaS O2AlphaS',
00193
00194 'cd /Herwig/Shower',
00195
00196 'set KinematicsReconstructor:ReconstructionOption General',
00197
00198 'create Herwig::PowhegEvolver PowhegEvolver HwPowhegShower.so',
00199 'set ShowerHandler:Evolver PowhegEvolver',
00200 'set PowhegEvolver:ShowerModel ShowerModel',
00201 'set PowhegEvolver:SplittingGenerator SplittingGenerator',
00202 'set PowhegEvolver:MECorrMode 0',
00203
00204 'create Herwig::DrellYanHardGenerator DrellYanHardGenerator',
00205 'set DrellYanHardGenerator:ShowerAlpha AlphaQCD',
00206 'insert PowhegEvolver:HardGenerator 0 DrellYanHardGenerator',
00207
00208 'create Herwig::GGtoHHardGenerator GGtoHHardGenerator',
00209 'set GGtoHHardGenerator:ShowerAlpha AlphaQCD',
00210 'insert PowhegEvolver:HardGenerator 0 GGtoHHardGenerator',
00211 )
00212 )