Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Settings from $HERWIGPATH/LHE-MGMerging.in, including reading in the LHE file- do not use this together with Herwig7LHECommonSettings 
0004 # User needs to include the following lines in their user settings block:
0005 # 'set FxFxHandler:MergeMode TreeMG5' (for mlm merging) OR 'set FxFxHandler:MergeMode FxFx' (for FxFx merging)
0006 # 'set FxFxHandler:njetsmax  MAXIMUM_NUMBER_OF_PARTONS_IN_LHE_FILE'
0007 
0008 herwig7MGMergingSettingsBlock = cms.PSet(
0009     hw_mg_merging_settings = cms.vstring(
0010         'cd /Herwig/EventHandlers',
0011         'library HwFxFx.so',
0012         'create Herwig::FxFxEventHandler LesHouchesHandler',
0013         'set LesHouchesHandler:PartonExtractor /Herwig/Partons/PPExtractor',
0014         'set LesHouchesHandler:HadronizationHandler /Herwig/Hadronization/ClusterHadHandler',
0015         'set LesHouchesHandler:DecayHandler /Herwig/Decays/DecayHandler',
0016         'set LesHouchesHandler:WeightOption VarNegWeight',
0017         'set LesHouchesHandler:EventNumbering LHE',
0018         'set /Herwig/Generators/EventGenerator:EventHandler  /Herwig/EventHandlers/LesHouchesHandler',
0019         'create ThePEG::Cuts /Herwig/Cuts/NoCuts',
0020         'cd /Herwig/EventHandlers',
0021         'create Herwig::FxFxFileReader FxFxLHReader',
0022         'insert LesHouchesHandler:FxFxReaders[0] FxFxLHReader',
0023         'cd /Herwig/Shower',
0024         'library HwFxFxHandler.so',
0025         'create Herwig::FxFxHandler FxFxHandler',
0026         'set /Herwig/Shower/FxFxHandler:SplittingGenerator /Herwig/Shower/SplittingGenerator',
0027         'set /Herwig/Shower/FxFxHandler:KinematicsReconstructor /Herwig/Shower/KinematicsReconstructor',
0028         'set /Herwig/Shower/FxFxHandler:PartnerFinder /Herwig/Shower/PartnerFinder',
0029         'set /Herwig/EventHandlers/LesHouchesHandler:CascadeHandler /Herwig/Shower/FxFxHandler',
0030         'set /Herwig/Partons/PDFSet_nnlo:PDFName NNPDF31_nnlo_as_0118',
0031         'set /Herwig/Partons/RemnantDecayer:AllowTop Yes',
0032         'set /Herwig/Partons/PDFSet_nnlo:RemnantHandler /Herwig/Partons/HadronRemnants',
0033         'set /Herwig/Particles/p+:PDF /Herwig/Partons/PDFSet_nnlo',
0034         'set /Herwig/Particles/pbar-:PDF /Herwig/Partons/PDFSet_nnlo',
0035         'set /Herwig/Partons/PPExtractor:FirstPDF  /Herwig/Partons/PDFSet_nnlo',
0036         'set /Herwig/Partons/PPExtractor:SecondPDF /Herwig/Partons/PDFSet_nnlo',
0037         'set /Herwig/Shower/ShowerHandler:PDFA /Herwig/Partons/PDFSet_nnlo',
0038         'set /Herwig/Shower/ShowerHandler:PDFB /Herwig/Partons/PDFSet_nnlo',
0039         'set /Herwig/EventHandlers/FxFxLHReader:FileName cmsgrid_final.lhe',
0040         'set /Herwig/EventHandlers/FxFxLHReader:WeightWarnings false',
0041         'set /Herwig/EventHandlers/FxFxLHReader:AllowedToReOpen No',
0042         'set /Herwig/EventHandlers/FxFxLHReader:InitPDFs 0',
0043         'set /Herwig/EventHandlers/FxFxLHReader:Cuts /Herwig/Cuts/NoCuts',
0044         'set /Herwig/EventHandlers/FxFxLHReader:MomentumTreatment RescaleEnergy',
0045         'set /Herwig/EventHandlers/FxFxLHReader:PDFA /Herwig/Partons/PDFSet_nnlo',
0046         'set /Herwig/EventHandlers/FxFxLHReader:PDFB /Herwig/Partons/PDFSet_nnlo',
0047         'set /Herwig/Shower/ShowerHandler:MaxPtIsMuF Yes',
0048         'set /Herwig/Shower/ShowerHandler:RestrictPhasespace Yes',
0049         'set /Herwig/Shower/PartnerFinder:PartnerMethod Random',
0050         'set /Herwig/Shower/PartnerFinder:ScaleChoice Partner',
0051         'set /Herwig/Shower/KinematicsReconstructor:InitialInitialBoostOption LongTransBoost',
0052         'set /Herwig/Shower/KinematicsReconstructor:ReconstructionOption General',
0053         'set /Herwig/Shower/KinematicsReconstructor:InitialStateReconOption Rapidity',
0054         'set /Herwig/Shower/ShowerHandler:SpinCorrelations Yes',
0055         'cd /Herwig/Shower',
0056         'set /Herwig/Shower/FxFxHandler:MPIHandler  /Herwig/UnderlyingEvent/MPIHandler',
0057         'set /Herwig/Shower/FxFxHandler:RemDecayer  /Herwig/Partons/RemnantDecayer',
0058         'set /Herwig/Shower/FxFxHandler:ShowerAlpha  AlphaQCD',
0059         'set FxFxHandler:HeavyQVeto Yes',
0060         'set FxFxHandler:HardProcessDetection Automatic',
0061         'set FxFxHandler:drjmin 0',
0062         'cd /Herwig/Shower',
0063         'set FxFxHandler:VetoIsTurnedOff VetoingIsOn',
0064         'set FxFxHandler:ETClus 20*GeV', # Note this is the default, but this parameter should be tuned in future
0065         'set FxFxHandler:RClus 1.0',
0066         'set FxFxHandler:EtaClusMax 10',
0067         'set FxFxHandler:RClusFactor 1.5',
0068     )
0069 )