Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtLb2Baryonlnu.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 | ||||
EvtLb2Baryonlnu::EvtLb2Baryonlnu() : ffmodel( 0 ), calcamp( 0 ) | EvtLb2Baryonlnu::EvtLb2Baryonlnu() : ffmodel( nullptr ), calcamp( nullptr ) | ||||
{ | { | ||||
} | } | ||||
EvtLb2Baryonlnu::~EvtLb2Baryonlnu() | EvtLb2Baryonlnu::~EvtLb2Baryonlnu() | ||||
{ | { | ||||
delete ffmodel; | delete ffmodel; | ||||
ffmodel = 0; | ffmodel = nullptr; | ||||
delete calcamp; | delete calcamp; | ||||
calcamp = 0; | calcamp = nullptr; | ||||
} | } | ||||
std::string EvtLb2Baryonlnu::getName() | std::string EvtLb2Baryonlnu::getName() | ||||
{ | { | ||||
return "Lb2Baryonlnu"; | return "Lb2Baryonlnu"; | ||||
} | } | ||||
EvtDecayBase* EvtLb2Baryonlnu::clone() | EvtDecayBase* EvtLb2Baryonlnu::clone() | ||||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |