Import Geant4 10.1.0 source tree
This commit is contained in:
@@ -49,8 +49,12 @@
|
||||
* and ions tracking */
|
||||
#include <QGSP_BIC_EMY.hh>
|
||||
#else
|
||||
/* standard reference physics list */
|
||||
#ifdef CEXMC_USE_QGSP_BERT
|
||||
#include <QGSP_BERT.hh>
|
||||
#else
|
||||
/* standard reference physics list */
|
||||
#include <FTFP_BERT.hh>
|
||||
#endif
|
||||
#endif
|
||||
#include <G4PionMinus.hh>
|
||||
#include "CexmcProductionModelFactory.hh"
|
||||
@@ -61,7 +65,11 @@
|
||||
#ifdef CEXMC_USE_QGSP_BIC_EMY
|
||||
typedef QGSP_BIC_EMY CexmcBasePhysics;
|
||||
#else
|
||||
#ifdef CEXMC_USE_QGSP_BERT
|
||||
typedef QGSP_BERT CexmcBasePhysics;
|
||||
#else
|
||||
typedef FTFP_BERT CexmcBasePhysics;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef CexmcProductionModelFactory< CexmcBasePhysics,
|
||||
|
||||
@@ -83,7 +83,8 @@ enum CexmcBasePhysicsUsed
|
||||
{
|
||||
CexmcNoBasePhysics,
|
||||
Cexmc_QGSP_BERT,
|
||||
Cexmc_QGSP_BIC_EMY
|
||||
Cexmc_QGSP_BIC_EMY,
|
||||
Cexmc_FTFP_BERT
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -45,9 +45,8 @@
|
||||
#define CEXMC_ENERGY_DEPOSIT_DIGITIZER_HH
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
#include <CLHEP/Units/SystemOfUnits.h>
|
||||
#include <G4VDigitizerModule.hh>
|
||||
#include <G4SystemOfUnits.hh>
|
||||
#include "CexmcEnergyDepositStore.hh"
|
||||
#include "CexmcSimpleRangeWithValue.hh"
|
||||
#include "CexmcException.hh"
|
||||
@@ -480,7 +479,7 @@ inline void CexmcEnergyDepositDigitizer::AddCrystalResolutionRange(
|
||||
|
||||
/* range boundaries are given in GeV */
|
||||
crystalResolutionData.push_back( CexmcEnergyRangeWithDoubleValue(
|
||||
bottom * CLHEP::GeV, top * CLHEP::GeV, value ) );
|
||||
bottom * GeV, top * GeV, value ) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -66,11 +66,19 @@ namespace CexmcPrivate
|
||||
static const CexmcBasePhysicsUsed value = Cexmc_QGSP_BIC_EMY;
|
||||
};
|
||||
#else
|
||||
#ifdef CEXMC_USE_QGSP_BERT
|
||||
template <>
|
||||
struct CexmcBasePhysicsInstance< QGSP_BERT >
|
||||
{
|
||||
static const CexmcBasePhysicsUsed value = Cexmc_QGSP_BERT;
|
||||
};
|
||||
#else
|
||||
template <>
|
||||
struct CexmcBasePhysicsInstance< FTFP_BERT >
|
||||
{
|
||||
static const CexmcBasePhysicsUsed value = Cexmc_FTFP_BERT;
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user