Skip to content
Snippets Groups Projects
Commit e727c814 authored by Dmitri Konstantinov's avatar Dmitri Konstantinov
Browse files

Add herwig3-7.2.3p2.patch from master

parent e0cfc82a
No related branches found
No related tags found
1 merge request!2621SPI-2690: LCG_105c_LHCB_8
--- src/defaults/decayers.in.in.orig 2022-05-05 21:25:32.199240396 +0200
+++ src/defaults/decayers.in.in 2022-05-05 21:26:17.782163779 +0200
@@ -24505,4 +24505,4 @@
newdef RadiativeHyperon:Points 10000
newdef RadiativeHyperon:GenerateIntermediates 0
-read EvtGenDecayer.in
+@LOAD_EVTGEN_DECAYER@
--- MatrixElement/Hadron/MEDiffraction.cc.orig 2023-04-24 09:48:23.105931153 +0200
+++ MatrixElement/Hadron/MEDiffraction.cc 2023-04-24 09:51:16.124964250 +0200
@@ -829,16 +829,19 @@
DescribeClass<MEDiffraction,HwMEBase>
describeHerwigMEDiffraction("Herwig::MEDiffraction", "HwMEHadron.so");
+// Apply patch reqested by ATLAS in SPI-2332 and taken from:
+// https://phab.hepforge.org/rHERWIGHGa43dab86f2a5f4e956eda9b2bad451d6ed664460
+
void MEDiffraction::persistentOutput(PersistentOStream & os) const {
os << theme2 << deltaOnly << diffDirection << theprotonPomeronSlope
<< thesoftPomeronIntercept << thesoftPomeronSlope << dissociationDecay
- << ounit(theProtonMass,GeV) << MPIHandler_;
+ << ounit(theProtonMass,GeV) << MPIHandler_ << singleDiffractionOnly;
}
void MEDiffraction::persistentInput(PersistentIStream & is, int) {
is >> theme2 >> deltaOnly >> diffDirection >> theprotonPomeronSlope
>> thesoftPomeronIntercept >> thesoftPomeronSlope >> dissociationDecay
- >> iunit(theProtonMass,GeV)>> MPIHandler_;
+ >> iunit(theProtonMass,GeV)>> MPIHandler_ << singleDiffractionOnly;
}
InvEnergy2 MEDiffraction::protonPomeronSlope() const{
--- MatrixElement/Matchbox/Matching/ShowerApproximation.h.orig 2023-06-02 16:43:47.462555108 +0200
+++ MatrixElement/Matchbox/Matching/ShowerApproximation.h 2023-06-02 16:44:56.368269080 +0200
@@ -144,7 +144,7 @@
/**
* Return true, if this matching is capable of spin correlations.
*/
- virtual bool hasSpinCorrelations() const { return false; }
+ virtual bool hasSpinCorrelations() const { return true; }
public:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment