Commit 80341611 authored by Frank Gaede's avatar Frank Gaede
Browse files

add samplingStepInX0 config parameter

parent 970ae23c
......@@ -35,6 +35,8 @@ public:
bool useSamplingParameterisation = false ;//true ;
G4double samplingStepInX0 = 0.01 ; // default 0.1
/// size of the experimental hall (cube)
G4double hallSide = 1000.*cm ;
......
......@@ -257,6 +257,8 @@ void SimpleCaloDetectorConstruction::ConstructSDandField()
fFastShowerModel = new GFlashShowerModel("fFastShowerModel", fRegion);
fFastShowerModel->SetStepInX0( SimpleCaloConfig::get().samplingStepInX0 ) ;
if( SimpleCaloConfig::get().useSamplingParameterisation ){
fParameterisation = new GFlashSamplingShowerParameterisation( SimpleCaloConfig::get().absMat, SimpleCaloConfig::get().sensMat,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment