![]() |
|
|||
File indexing completed on 2025-09-17 08:53:37
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/ext/detail/OpticalPhysics.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include <G4VPhysicsConstructor.hh> 0010 0011 #include "../GeantOpticalPhysicsOptions.hh" 0012 0013 namespace celeritas 0014 { 0015 namespace detail 0016 { 0017 //---------------------------------------------------------------------------// 0018 /*! 0019 * Construct Celeritas-supported Optical physics. 0020 */ 0021 class OpticalPhysics : public G4VPhysicsConstructor 0022 { 0023 public: 0024 //!@{ 0025 //! \name Type aliases 0026 using Options = GeantOpticalPhysicsOptions; 0027 //!@} 0028 0029 public: 0030 // Set up during construction 0031 explicit OpticalPhysics(Options const& options); 0032 0033 // Set up minimal EM particle list 0034 void ConstructParticle() override; 0035 // Set up process list 0036 void ConstructProcess() override; 0037 0038 private: 0039 Options options_; 0040 }; 0041 0042 //---------------------------------------------------------------------------// 0043 } // namespace detail 0044 } // namespace celeritas
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |