Skip to content

Commit

Permalink
moving remaining changes from JETSCAPE 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
latessa committed Oct 19, 2023
1 parent 003dd24 commit 6ec2109
Show file tree
Hide file tree
Showing 3 changed files with 7,101 additions and 6,124 deletions.
7 changes: 3 additions & 4 deletions src/afterburner/SmashWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
#include <math.h>
#include <string>

#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <filesystem>

using namespace Jetscape;

Expand All @@ -38,7 +37,7 @@ SmashWrapper::SmashWrapper() {

void SmashWrapper::InitTask() {
JSINFO << "SMASH: picking SMASH-specific configuration from xml file";
std::string smash_config =
std::string smash_config_file =
GetXMLElementText({"Afterburner", "SMASH", "SMASH_config_file"});
std::string smash_hadron_list =
GetXMLElementText({"Afterburner", "SMASH", "SMASH_particles_file"});
Expand Down Expand Up @@ -183,7 +182,7 @@ void SmashWrapper::FinishPerEvent() {
modus->jetscape_hadrons_[ev_no - 1]);
JSINFO << modus->jetscape_hadrons_[ev_no - 1].size()
<< " hadrons from SMASH.";
smash_experiment_->increase_event_no(); // internal SMASH event counter
smash_experiment_->increase_event_number(); // internal SMASH event counter
}

void SmashWrapper::WriteTask(weak_ptr<JetScapeWriter> w) {
Expand Down
Loading

0 comments on commit 6ec2109

Please sign in to comment.