Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion FastSimulation/ParticleDecay/plugins/TestPythiaDecays.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
#include "TFile.h"
#include "TLorentzVector.h"

#if PYTHIA_VERSION_INTEGER < 8304
typedef Pythia8::ParticleDataEntry* ParticleDataEntryPtr;
#else
typedef Pythia8::ParticleDataEntryPtr ParticleDataEntryPtr;
#endif
//
// class declaration
//
Expand Down Expand Up @@ -119,7 +124,7 @@ TestPythiaDecays::TestPythiaDecays(const edm::ParameterSet& iConfig) {
std::cout << "ERROR: BAD PARTICLE, pythia is not aware of pid " << pid << std::endl;
std::exit(1);
}
Pythia8::ParticleDataEntry* pd = pdt.particleDataEntryPtr(pid);
ParticleDataEntryPtr pd = pdt.particleDataEntryPtr(pid);

// mass histograms
double m0 = pd->m0();
Expand Down