Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
+19 -2
View File
@@ -24,8 +24,7 @@
// ********************************************************************
//
//
// $Id: G4VUserTrackInformation.cc,v 1.4 2010-03-09 02:49:44 kurasige Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
// $Id$
//
//
// --------------------------------------------------------------
@@ -46,6 +45,24 @@ G4VUserTrackInformation::~G4VUserTrackInformation()
if (pType!=0) delete pType;
}
G4VUserTrackInformation::G4VUserTrackInformation(const G4VUserTrackInformation& right)
:pType(0)
{
if (right.pType!=0) pType = new G4String(*(right.pType));
}
G4VUserTrackInformation& G4VUserTrackInformation::operator=(const G4VUserTrackInformation& right)
{
if (this != &right) {
if (pType !=0) delete pType;
if (right.pType) pType = new G4String(*(right.pType));
else pType=0;
}
return *this;
}
const G4String& G4VUserTrackInformation::GetType() const
{
static const G4String NOTYPE="NONE";