Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4Cerenkov.hh 97385 2016-06-02 09:59:53Z gcosmo $
// $Id: G4Cerenkov.hh 98002 2016-06-30 13:03:36Z gcosmo $
//
//
////////////////////////////////////////////////////////////////////////
@@ -175,6 +175,15 @@ public:
// Returns the maximum number of Cerenkov photons allowed to be
// generated during a tracking step.
void SetStackPhotons(const G4bool );
// Call by the user to set the flag for stacking the scint. photons
G4bool GetStackPhotons() const;
// Return the boolean for whether or not the scint. photons are stacked
G4int GetNumPhotons() const;
// Returns the current number of scint. photons (after PostStepDoIt)
G4PhysicsTable* GetPhysicsTable() const;
// Returns the address of the physics table.
@@ -210,6 +219,10 @@ private:
G4bool fTrackSecondariesFirst;
G4double fMaxBetaChange;
G4int fMaxPhotons;
G4bool fStackingFlag;
G4int fNumPhotons;
};
////////////////////
@@ -234,6 +247,24 @@ G4int G4Cerenkov::GetMaxNumPhotonsPerStep() const
return fMaxPhotons;
}
inline
void G4Cerenkov::SetStackPhotons(const G4bool stackingFlag)
{
fStackingFlag = stackingFlag;
}
inline
G4bool G4Cerenkov::GetStackPhotons() const
{
return fStackingFlag;
}
inline
G4int G4Cerenkov::GetNumPhotons() const
{
return fNumPhotons;
}
inline
void G4Cerenkov::DumpPhysicsTable() const
{
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4Scintillation.hh 97385 2016-06-02 09:59:53Z gcosmo $
// $Id: G4Scintillation.hh 98002 2016-06-30 13:03:36Z gcosmo $
//
//
////////////////////////////////////////////////////////////////////////
@@ -216,6 +216,15 @@ public:
// Return the boolean for whether or not the
// G4ScintillationTrackInformation is set to the scint. photon track
void SetStackPhotons(const G4bool );
// Call by the user to set the flag for stacking the scint. photons
G4bool GetStackPhotons() const;
// Return the boolean for whether or not the scint. photons are stacked
G4int GetNumPhotons() const;
// Returns the current number of scint. photons (after PostStepDoIt)
void DumpPhysicsTable() const;
// Prints the fast and slow scintillation integral tables.
@@ -245,6 +254,10 @@ private:
G4bool fScintillationTrackInfo;
G4bool fStackingFlag;
G4int fNumPhotons;
#ifdef G4DEBUG_SCINTILLATION
G4double ScintTrackEDep, ScintTrackYield;
#endif
@@ -368,6 +381,24 @@ G4bool G4Scintillation::GetScintillationTrackInfo() const
return fScintillationTrackInfo;
}
inline
void G4Scintillation::SetStackPhotons(const G4bool stackingFlag)
{
fStackingFlag = stackingFlag;
}
inline
G4bool G4Scintillation::GetStackPhotons() const
{
return fStackingFlag;
}
inline
G4int G4Scintillation::GetNumPhotons() const
{
return fNumPhotons;
}
inline
void G4Scintillation::DumpPhysicsTable() const
{