Skip to content

Commit

Permalink
Merge pull request #31 from JETSCAPE/cparker/reader-fix
Browse files Browse the repository at this point in the history
fixing reader
  • Loading branch information
latessa authored May 22, 2024
2 parents 39ef3ec + 694985d commit a920082
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/reader/JetScapeReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,28 +127,28 @@ template <class T> void JetScapeReader<T>::Next() {
if (line.find("sigmaGen") != std::string::npos) {
std::stringstream data(line);
std::string dummy;
data >> dummy >> dummy >> sigmaGen;
data >> dummy >> dummy >> dummy >> sigmaGen;
JSDEBUG << " sigma gen=" << sigmaGen;
}
// Cross section error
if (line.find("sigmaErr") != std::string::npos) {
std::stringstream data(line);
std::string dummy;
data >> dummy >> dummy >> sigmaErr;
data >> dummy >> dummy >> dummy >> sigmaErr;
JSDEBUG << " sigma err=" << sigmaErr;
}
// Event weight
if (line.find("weight") != std::string::npos) {
std::stringstream data(line);
std::string dummy;
data >> dummy >> dummy >> eventWeight;
data >> dummy >> dummy >> dummy >> eventWeight;
JSDEBUG << " Event weight=" << eventWeight;
}
// EP angle
if (line.find(EPAngleStr) != std::string::npos) {
std::stringstream data(line);
std::string dummy;
data >> dummy >> dummy >> EventPlaneAngle;
data >> dummy >> dummy >> dummy >> EventPlaneAngle;
JSDEBUG << " EventPlaneAngle=" << EventPlaneAngle;
}
continue;
Expand Down

0 comments on commit a920082

Please sign in to comment.