Ignore:
Timestamp:
Nov 19, 2009, 2:53:25 PM (15 years ago)
Author:
garnier
Message:

update par rapport a CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/lowenergy/src/G4DNAGenericIonsManager.cc

    r1007 r1192  
    2424// ********************************************************************
    2525//
    26 // $Id: G4DNAGenericIonsManager.cc,v 1.5 2008/07/16 19:01:07 sincerti Exp $
    27 // GEANT4 tag $Name: geant4-09-02 $
     26// $Id: G4DNAGenericIonsManager.cc,v 1.6 2009/06/10 13:32:36 mantero Exp $
     27// GEANT4 tag $Name: emlowen-V09-02-64 $
    2828
    2929#include "G4DNAGenericIonsManager.hh"
     
    5757G4DNAGenericIonsManager :: G4DNAGenericIonsManager()
    5858{
    59  //               name             mass          width         charge
    60  //             2*spin           parity  C-conjugation
    61  //          2*Isospin       2*Isospin3       G-parity
    62  //               type    lepton number  baryon number   PDG encoding
    63  //             stable         lifetime    decay table
    64 
     59  //               name             mass          width         charge
     60  //             2*spin           parity  C-conjugation
     61  //          2*Isospin       2*Isospin3       G-parity
     62  //               type    lepton number  baryon number   PDG encoding
     63  //             stable         lifetime    decay table
     64  //         shortlived          subType  anti_encoding
     65  //         excitation   
     66 
    6567 G4Ions *helium;
    6668 G4Ions *hydrogen;
     
    6870 G4Ions *positronium1s;
    6971 G4Ions *positronium2s;
    70 
    71  helium=     new G4Ions("helium",    3.727417*GeV,       0.0*MeV,  +0.0*eplus,
    72                                0,              +1,             0,
    73                                0,               0,             0,
    74                        "nucleus",              +2,            +4,           0,
    75                         true,                -1.0,             0,       false,
    76                               "",               0,             0.0);
     72 
     73 
     74 helium=     new G4Ions(
     75                        "helium",    3.727417*GeV,       0.0*MeV,  +0.0*eplus,
     76                        0,              +1,             0,
     77                        0,               0,             0,
     78                        "nucleus",              +2,            +4,           0,
     79                        true,                -1.0,             0,       
     80                        false,                "",               0,             
     81                        0.0);
    7782
    7883 alphaPlus=  new G4Ions("alpha+",    3.727417*GeV,       0.0*MeV,  +1.0*eplus,
     
    104109                              "",               0,             0.0);
    105110
    106  map["helium"]=helium;
     111
     112 /*
     113 // molechules construction
     114
     115 G4Ions* oxonium; // H3O -- it will become H3O+
     116 G4Ions* hydroxyl; // OH -- it will produce OH- too
     117 G4Ions* molHydrogen; // H2
     118 //G4Ions* hydroxide; // OH-
     119 G4Ions* hydroPeroxide; // H2O2
     120 G4Ions* water; // H2O -- it will become also H2O+
     121
     122
     123 G4double mass = 19.02*g/Avogadro - 11*electron_mass_c2;
     124
     125 oxonium = new G4Ions("H3O",        mass,             0,  +11.0*eplus,
     126                      0,               0,             0,
     127                      0,               0,             0,
     128                      "molecule",      0,             0,           0,
     129                      true,         -1.0,             0,
     130                      false,          "",             0,             
     131                      0.0);
     132 
     133 mass = 17.00734*g/Avogadro - 9*electron_mass_c2;
     134 
     135 hydroxyl = new G4Ions("OH",        mass,             0,  +9.0*eplus,
     136                      0,               0,             0,
     137                      0,               0,             0,
     138                      "molecule",      0,             0,           0,
     139                      true,         -1.0,             0,
     140                      false,          "",             0,             
     141                      0.0);
     142
     143 mass = 2.01588*g/Avogadro - 2*electron_mass_c2;
     144
     145 molHydrogen = new G4Ions("H2",         mass,             0,  +2.0*eplus,
     146                          0,               0,             0,
     147                          0,               0,             0,
     148                          "molecule",      0,             0,           0,
     149                          true,         -1.0,             0,
     150                          false,          "",             0,             
     151                          0.0);
     152
     153 mass = 34.01468*g/Avogadro - 18*electron_mass_c2;
     154
     155 hydroPeroxide = new G4Ions("H2O2",      mass,             0, +18.0*eplus,
     156                           0,               0,             0,
     157                           0,               0,             0,
     158                           "molecule",      0,             0,           0,
     159                           true,         -1.0,             0,
     160                           false,          "",             0,             
     161                           0.0);
     162 
     163 mass = 18.015*g/Avogadro - 10*electron_mass_c2;
     164
     165 water = new G4Ions("H2O",        mass,             0,  +10.0*eplus,
     166                    0,               0,             0,
     167                    0,               0,             0,
     168                    "molecule",      0,             0,           0,
     169                    true,         -1.0,             0,
     170                    false,          "",             0,             
     171                    0.0);
     172
     173 map["H3O" ]  =oxonium;
     174 map["OH"  ]  =hydroxyl;
     175 map["H2"  ]  =molHydrogen;
     176 map["H2O2"]  =hydroPeroxide;
     177 map["H2O" ]  =water;
     178 */
     179
     180
     181 map["helium"  ]=helium;
    107182 map["hydrogen"]=hydrogen;
    108  map["alpha+"]=alphaPlus;
    109  map["alpha++"]=G4Alpha::Alpha();
    110  map["Ps-1s"]=positronium1s;
    111  map["Ps-2s"]=positronium2s;
     183 map["alpha+"  ]=alphaPlus;
     184 map["alpha++" ]=G4Alpha::Alpha();
     185 map["Ps-1s"   ]=positronium1s;
     186 map["Ps-2s"   ]=positronium2s;
    112187
    113188}
Note: See TracChangeset for help on using the changeset viewer.