Skip to content

Commit 057a6b4

Browse files
authored
Merge pull request #37 from JETSCAPE/XSCAPE-1.1.4-RC
Xscape 1.1.4 rc
2 parents ae88dc2 + 369570b commit 057a6b4

12 files changed

+27
-19
lines changed

.github/workflows/plot_observables.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
env:
1010
PULL_NUMBER: ${{ github.event.number }}

.github/workflows/smash_test_completes.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
push:
1010
branches:
1111
- main
12-
- XSCAPE-1.1.3-RC
12+
- XSCAPE-1.1.4-RC
1313

1414
env:
1515
REPO_NAME: ${{ github.event.repository.name }}

.github/workflows/test-build-external.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
push:
1010
branches:
1111
- main
12-
- XSCAPE-1.1.3-RC
12+
- XSCAPE-1.1.4-RC
1313

1414
env:
1515
REPO_NAME: ${{ github.event.repository.name }}

.github/workflows/test-events-PbPb.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
push:
1010
branches:
1111
- main
12-
- XSCAPE-1.1.3-RC
12+
- XSCAPE-1.1.4-RC
1313

1414
env:
1515
REPO_NAME: ${{ github.event.repository.name }}

.github/workflows/test-events-Pythia-Isr-Dat.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
pull_request:
77
branches:
88
- main
9-
- XSCAPE-1.1.3-RC
9+
- XSCAPE-1.1.4-RC
1010

1111
push:
1212
branches:
1313
- main
14-
- XSCAPE-1.1.3-RC
14+
- XSCAPE-1.1.4-RC
1515

1616
env:
1717
REPO_NAME: ${{ github.event.repository.name }}

.github/workflows/test-events-Pythia-Isr-Hadron.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
push:
1010
branches:
1111
- main
12-
- XSCAPE-1.1.3-RC
12+
- XSCAPE-1.1.4-RC
1313

1414
env:
1515
REPO_NAME: ${{ github.event.repository.name }}

.github/workflows/test-events-Pythia-Isr-Parton.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
push:
1010
branches:
1111
- main
12-
- XSCAPE-1.1.3-RC
12+
- XSCAPE-1.1.4-RC
1313

1414
env:
1515
REPO_NAME: ${{ github.event.repository.name }}

.github/workflows/test-events-brick.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88
- brick_matter_lbt
99

1010
push:
1111
branches:
1212
- main
13-
- XSCAPE-1.1.3-RC
13+
- XSCAPE-1.1.4-RC
1414
- brick_matter_lbt
1515

1616
env:

.github/workflows/test-events-pp.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.3-RC
7+
- XSCAPE-1.1.4-RC
88

99
push:
1010
branches:
1111
- main
12-
- XSCAPE-1.1.3-RC
12+
- XSCAPE-1.1.4-RC
1313

1414
env:
1515
REPO_NAME: ${{ github.event.repository.name }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# X-SCAPE 1.1.3
1+
# X-SCAPE 1.1.4
22

33
The X-ion collisions with a Statistically and Computationally Advanced Program Envelope (X-SCAPE) is the enhanced (and 2nd) project of the JETSCAPE
44
collaboration which extends the framework to include small systems created in p-A and p-p collisions, lower energy heavy-ion collisions and electron-Ion collisions.

src/afterburner/SmashWrapper.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ class AfterburnerModus : public smash::ListModus {
5959
double initial_conditions(smash::Particles *particles,
6060
const smash::ExperimentParameters &) {
6161
add_JS_hadrons_to_smash_particles(jetscape_hadrons_[event_number_], *particles);
62-
backpropagate_to_same_time(*particles);
62+
if (particles->size() > 0) {
63+
backpropagate_to_same_time(*particles);
64+
} else {
65+
start_time_ = 0.0;
66+
}
6367
event_number_++;
6468
return start_time_;
6569
}

src/hadronization/HybridHadronization.cc

+4
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,10 @@ void HybridHadronization::DoHadronization(vector<vector<shared_ptr<Parton>>>& sh
709709
} //do this only if there are negative partons, otherwise the baryon recombination would be switched off after the first event without negative partons
710710
}
711711
if(HH_shower.num() == 0){
712+
th_recofactor = tmp_threco;
713+
maxB_level = tmp_maxB_level;
714+
reco_hadrons_pythia = tmp_reco_hadrons_pythia;
715+
if(pythia_decays == "off"){pythia.readString("HadronLevel:Decay = off"); pythia.init();}
712716
continue;
713717
} //attempting to handle events/configurations with 0 partons will result in a crash
714718

0 commit comments

Comments
 (0)