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