Import Geant4 9.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:25:56 +02:00
parent 74cad5e589
commit 89a9605df1
4440 changed files with 379508 additions and 189225 deletions
+17 -6
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VUserTrackInformation.cc,v 1.3 2009/10/19 09:37:00 kurasige Exp $
// GEANT4 tag $Name: geant4-09-03 $
// $Id: G4VUserTrackInformation.cc,v 1.4 2010/03/09 02:49:44 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04-beta-01 $
//
//
// --------------------------------------------------------------
@@ -33,12 +33,23 @@
#include "G4VUserTrackInformation.hh"
G4VUserTrackInformation::G4VUserTrackInformation()
: fType("NONE")
: pType(0)
{;}
G4VUserTrackInformation::G4VUserTrackInformation(const G4String& infoType)
: fType(infoType)
{;}
{
pType = new G4String(infoType) ;
}
G4VUserTrackInformation::~G4VUserTrackInformation()
{;}
{
if (pType!=0) delete pType;
}
const G4String& G4VUserTrackInformation::GetType() const
{
static const G4String NOTYPE="NONE";
if(pType!=0) return *pType;
else return NOTYPE;
}