Skip to content

Commit 97bbaa8

Browse files
authored
Merge pull request #20 from JETSCAPE/XSCAPE-1.1.2-RC
Xscape 1.1.2 rc
2 parents 95602c3 + 4dd1dbc commit 97bbaa8

24 files changed

+76
-53
lines changed

.github/workflows/plot_observables.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
- XSCAPE-RC2
8-
- XSCAPE-1.0-for-public-repo
7+
- XSCAPE-1.1.2-RC
98

109
env:
1110
PULL_NUMBER: ${{ github.event.number }}

.github/workflows/smash_test_completes.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.1-RC
8-
- XSCAPE-1.1-RC_mergeMUSIC
7+
- XSCAPE-1.1.2-RC
98

109
push:
1110
branches:
1211
- main
13-
- XSCAPE-1.1.1-RC
14-
- XSCAPE-1.1-RC_mergeMUSIC
12+
- XSCAPE-1.1.2-RC
1513

1614
env:
1715
REPO_NAME: ${{ github.event.repository.name }}

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.1-RC
8-
- XSCAPE-1.1-RC_mergeMUSIC
7+
- XSCAPE-1.1.2-RC
98

109
push:
1110
branches:
1211
- main
13-
- XSCAPE-1.1.1-RC
14-
- XSCAPE-1.1-RC_mergeMUSIC
12+
- XSCAPE-1.1.2-RC
1513

1614
env:
1715
REPO_NAME: ${{ github.event.repository.name }}

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.1-RC
8-
- XSCAPE-1.1-RC_mergeMUSIC
7+
- XSCAPE-1.1.2-RC
98

109
push:
1110
branches:
1211
- main
13-
- XSCAPE-1.1.1-RC
14-
- XSCAPE-1.1-RC_mergeMUSIC
12+
- XSCAPE-1.1.2-RC
1513

1614
env:
1715
REPO_NAME: ${{ github.event.repository.name }}

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ on:
66
pull_request:
77
branches:
88
- main
9-
- XSCAPE-1.1.1-RC
10-
- XSCAPE-1.1-RC_mergeMUSIC
9+
- XSCAPE-1.1.2-RC
1110

1211
push:
1312
branches:
1413
- main
15-
- XSCAPE-1.1.1-RC
16-
- XSCAPE-1.1-RC_mergeMUSIC
14+
- XSCAPE-1.1.2-RC
1715

1816
env:
1917
REPO_NAME: ${{ github.event.repository.name }}

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.1-RC
8-
- XSCAPE-1.1-RC_mergeMUSIC
7+
- XSCAPE-1.1.2-RC
98

109
push:
1110
branches:
1211
- main
13-
- XSCAPE-1.1.1-RC
14-
- XSCAPE-1.1-RC_mergeMUSIC
12+
- XSCAPE-1.1.2-RC
1513

1614
env:
1715
REPO_NAME: ${{ github.event.repository.name }}

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.1-RC
8-
- XSCAPE-1.1-RC_mergeMUSIC
7+
- XSCAPE-1.1.2-RC
98

109
push:
1110
branches:
1211
- main
13-
- XSCAPE-1.1.1-RC
14-
- XSCAPE-1.1-RC_mergeMUSIC
12+
- XSCAPE-1.1.2-RC
1513

