Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:07

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 // Based on the work of M. Terrissol and M. C. Bordage
0027 //
0028 // Users are requested to cite the following papers:
0029 // - M. Terrissol, A. Baudre, Radiat. Prot. Dosim. 31 (1990) 175-177
0030 // - M.C. Bordage, J. Bordes, S. Edel, M. Terrissol, X. Franceries,
0031 //   M. Bardies, N. Lampe, S. Incerti, Phys. Med. 32 (2016) 1833-1840
0032 //
0033 // Authors of this class:
0034 // M.C. Bordage, M. Terrissol, S. Edel, J. Bordes, S. Incerti
0035 //
0036 // 15.01.2014: creation
0037 //
0038 //
0039 // Based on the study by S. Zein et. al. Nucl. Inst. Meth. B 488 (2021) 70-82
0040 
0041 #ifndef G4DNACPA100ExcitationStructure_hh
0042 #define G4DNACPA100ExcitationStructure_hh 1
0043 #include "globals.hh"
0044 
0045 #include <vector>
0046 class G4Material;
0047 class G4DNACPA100ExcitationStructure
0048 {
0049   public:
0050     G4DNACPA100ExcitationStructure();
0051     ~G4DNACPA100ExcitationStructure() = default;
0052     G4double ExcitationEnergy(const std::size_t& level, const std::size_t& MatID);
0053     G4double UEnergy(const std::size_t& level, const std::size_t& MatID);
0054     inline std::size_t NumberOfLevels(const std::size_t& MatID)
0055     {
0056       return fnLevels[MatID];
0057     }
0058 
0059   private:
0060     void InitialiseGuanine();
0061     void InitialiseWater();
0062     void InitialiseDeoxyribose();
0063     void InitialiseCytosine();
0064     void InitialiseThymine();
0065     void InitialiseAdenine();
0066     void InitialisePhosphate();
0067 
0068     std::map<std::size_t /*MatIndex*/, std::size_t> fnLevels;
0069     std::map<std::size_t /*MatIndex*/, std::vector<G4double>> fEnergyConstant;
0070     std::map<std::size_t /*MatIndex*/, std::vector<G4double>> fUConstant;
0071 
0072     G4Material* fpGuanine = nullptr;
0073     G4Material* fpG4_WATER = nullptr;
0074     G4Material* fpDeoxyribose = nullptr;
0075     G4Material* fpCytosine = nullptr;
0076     G4Material* fpThymine = nullptr;
0077     G4Material* fpAdenine = nullptr;
0078     G4Material* fpPhosphate = nullptr;
0079 };
0080 
0081 #endif  //