Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-17 08:53:41

0001 //------------------------------- -*- C++ -*- -------------------------------//
0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details
0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT)
0004 //---------------------------------------------------------------------------//
0005 //! \file celeritas/io/RootCoreParamsOutput.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include "corecel/Config.hh"
0010 
0011 #include "corecel/Assert.hh"
0012 
0013 namespace celeritas
0014 {
0015 class ActionRegistry;
0016 class RootFileManager;
0017 struct GeantPhysicsOptions;
0018 
0019 //---------------------------------------------------------------------------//
0020 
0021 // Store actions to ROOT file
0022 void write_to_root(ActionRegistry const& actions,
0023                    RootFileManager* root_manager);
0024 
0025 //---------------------------------------------------------------------------//
0026 
0027 #if !CELERITAS_USE_ROOT
0028 inline void write_to_root(ActionRegistry const&, RootFileManager*)
0029 {
0030     CELER_NOT_CONFIGURED("ROOT");
0031 }
0032 #endif
0033 
0034 //---------------------------------------------------------------------------//
0035 }  // namespace celeritas