1614
env:
1715
REPO_NAME: ${{ github.event.repository.name }}
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: build+regression test brick matter lbt
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- XSCAPE-1.1.2-RC
8+
- brick_matter_lbt
9+
10+
push:
11+
branches:
12+
- main
13+
- XSCAPE-1.1.2-RC
14+
- brick_matter_lbt
15+
16+
env:
17+
REPO_NAME: ${{ github.event.repository.name }}
18+
19+
jobs:
20+
build:
21+
name: brick_matter_lbt
22+
runs-on: ubuntu-latest
23+
24+
container:
25+
image: jetscape/base:stable
26+
options: --user root
27+
28+
steps:
29+
30+
- name: Checkout Repository
31+
uses: actions/checkout@v4
32+
with:
33+
path: ${{ github.event.repository.name }}
34+
35+
- name: Download Lbt Tables
36+
run: |
37+
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages
38+
./get_lbtTab.sh
39+
40+
- name: Build Application
41+
run: |
42+
cd ${GITHUB_WORKSPACE}/${REPO_NAME}
43+
mkdir build
44+
cd build
45+
cmake ..
46+
make -j2
47+
48+
- name: Checkout TEST-EXAMPLES
49+
uses: actions/checkout@v4
50+
with:
51+
repository: JETSCAPE/TEST-EXAMPLES
52+
ref: main
53+
path: TEST-EXAMPLES
54+
55+
- name: Run Brick Matter Lbt tests
56+
run: ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/runBrickMatterLbtTest.sh -j ${GITHUB_WORKSPACE}/${REPO_NAME} -a ${GITHUB_WORKSPACE}/TEST-EXAMPLES -c ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/config/jetscape_user.xml -o ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/output/new -r ${GITHUB_WORKSPACE}/TEST-EXAMPLES/test/brick_matter_lbt/output/latest

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- XSCAPE-1.1.1-RC
8-
- XSCAPE-1.1-RC_mergeMUSIC
7+
- XSCAPE-1.1.2-RC
98

109
push:
1110
branches:
1211
- main
13-
- XSCAPE-1.1.1-RC
14-
- XSCAPE-1.1-RC_mergeMUSIC
12+
- XSCAPE-1.1.2-RC
1513

1614
env:
1715
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.1
1+
# X-SCAPE 1.1.2
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.

config/jetscape_main.xml

-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@
145145
<tStart> 0.6 </tStart> <!-- Start time of jet quenching, proper time, fm/c -->
146146
<mutex>ON</mutex>
147147
<AddLiquefier> false </AddLiquefier>
148-
<lambdaQCD>0.2</lambdaQCD> <!-- 0.4 is the value chosen in JETSET -->
149148

150149
<Matter>
151150
<name>Matter</name>

config/jetscape_user_pbpb_grid.xml

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868

6969
<Matter>
7070
<name>Matter</name>
71-
<useHybridHad>0</useHybridHad>
7271
<matter_on> 1 </matter_on>
7372
<Q0> 2.0 </Q0>
7473
<T0> 0.16 </T0>

src/framework/JetScapeConstants.h

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ static double Ca = 3.0;
3131

3232
static double Nc = 3.0;
3333

34+
static double Lambda_QCD = 0.2;
35+
// 0.4 is the value chosen in JETSET
36+
3437
static const double hbarC = 0.197327053;
3538

3639
static const double fmToGeVinv = 1.0 / hbarC;

src/hadronization/ColorlessHadronization.cc

-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ void ColorlessHadronization::InitTask() {
110110
JSINFO << "Also reading in: " << s;
111111
pythia.readString(s);
112112
}
113-
114-
Lambda_QCD = GetXMLElementDouble({"Eloss","lambdaQCD"});
115113

116114
// Initialize random number distribution
117115
ZeroOneDistribution = std::uniform_real_distribution<double> { 0.0, 1.0 };

src/hadronization/ColorlessHadronization.h

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class ColorlessHadronization
3737
private:
3838
double p_fake;
3939
bool take_recoil;
40-
double Lambda_QCD;
4140

4241
// Allows the registration of the module so that it is available to be used by the Jetscape framework.
4342
static RegisterJetScapeModule<ColorlessHadronization> reg;

