Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:09:55

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2018 CERN for the benefit of the Acts project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 namespace Fatras {
0012 
0013 /// The struct for the physics list
0014 ///
0015 struct ParametricNuclearInt {
0016 
0017   /// Call operator
0018   ///
0019   /// @tparam generator_t is a random number generator type
0020   /// @tparam detector_t is the detector information type
0021   /// @tparam particle_t is the particle information type
0022   ///
0023   /// @param[in] generator is the random number generator
0024   /// @param[in] detector the detector information
0025   /// @param[in] particle the particle which is being scattered
0026   ///
0027   /// @return eventually produced photons
0028   template <typename generator_t, typename detector_t, typename particle_t>
0029   std::vector<particle_t> operator()(generator_t &generator,
0030                                      const detector_t &detector,
0031                                      particle_t &particle) const {
0032 
0033     // todo return photons
0034     return {};
0035   }
0036 };
0037 
0038 } // namespace Fatras