Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
bistapf committed Dec 19, 2024
1 parent 32d92d2 commit fb70453
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions standalone/src/DelphesPythia8Reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ class DelphesPythia8Reader : public DelphesInputReader {

// jet matching
#if PYTHIA_VERSION_INTEGER < 8300
Pythia8::CombineMatchingInput* combined = 0;
Pythia8::UserHooks* m_matching = 0;
Pythia8::CombineMatchingInput* combined = 0;
Pythia8::UserHooks* matching = 0;

m_matching = combined->getHook(*m_pythia);
if (!m_matching) {
matching = combined->getHook(*m_pythia);
if (!matching) {
throw std::runtime_error("can't do matching");
}
m_pythia->setUserHooksPtr(m_matching);
m_pythia->setUserHooksPtr(matching);
#else
Pythia8::CombineMatchingInput combined;
combined.setHook(*m_pythia);
Expand Down

0 comments on commit fb70453

Please sign in to comment.