src/hydro/Brick.cc

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ void Brick::InitializeHydro(Parameter parameter_list) {
8282

8383
void Brick::EvolveHydro() {
8484
VERBOSE(8);
85-
VERBOSE(3) << "size of sd = " << ini->GetEntropyDensityDistribution().size();
8685
hydro_status = FINISHED;
8786
}
8887

src/initialstate/epemGun.cc

-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ void epemGun::InitTask() {
140140
throw std::runtime_error("Pythia init() failed.");
141141
}
142142

143-
Lambda_QCD = GetXMLElementDouble({"Eloss","lambdaQCD"});
144-
145143
// Initialize random number distribution
146144
ZeroOneDistribution = uniform_real_distribution<double>{0.0, 1.0};
147145

src/initialstate/epemGun.h

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class epemGun : public HardProcess, public Pythia8::Pythia {
3131
//double pTHatMax;
3232
double eCM;
3333
//bool FSR_on;
34-
double Lambda_QCD;
3534

3635
// Allows the registration of the module so that it is available to be used by the Jetscape framework.
3736
static RegisterJetScapeModule<epemGun> reg;

src/jet/ISRRotation.cc

-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ void ISRRotation::AddRemenant(Parton &Out,int label){
471471
int NHardScatterings = ini->pTHat.size();
472472
double Pz = (Rem.pz() >=0 ? 1.0:-1.0);
473473

474-
Lambda_QCD = GetXMLElementDouble({"Eloss","lambdaQCD"});
475474
Rem.reset_momentum(0.25 * Lambda_QCD, 0.25 * Lambda_QCD,Pz,0.0);
476475
Rem.set_color(Out.anti_color());
477476
Rem.set_anti_color(Out.color());

src/jet/ISRRotation.h

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class ISRRotation : public JetEnergyLossModule<ISRRotation>
6262
std::array<double, 2> pT; double LatestPartonNewPz;
6363
double s0 = 0.2, sP0;
6464
double TotalMomentumFraction;
65-
double Lambda_QCD;
6665

6766
std::string Fpath = "ISR-PT.dat";
6867
std::ofstream *File;

src/jet/Matter.cc

-7
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ void Matter::InitTask() {
142142
hydro_Tc = GetXMLElementDouble({"Eloss", "Matter", "hydro_Tc"});
143143
brick_length = GetXMLElementDouble({"Eloss", "Matter", "brick_length"});
144144
vir_factor = GetXMLElementDouble({"Eloss", "Matter", "vir_factor"});
145-
Lambda_QCD = GetXMLElementDouble({"Eloss","lambdaQCD"});
146145

147146
if (vir_factor < 0.0) {
148147
cout << "Reminder: negative vir_factor is set, initial energy will be used "
@@ -1845,14 +1844,8 @@ void Matter::DoEnergyLoss(double deltaT, double time, double Q2,
18451844
VERBOSE(8) << BOLDYELLOW << " p after b & d, E = " << energy
18461845
<< " pz = " << pz << " px = " << px << " py = " << py;
18471846
}
1848-
else{
1849-
pOut.push_back(pIn[i]);
1850-
}
18511847
//pOut.push_back(pIn[i]);
18521848
}
1853-
else{
1854-
pOut.push_back(pIn[i]);
1855-
}
18561849
}
18571850

18581851
} // particle loop

src/jet/Matter.h

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ class Matter : public JetEnergyLossModule<Matter> //, public std::enable_shared_
107107
double initR0, initRx, initRy, initRz, initVx, initVy, initVz, initRdotV,
108108
initVdotV, initEner;
109109
double Q00, Q0, T0;
110-
double Lambda_QCD;
111110

112111
static const int dimQhatTab = 151;
113112
double qhatTab1D[dimQhatTab] = {0.0};

src/jet/iMATTER.cc

-1
Original file line numberDiff line numberDiff line change
@@ -1568,7 +1568,6 @@ double iMATTER::PDF(int pid, double z, double t){
15681568
double iMATTER::alpha_s(double q2) {
15691569
double a, L2, q24, c_nf;
15701570

1571-
Lambda_QCD = GetXMLElementDouble({"Eloss","lambdaQCD"});
15721571
L2 = std::pow(Lambda_QCD, 2);
15731572

15741573
q24 = q2 / 4.0;

src/jet/iMATTER.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ class iMATTER : public JetEnergyLossModule<iMATTER>
122122
int LabelOfTheShower, NPartonPerShower = 100000, MAX_COLOR;
123123
const double z_min_factor = 0.94; // this limits the parent momentum to be P_A/z_min_factor
124124
double TotalMomentumFraction, TotalMomentum;
125-
double Lambda_QCD;
126-
125+
127126
Parton Parent,Sibling,Current;
128127
int Current_Status = 1e8, Current_Label = -1;
129128
FourVector RotationVector;

0 commit comments

Comments
 (0)