Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenExternal/EvtPythia.cpp
Show All 33 Lines | |||||
#include <cmath> | #include <cmath> | ||||
#include <iostream> | #include <iostream> | ||||
EvtPythia::EvtPythia() | EvtPythia::EvtPythia() | ||||
{ | { | ||||
// Set the Pythia engine to a null pointer at first. | // Set the Pythia engine to a null pointer at first. | ||||
// When we do the decay, we retrieve the pointer to the Pythia engine | // When we do the decay, we retrieve the pointer to the Pythia engine | ||||
// and use that for all decays. All clones will use the same Pythia engine. | // and use that for all decays. All clones will use the same Pythia engine. | ||||
_pythiaEngine = 0; | _pythiaEngine = nullptr; | ||||
} | } | ||||
EvtPythia::~EvtPythia() | EvtPythia::~EvtPythia() | ||||
{ | { | ||||
_commandList.clear(); | _commandList.clear(); | ||||
} | } | ||||
std::string EvtPythia::getName() | std::string EvtPythia::getName() | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |