Commit 2bc0d4f2 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'p-v23-world-limits' into 'v2.3-stable'

[v2.3-stable] DepositionGeant4: set world limits to region instead of LV

See merge request allpix-squared/allpix-squared!831
parents 253895b8 245a6800
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ void DepositionGeant4Module::initialize() {
    if(world_log_volume != nullptr) {
        LOG(DEBUG) << "Setting world volume user limits to constrain event time to "
                   << Units::display(config_.get<double>("cutoff_time"), {"ns", "us", "ms", "s"});
        world_log_volume->SetUserLimits(user_limits_world_.get());
        world_log_volume->GetRegion()->SetUserLimits(user_limits_world_.get());
    }

    // Initialize the physics list