Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtLb2plnuLQCD.cpp
Show All 31 Lines | |||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string> | #include <string> | ||||
using namespace std; | using namespace std; | ||||
#ifdef D0 | #ifdef D0 | ||||
#undef D0 | #undef D0 | ||||
#endif | #endif | ||||
EvtLb2plnuLQCD::EvtLb2plnuLQCD() : ffmodel( 0 ), calcamp( 0 ) | EvtLb2plnuLQCD::EvtLb2plnuLQCD() : ffmodel( nullptr ), calcamp( nullptr ) | ||||
{ | { | ||||
} | } | ||||
EvtLb2plnuLQCD::~EvtLb2plnuLQCD() | EvtLb2plnuLQCD::~EvtLb2plnuLQCD() | ||||
{ | { | ||||
delete ffmodel; | delete ffmodel; | ||||
ffmodel = 0; | ffmodel = nullptr; | ||||
delete calcamp; | delete calcamp; | ||||
calcamp = 0; | calcamp = nullptr; | ||||
} | } | ||||
std::string EvtLb2plnuLQCD::getName() | std::string EvtLb2plnuLQCD::getName() | ||||
{ | { | ||||
return "Lb2plnuLQCD"; | return "Lb2plnuLQCD"; | ||||
} | } | ||||
EvtDecayBase* EvtLb2plnuLQCD::clone() | EvtDecayBase* EvtLb2plnuLQCD::clone() | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |