Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
$Id: History 110268 2018-05-17 14:35:43Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,16 +17,21 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
12 February 18: V.Ivanchenko (xrays-V10-03-01)
|
||||
17 May 18: J. Madsen (xrays-V10-04-03)
|
||||
- updated "thread-local-static-var" model to
|
||||
"function-returning-thread-local-static-reference" model
|
||||
which fixes Windows DLL + MT
|
||||
|
||||
12 February 18: V.Ivanchenko (xrays-V10-04-02)
|
||||
- G4VTransitionRadiation, G4TransitionRadiation, G4SynchrotronRadiationInMat,
|
||||
G4Scintillation, G4ForwardXrayTR, G4Cerenkov - moved static and virtual
|
||||
methods from inline to the source, removed extra empty and commented lines
|
||||
|
||||
26 January 18: V.Ivanchenko
|
||||
26 January 18: V.Ivanchenko (xrays-V10-04-01)
|
||||
- G4VXTRenergyLoss - V.Grichine exteded XTR angle limit up to 250/gamma
|
||||
(ATLAS requirements)
|
||||
|
||||
21 December 17: G.Cosmo
|
||||
21 December 17: G.Cosmo (xrays-V10-04-00)
|
||||
- Fixed self-consistency in G4VTRModel header (missing #include).
|
||||
Thanks to Raphael Isemann for reporting this.
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Cerenkov.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4Cerenkov.hh 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ForwardXrayTR.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4ForwardXrayTR.hh 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// G4ForwardXrayTR
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Scintillation.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4Scintillation.hh 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -88,20 +88,20 @@ class G4ScintillationTrackInformation : public G4VUserTrackInformation
|
||||
class G4ScintillationTrackInformation;
|
||||
|
||||
#if defined G4EM_ALLOC_EXPORT
|
||||
extern G4DLLEXPORT G4ThreadLocal G4Allocator<G4ScintillationTrackInformation> *aScintillationTIAllocator;
|
||||
extern G4DLLEXPORT G4Allocator<G4ScintillationTrackInformation>*& aScintillationTIAllocator();
|
||||
#else
|
||||
extern G4DLLIMPORT G4ThreadLocal G4Allocator<G4ScintillationTrackInformation> *aScintillationTIAllocator;
|
||||
extern G4DLLIMPORT G4Allocator<G4ScintillationTrackInformation>*& aScintillationTIAllocator();
|
||||
#endif
|
||||
|
||||
inline void* G4ScintillationTrackInformation::operator new(size_t)
|
||||
{
|
||||
if (!aScintillationTIAllocator) aScintillationTIAllocator = new G4Allocator<G4ScintillationTrackInformation>;
|
||||
return (void *) aScintillationTIAllocator->MallocSingle();
|
||||
if (!aScintillationTIAllocator()) aScintillationTIAllocator() = new G4Allocator<G4ScintillationTrackInformation>;
|
||||
return (void *) aScintillationTIAllocator()->MallocSingle();
|
||||
}
|
||||
|
||||
inline void G4ScintillationTrackInformation::operator delete(void *aScintillationTI)
|
||||
{
|
||||
aScintillationTIAllocator->FreeSingle((G4ScintillationTrackInformation *) aScintillationTI);
|
||||
aScintillationTIAllocator()->FreeSingle((G4ScintillationTrackInformation *) aScintillationTI);
|
||||
}
|
||||
|
||||
#endif // G4SCINTILLATIONTRACKINFORMATION_H
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SynchrotronRadiationInMat.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4SynchrotronRadiationInMat.hh 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4TransitionRadiation.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4TransitionRadiation.hh 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// G4TransitionRadiation -- header file
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTRModel.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4VTRModel.hh 108093 2017-12-21 09:12:43Z gcosmo $
|
||||
//
|
||||
// G4VTRModel -- header file
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTransitionRadiation.hh 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4VTransitionRadiation.hh 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// G4VTransitionRadiation -- header file
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Cerenkov.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4Cerenkov.cc 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Cerenkov Radiation Class Implementation
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ForwardXrayTR.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4ForwardXrayTR.cc 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// G4ForwardXrayTR class -- implementation file
|
||||
//
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Scintillation.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4Scintillation.cc 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Scintillation Light Class Implementation
|
||||
|
||||
@@ -31,7 +31,13 @@
|
||||
|
||||
#include "G4ScintillationTrackInformation.hh"
|
||||
|
||||
G4ThreadLocal G4Allocator<G4ScintillationTrackInformation> *aScintillationTIAllocator = nullptr;
|
||||
G4Allocator<G4ScintillationTrackInformation>*& aScintillationTIAllocator()
|
||||
{
|
||||
G4ThreadLocalStatic G4Allocator<G4ScintillationTrackInformation>*
|
||||
_instance = nullptr;
|
||||
return _instance;
|
||||
}
|
||||
|
||||
const G4String G4ScintillationTrackInformation::BaseType = "G4ScintillationTrackInformation";
|
||||
|
||||
G4ScintillationTrackInformation::G4ScintillationTrackInformation(const G4ScintillationType& aType)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SynchrotronRadiationInMat.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4SynchrotronRadiationInMat.cc 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4TransitionRadiation.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4TransitionRadiation.cc 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// G4TransitionRadiation class -- implementation file
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VTransitionRadiation.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4VTransitionRadiation.cc 108423 2018-02-13 11:18:13Z gcosmo $
|
||||
//
|
||||
// G4VTransitionRadiation class -- implementation file
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VXTRenergyLoss.cc 108508 2018-02-15 15:54:35Z gcosmo $
|
||||
// $Id: G4VXTRenergyLoss.cc 108258 2018-01-26 13:49:05Z gcosmo $
|
||||
//
|
||||
// History:
|
||||
// 2001-2002 R&D by V.Grichine
|
||||
|
||||
Reference in New Issue
Block a user