Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
+13 -12
View File
@@ -23,13 +23,13 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// G4TrajectoryPoint class implementation
//
//
// ---------------------------------------------------------------
//
// G4TrajectoryPoint.cc
//
// ---------------------------------------------------------------
// Contact:
// Questions and comments to this code should be sent to
// Katsuya Amako (e-mail: Katsuya.Amako@kek.jp)
// Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp)
// --------------------------------------------------------------------
#include "G4TrajectoryPoint.hh"
@@ -38,15 +38,15 @@
#include "G4AttValue.hh"
#include "G4UnitsTable.hh"
//#define G4ATTDEBUG
// #define G4ATTDEBUG
#ifdef G4ATTDEBUG
#include "G4AttCheck.hh"
#endif
G4Allocator<G4TrajectoryPoint>*& aTrajectoryPointAllocator()
{
G4ThreadLocalStatic G4Allocator<G4TrajectoryPoint>* _instance = nullptr;
return _instance;
G4ThreadLocalStatic G4Allocator<G4TrajectoryPoint>* _instance = nullptr;
return _instance;
}
G4TrajectoryPoint::G4TrajectoryPoint()
@@ -59,8 +59,8 @@ G4TrajectoryPoint::G4TrajectoryPoint(G4ThreeVector pos)
fPosition = pos;
}
G4TrajectoryPoint::G4TrajectoryPoint(const G4TrajectoryPoint &right)
: G4VTrajectoryPoint(),fPosition(right.fPosition)
G4TrajectoryPoint::G4TrajectoryPoint(const G4TrajectoryPoint& right)
: G4VTrajectoryPoint(),fPosition(right.fPosition)
{
}
@@ -73,7 +73,8 @@ const std::map<G4String,G4AttDef>* G4TrajectoryPoint::GetAttDefs() const
G4bool isNew;
std::map<G4String,G4AttDef>* store
= G4AttDefStore::GetInstance("G4TrajectoryPoint",isNew);
if (isNew) {
if (isNew)
{
G4String Pos("Pos");
(*store)[Pos] =
G4AttDef(Pos, "Position", "Physics","G4BestUnit","G4ThreeVector");