Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-27 09:40:47

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 orange/Debug.hh
0006 //---------------------------------------------------------------------------//
0007 #pragma once
0008 
0009 #include <iosfwd>
0010 #include <string>
0011 
0012 namespace celeritas
0013 {
0014 class OrangeTrackView;
0015 
0016 //---------------------------------------------------------------------------//
0017 //! Print an ORANGE track view to a stream
0018 struct StreamableOrangeTrack
0019 {
0020     OrangeTrackView const& track;
0021 };
0022 
0023 // Write the track to a stream
0024 std::ostream& operator<<(std::ostream&, StreamableOrangeTrack const&);
0025 
0026 // Get a string JSON representation of an ORANGE track view
0027 std::string to_json_string(OrangeTrackView const&);
0028 
0029 //---------------------------------------------------------------------------//
0030 // Print to clog everything that can be printed about an ORANGE track view
0031 void debug_print(OrangeTrackView const&);
0032 
0033 //---------------------------------------------------------------------------//
0034 }  // namespace celeritas