Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // Previous authors: G. Guerrieri, S. Guatelli 27 // Authors (since 2007): S. Guatelli,Universit 28 // Contributions by F. Ambroglini INFN Perugia 29 // 30 31 #include"G4FemaleBuilder.hh" 32 33 #include "G4VBodyFactory.hh" 34 //#include "G4MIRDBodyFactory.hh" 35 //#include "G4ORNLFemaleBodyFactory.hh" 36 37 G4FemaleBuilder::~G4FemaleBuilder() 38 { 39 delete fBody; 40 } 41 42 void G4FemaleBuilder::BuildUterus(const G4Stri 43 44 { 45 if (fTrunkVolume == nullptr) 46 G4Exception("G4FemaleBuilder::BuildUterus( 47 48 fBody -> CreateOrgan("Uterus", fTrunkVolume, 49 } 50 51 void G4FemaleBuilder::BuildLeftOvary(const G4S 52 53 { 54 if (fTrunkVolume == nullptr) 55 G4Exception("G4FemaleBuilder::BuildLeftOva 56 57 fBody -> CreateOrgan("LeftOvary", fTrunkVolu 58 solidVis, sensitivity); 59 } 60 61 void G4FemaleBuilder::BuildRightOvary(const G4 62 63 { 64 if (fTrunkVolume == nullptr) 65 G4Exception("G4FemaleBuilder::BuildRightOv 66 67 fBody -> CreateOrgan("RightOvary",fTrunkVolu 68 solidVis, sensitivity); 69 } 70 71 void G4FemaleBuilder::BuildLeftBreast(const G4 72 G4bool solidVis, G4bool sensitiv 73 { 74 if (fMotherVolume == nullptr) 75 G4Exception("G4FemaleBuilder::BuildLeftBre 76 77 fBody -> CreateOrgan("LeftBreast", fMotherVo 78 solidVis, sensitivity); 79 } 80 81 void G4FemaleBuilder::BuildRightBreast(const G 82 G4bool solidVis, 83 G4bool sensitivity) 84 { 85 if (fMotherVolume == nullptr) 86 G4Exception("G4FemaleBuilder::BuildRightBre 87 88 fBody -> CreateOrgan("RightBreast", fMotherV 89 solidVis, sensitivity); 90 } 91