Import Geant4 10.6.0.beta source tree
This commit is contained in:
@@ -27,23 +27,18 @@
|
||||
#include "G4VDNAReactionModel.hh"
|
||||
|
||||
G4VDNAReactionModel::G4VDNAReactionModel()
|
||||
: fpReactionTable(nullptr)
|
||||
{
|
||||
fReactionTable = 0;
|
||||
}
|
||||
|
||||
G4VDNAReactionModel::G4VDNAReactionModel(const G4VDNAReactionModel& right)
|
||||
G4VDNAReactionModel::~G4VDNAReactionModel() = default;
|
||||
|
||||
void G4VDNAReactionModel::SetReactionTable(const G4DNAMolecularReactionTable* pReactionTable)
|
||||
{
|
||||
fReactionTable = right.fReactionTable;
|
||||
fpReactionTable = pReactionTable;
|
||||
}
|
||||
|
||||
G4VDNAReactionModel::~G4VDNAReactionModel()
|
||||
const G4DNAMolecularReactionTable* G4VDNAReactionModel::GetReactionTable()
|
||||
{
|
||||
fReactionTable = 0;
|
||||
}
|
||||
|
||||
G4VDNAReactionModel& G4VDNAReactionModel::operator=(const G4VDNAReactionModel& right)
|
||||
{
|
||||
if (this == &right) return *this;
|
||||
fReactionTable = right.fReactionTable;
|
||||
return *this;
|
||||
return fpReactionTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user