![]() |
|
|||
File indexing completed on 2025-02-22 10:31:20
0001 //----------------------------------*-C++-*----------------------------------// 0002 // Copyright 2020-2024 UT-Battelle, LLC, and other Celeritas developers. 0003 // See the top-level COPYRIGHT file for details. 0004 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0005 //---------------------------------------------------------------------------// 0006 //! \file celeritas/ext/detail/CelerOpticalPhysics.hh 0007 //---------------------------------------------------------------------------// 0008 #pragma once 0009 0010 #include <G4VPhysicsConstructor.hh> 0011 0012 #include "../GeantOpticalPhysicsOptions.hh" 0013 0014 namespace celeritas 0015 { 0016 namespace detail 0017 { 0018 //---------------------------------------------------------------------------// 0019 /*! 0020 * Construct Celeritas-supported Optical physics. 0021 */ 0022 class CelerOpticalPhysics : public G4VPhysicsConstructor 0023 { 0024 public: 0025 //!@{ 0026 //! \name Type aliases 0027 using Options = GeantOpticalPhysicsOptions; 0028 //!@} 0029 0030 public: 0031 // Set up during construction 0032 explicit CelerOpticalPhysics(Options const& options); 0033 0034 // Set up minimal EM particle list 0035 void ConstructParticle() override; 0036 // Set up process list 0037 void ConstructProcess() override; 0038 0039 private: 0040 Options options_; 0041 }; 0042 } // namespace detail 0043 } // 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 |
![]() ![]() |