Import Geant4 10.4.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2017-06-30 10:49:55 +02:00
parent 3a5407696b
commit 1a1316fea4
2180 changed files with 237880 additions and 59109 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
$Id: History 101916 2016-12-08 08:04:03Z gcosmo $
$Id: History 104522 2017-06-02 07:19:30Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,16 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
June 1, 2017 A.Dotti (event-V10-03-02)
- Fixing gcc-7.1 warnings for fallthroughs in case statements
G4EventManager and G4StackingManager
May 3, 2017 J.Allison (event-V10-03-01)
- Added more access functions for use by G4GPSModel for visualisation.
April 30, 2017 J.Allison (event-V10-03-00)
- G4SPSPosDistribution.hh: Added GetRotx,y,z access functions.
December 7, 2016 M.Asai (event-V10-02-09)
- Set polarization to pre-assigned decay products. Addressing to
bug report #1914.
@@ -38,6 +38,9 @@
// CHANGE HISTORY
// --------------
//
// 30/04/2017 J Allison
// Added GetRotx,y,z access functions.
//
// 06/06/2014 A Dotti
// For thread safety: this is a shared object,
// mutex has been added to control access to shared resources (data members).
@@ -202,6 +205,13 @@ public:
G4double GetHalfY() const;
G4double GetHalfZ() const;
G4double GetRadius() const;
G4double GetRadius0() const {return Radius0;}
G4double GetParAlpha() const {return ParAlpha;}
G4double GetParTheta() const {return ParTheta;}
G4double GetParPhi() const {return ParPhi;}
const G4ThreeVector& GetRotx() const {return Rotx;}
const G4ThreeVector& GetRoty() const {return Roty;}
const G4ThreeVector& GetRotz() const {return Rotz;}
G4ThreeVector GetSideRefVec1() const;
G4ThreeVector GetSideRefVec2() const;
+6 -3
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4EventManager.cc 94950 2016-01-07 11:53:14Z gcosmo $
// $Id: G4EventManager.cc 104522 2017-06-02 07:19:30Z gcosmo $
//
//
//
@@ -48,6 +48,7 @@ G4EventManager* G4EventManager::GetEventManager()
G4EventManager::G4EventManager()
:currentEvent(nullptr),trajectoryContainer(nullptr),
trackIDCounter(0),
verboseLevel(0),tracking(false),abortRequested(false),
storetRandomNumberStatusToG4Event(false)
{
@@ -233,8 +234,10 @@ void G4EventManager::DoProcessing(G4Event* anEvent)
break;
case fAlive:
G4cout << "Illeagal TrackStatus returned from G4TrackingManager!"
<< G4endl;
G4Exception("G4EventManager::DoProcessing","Event004",JustWarning,
"Illegal trackstatus returned from G4TrackingManager. Continue with"\
"simulation.");
break;
case fKillTrackAndSecondaries:
//if( secondaries ) secondaries->clearAndDestroy();
if( secondaries )
+5 -3
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4StackingMessenger.cc 66892 2013-01-17 10:57:59Z gunter $
// $Id: G4StackingMessenger.cc 104522 2017-06-02 07:19:30Z gcosmo $
//
// --------------------------------------------------------------------
@@ -89,9 +89,11 @@ void G4StackingMessenger::SetNewValue(G4UIcommand * command,G4String newValues)
switch (vc)
{
case 2:
fContainer->ClearPostponeStack();
fContainer->ClearPostponeStack(); // fallthrough
/* no break */
case 1:
fContainer->ClearUrgentStack();
fContainer->ClearUrgentStack(); // fallthrough
/* no break */
case 0:
fContainer->ClearWaitingStack();
break;