- Timestamp:
- Dec 7, 2009, 12:15:45 PM (15 years ago)
- Location:
- trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector
- Files:
-
- 25 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/commandScore.xml
r904 r1211 13 13 </title> 14 14 15 <note>16 <title>17 Notice18 </title>19 20 <para>21 As of Geant4 release 9.1, this functionality of command-based scoring22 is still in <emphasis>alpha</emphasis> release and functionality offered23 is preliminary. We do not guarantee the correctness of the code. Also,24 we may change any of the commands / methods in the near future release.25 We appreciate your feedback.26 </para>27 </note>28 29 15 <!-- ******************* Section (Level#2) ****************** --> 30 16 <sect2 id="sect.CommandScore.Intro"> 31 <title> 32 Command-based scoring 33 </title> 34 35 <para> 36 This new command-based scoring utilizes the parallel world described 37 in the previous section. With UI interactive commands, the user can define : 17 18 <para> 19 Command-based scoring in Geant4 utilizes parallel navigation in a parallel 20 world volume as descibed in the previous sections. Through interactive commands, 21 the user can define : 38 22 39 23 <itemizedlist spacing="compact"> … … 53 37 54 38 <para> 55 For the time being of the alpha release, this command-based scoring 56 is an optional functionality and the user has to explicity define 57 its use in his/her <literal>main()</literal>. To do this, the 58 method <literal>G4ScoringManager::GetScoringManager()</literal> 39 Command-based scoring is an optional functionality and the user has 40 to explicity define its use in the <literal>main()</literal>. 41 To do this, the method <literal>G4ScoringManager::GetScoringManager()</literal> 59 42 must be invoked <emphasis role="color_red">right after</emphasis> 60 43 the instantiation of <literal>G4RunManager</literal>. … … 113 96 114 97 <para> 115 For a scoring mesh the user can have arbitrary number of quantities to be scored for each cell of the mesh. 116 For each scoring quantity, the use can set one filter. Please note that <literal>/score/filter</literal> 117 affects on the preceding scorer. Names of scorers and filters must be unique for the mesh. 118 The user can define more than one scorers of same kind with different names (and most likely with different 119 filters). 120 </para> 121 122 <para> 123 Defining a scoring mesh and scores in thiat mesh should terminate with <literal>/score/close</literal> 124 command. The following sample UI commands define a scoring mesh named <literal>boxMesh_1</literal>, 125 size of which is 2 m * 2 m * 2 m, and sliced into 30 cells along each axes. For each cell energy deposition, 126 number of steps of gamma, number of steps of electron and number of steps of positron are scored. 98 For a scoring mesh the user can have arbitrary number of quantities to be scored for 99 each cell of the mesh. 100 For each scoring quantity, the use can set one filter. 101 Please note that <literal>/score/filter</literal> affects on the preceding scorer. 102 Names of scorers and filters must be unique for the mesh. 103 It is possible to define more than one scorer of same kind with different names 104 and, likely, with different filters. 105 </para> 106 107 <para> 108 Defining a scoring mesh and scores in the mesh should terminate with the 109 <literal>/score/close</literal> command. The following sample UI commands 110 define a scoring mesh named <literal>boxMesh_1</literal>, size of which is 111 2 m * 2 m * 2 m, and sliced into 30 cells along each axes. 112 For each cell energy deposition, number of steps of gamma, number of steps 113 of electron and number of steps of positron are scored. 127 114 <example> 128 115 <title> … … 164 151 165 152 <para> 166 Once scores are filled, the user canvisualize the scores. The score is153 Once scores are filled, it is possible to visualize the scores. The score is 167 154 drawn on top of the mass geometry with the current visualization settings. 168 155 … … 189 176 class, and registered to <literal>G4ScoringManager</literal> with the color map 190 177 name <literal>"defaultLinearColorMap"</literal>. The user may alternate color map 191 by implementing his/her own color map class derived from <literal>G4VScoreColorMap</literal> 192 and register it to <literal>G4ScoringManager</literal>. Then, for each <literal>draw</literal> 193 command, the user can specify the color map of his/her own. 178 by implementing a customised color map class derived from 179 <literal>G4VScoreColorMap</literal> and register it to 180 <literal>G4ScoringManager</literal>. Then, for each <literal>draw</literal> 181 command, one can specify the preferred color map. 194 182 </para> 195 183 … … 203 191 204 192 <para> 205 The user may dump a score in a mesh (<literal>/score/dumpQuantityToFile</literal> command) 206 or all scores in a mesh (<literal>/score/dumpAllQuantitiesToFile</literal> command) to a file. 207 The default file format is the simple CSV. To alternate the file format, the user should 208 overwrite <literal>G4VScoreWriter</literal> class and register it to <literal>G4ScoringManager</literal>. 209 Please refer to <literal>/examples/extended/runAndEvent/RE03</literal> for the detail. 210 </para> 211 193 It is possible to dump a score in a mesh (<literal>/score/dumpQuantityToFile</literal> 194 command) or all scores in a mesh (<literal>/score/dumpAllQuantitiesToFile</literal> 195 command) to a file. 196 The default file format is the simple CSV. To alternate the file format, one should 197 overwrite <literal>G4VScoreWriter</literal> class and register it to 198 <literal>G4ScoringManager</literal>. 199 Please refer to <literal>/examples/extended/runAndEvent/RE03</literal> for details. 200 </para> 212 201 213 202 </sect2> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomASCII.xml
r904 r1211 22 22 An example showing how to define a geometry in plain text format and import 23 23 it in a Geant4 application is shown in 24 <literal>examples/extended/persistency/P03</literal>. 24 <literal>examples/extended/persistency/P03</literal>. The example also covers 25 the case of associating a sensitive detector to one of the volumes defined 26 in the text geometry, the case of mixing C++ and text geometry definitions 27 and the case of defining new tags in the text format so that regions and 28 cuts by region can be defined in the text file. It also provides an example 29 of how to write a geometry text file from the in-memory Geant4 geometry. 30 31 For the details on the format see the dedicated 32 <ulink url="http://geant4.cern.ch/collaboration/working_groups/geometry/docs/textgeom/textgeom.pdf">manual</ulink>. 25 33 </para> 26 34 35 27 36 </sect2> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomAssembly.xml
r904 r1211 224 224 G4RotationMatrix Ra; 225 225 G4ThreeVector Ta; 226 G4Transform3D Tr; 226 227 227 228 // Rotation of the assembly inside the world … … 230 231 // Fill the assembly by the plates 231 232 Ta.setX( caloX/4. ); Ta.setY( caloY/4. ); Ta.setZ( 0. ); 232 assemblyDetector->AddPlacedVolume( plateLV, G4Transform3D(Ta,Ra) ); 233 Tr = G4Transform3D(Ra,Ta); 234 assemblyDetector->AddPlacedVolume( plateLV, Tr ); 233 235 234 236 Ta.setX( -1*caloX/4. ); Ta.setY( caloY/4. ); Ta.setZ( 0. ); 235 assemblyDetector->AddPlacedVolume( plateLV, G4Transform3D(Ta,Ra) ); 237 Tr = G4Transform3D(Ra,Ta); 238 assemblyDetector->AddPlacedVolume( plateLV, Tr ); 236 239 237 240 Ta.setX( -1*caloX/4. ); Ta.setY( -1*caloY/4. ); Ta.setZ( 0. ); 238 assemblyDetector->AddPlacedVolume( plateLV, G4Transform3D(Ta,Ra) ); 241 Tr = G4Transform3D(Ra,Ta); 242 assemblyDetector->AddPlacedVolume( plateLV, Tr ); 239 243 240 244 Ta.setX( caloX/4. ); Ta.setY( -1*caloY/4. ); Ta.setZ( 0. ); 241 assemblyDetector->AddPlacedVolume( plateLV, G4Transform3D(Ta,Ra) ); 245 Tr = G4Transform3D(Ra,Ta); 246 assemblyDetector->AddPlacedVolume( plateLV, Tr ); 242 247 243 248 // Now instantiate the layers … … 246 251 // Translation of the assembly inside the world 247 252 G4ThreeVector Tm( 0,0,i*(caloZ + caloCaloOffset) - firstCaloPos ); 248 assemblyDetector->MakeImprint( worldLV, G4Transform3D(Tm,Rm) ); 253 Tr = G4Transform3D(Rm,Tm); 254 assemblyDetector->MakeImprint( worldLV, Tr ); 249 255 } 250 256 } -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomEditor.xml
r904 r1211 15 15 16 16 <para> 17 GGE is the Geant4 Graphical Geometry Editor. It is implemented 18 in JAVA and is part of the Momo environment. GGE aims to serve 19 physicists who have a little knowledge of C++ and the Geant4 20 toolkit to construct his or her own detector geometry in a 21 graphical manner. 17 GGE is the acronym for Geant4 Graphical Geometry Editor. GGE aims to assist 18 physicists who have a little knowledge on C++ and the Geant4 19 toolkit to construct his or her own detector geometry. In essence, GGE is made up of 20 a set of tables which can contain all relevant parameters to construct 21 a simple detector geometry. Tables for scratch or compound materials, tables for logical 22 and physical volumes are provided. From the values in the tables, C++ source codes are automatically 23 generated. 22 24 </para> 23 25 … … 33 35 </para></listitem> 34 36 <listitem><para> 35 view the detector geometry using existing visualization system likeDAWN36 </para></listitem> 37 <listitem><para> 38 keep the detector object in a persistent way 37 view the detector geometry using existing visualization system, DAWN 38 </para></listitem> 39 <listitem><para> 40 keep the detector object in a persistent way, either in GDML format (currently only logical volumes are supported) or Java serialized format. 39 41 </para></listitem> 40 42 <listitem><para> … … 42 44 </para></listitem> 43 45 <listitem><para> 44 make a Geant4 executable under adequate environment46 make a Geant4 executable, in collaboration with another component of MOMO, i.e., GPE, or Geant4 Physics Editor. 45 47 </para></listitem> 46 48 </orderedlist> … … 48 50 49 51 <para> 50 GGE is implemented with Java, using Java Foundation Class,51 Swing and is part of Java MOMO Framework. In essence, GGE is made 52 a set of tables which contain all relevant parameters to construct53 a simple detector geometry. 54 </para> 55 56 <para> 57 The software, installation instructions and notes for GGE and other 58 JAVA-based UI tools part of the MOMO Framework can be found in the 59 Geant4 distribution under the <literal>geant4/enviroments/MOMO</literal> 60 directory. 52 GGE can be found in the standard 53 Geant4 distribution under the <literal>$G4INSTALL/environments/MOMO/MOMO.jar</literal>. 54 JRE (Java Run-time Environment) is prerequisite to run MOMO.jar, Java archive file of MOMO. 55 MOMO contains GGE, GPE, GAG and other helper tools. Further information is available from the 56 Web pages below. 57 </para> 58 <para> 59 MOMO = GGE + GPE + GAG: 60 <ulink url="http://www-geant4.kek.jp/~yoshidah"> 61 http://www-geant4.kek.jp/~yoshidah 62 </ulink> 61 63 </para> 62 64 … … 68 70 69 71 <para> 70 GGE provides the database of elements in a form of the periodic 71 table, which users can use to construct new materials. GGE provides 72 a pre-constructed database of materials taken from the PDG book. 73 They can be loaded, used, edited and saved as persistent 74 objects. 72 GGE provides the database of elements in the form of the periodic 73 table, from which users can select element(s) to construct new materials. 74 They can be loaded, used, edited and saved as Java persistent 75 objects or in a GDML file. In <literal>$G4INSTALL/enviroments/MOMO</literal>, 76 a pre-constructed database of materials taken from the PDG book, <literal>PDG.xml</literal> 77 is present. 75 78 </para> 76 79 … … 81 84 <itemizedlist spacing="compact"> 82 85 <listitem><para> 83 creating a material from scratch:86 By selecting an element in the periodic table, default values as shown below are copied to a row in the table. 84 87 <para> 85 88 <informaltable> … … 104 107 </para> 105 108 <para> 106 Only the elements and materials used in the logical volumes are 109 <emphasis role="bold">Use</emphasis> marks the used materials. 110 Only the elements and materials used in the logical volumes are 107 111 kept in the detector object and are used to generate C++ 108 constructors. <emphasis role="bold">Use</emphasis> marks the used materials. 109 </para> 110 </para></listitem> 111 <listitem><para> 112 Constructor to create a material from a combination of 113 elements, subsequently added via <literal>AddElement</literal> 112 constructors. 113 </para> 114 </para></listitem> 115 <listitem><para> 116 By selecting multiple elements in the periodic table, a material from a combination of 117 elements is assigned to a row of the compound material table. The minimum actions user 118 have to do is to give a name to the 119 material and define its density. 114 120 <para> 115 121 <informaltable> … … 139 145 <itemizedlist spacing="compact"> 140 146 <listitem><para> 141 Add an element, giving fraction by weight147 Add an element, giving its fraction by weight 142 148 </para></listitem> 143 149 <listitem><para> 144 Add an element, giving number of atoms.150 Add an element, giving its number of atoms. 145 151 </para></listitem> 146 152 </itemizedlist> … … 161 167 The most popular CSG solids (<literal>G4Box</literal>, <literal>G4Tubs</literal>, 162 168 <literal>G4Cons</literal>, <literal>G4Trd</literal>) and specific BREPs solids 163 (Pcons, Pgons) are supported at present. All related parameters of such a 164 solid can be specified in a parameter widget. 165 </para> 166 167 <para> 168 Users will be able to view each solid using DAWN. 169 (Pcons, Pgons) are supported. All relevant parameters of such a 170 solid can be specified in the parameter table, which pops up upon selection. 171 </para> 172 173 <para> 174 Color, or the visualization attribute of a logical volume can be created, 175 using color chooser panel. 176 Users can view each solid using DAWN. 169 177 </para> 170 178 … … 195 203 196 204 <para> 205 The lists of solid types, names of the materials defined in the material tables, and 206 names of user-defined visualization attributes are shown automatically in respective table cell for user's choices. 207 </para> 208 <para> 197 209 The construction and assignment of appropriate entities for 198 210 <literal>G4FieldManager</literal> and <literal>G4VSensitiveDetector</literal> … … 209 221 210 222 <para> 211 A single copy of a physical volume can be created. Also repeated 212 copies can be created in several manners. First, a user can 213 translate the logical volume linearly. 223 Geant4 enables users to create a physical volume in different ways; the mother volume 224 can be either a logical or a physical one, spatial rotation can be either 225 with respect to the volume or to the frame to which the volume is attached. GGE is prepared for 226 such four combinatorial cases to construct a physical volume. 227 </para> 228 <para> 229 Five simple cases of creating physical volumes are supported by GGE. 230 Primo, a single copy of a physical volume can be created by a translation and rotation. Secondo, repeated copies can be created by repeated linear translations. 231 A logical volume is translated in a Cartesian direction, starting from the initial position, 232 with a given step size. 233 Mother volume can be either 234 another logical volume or a physical volume. 235 214 236 215 237 <informaltable> … … 219 241 <entry>Name</entry> 220 242 <entry>LogicalVolume</entry> 221 <entry> MotherVolume</entry>243 <entry>Type and name of MotherVolume</entry> 222 244 <entry>Many</entry> 223 245 <entry>X0, Y0, Z0</entry> … … 233 255 234 256 <para> 235 Combined translation and rotation are also possible, placing an 236 object repeatedly on a ``cylindrical'' pattern. Simple models of 237 replicas and parametrised volume are also implemented. In the 238 replicas, a volume is slices to create new sub-volumes. In 239 parametrised volumes, several patterns of volumes can be 240 created. 257 Third, repeated copies are created by rotation around an axis, placing an 258 object repeatedly on a ``cylindrical'' pattern. 259 Fourth, replicas are created by slicing a volume along a Cartesian direction. 260 Fifth, replicas are created by cutting a volume cylindrically. 241 261 </para> 242 262 … … 246 266 <sect3 id="sect.Geom.Edit.GeneCode"> 247 267 <title> 248 Generation of C++ code: <literal>MyDetectorConstruction.cc</literal> 249 </title> 250 251 <para> 252 By simply pushing a button, source code in the form of an 253 include file and a source file are created. They are called 254 <literal>MyDetectorConstruction.cc</literal> and <literal>.hh</literal> files. 255 They reflect all current user modifications in real-time. 268 Generation of C++ code: 269 </title> 270 271 <para> 272 User has to type in a class name to his 273 geometry, for example, <literal>MyDetectorConstruction</literal>. Then, with a mouse button click, 274 source codes in the form of an 275 include file and a source file are created and shown in the editor panel. In this example, they are 276 <literal>MyDetectorConstruction.cc</literal> and <literal>MyDetectorConstruction.hh</literal> files. 277 They reflect all current user modifications in the tables in real-time. 256 278 </para> 257 279 … … 265 287 266 288 <para> 267 Examples of individual solids can be viewed with the help of 268 DAWN. The visualization of the whole geometry is be done after the 289 The whole geometry can be visualized after the 269 290 compilation of the source code <literal>MyDetectorConstruction.cc</literal> 270 291 with appropriate parts of Geant4. (In particular only the geometry 271 292 and visualization, together with the small other parts they depend 272 on, are needed.) 293 on, are needed.) MOMO provides Physics Editor to create standard electromagnetic physics 294 and a minimum main program. See the on-line document in MOMO. 273 295 </para> 274 296 -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomLogical.xml
r904 r1211 143 143 144 144 <para> 145 The concept of detector <emphasis>Region</emphasis> was introduced to address145 The concept of detector <emphasis>Region</emphasis> is introduced to address 146 146 this need. Once the final geometry setup of the detector has been 147 147 defined, a region can be specified by constructing it with: … … 217 217 </para> 218 218 219 <para> 220 Regions can also become 'envelopes' for fast-simulation; can be assigned 221 user-limits or generic user-information (<literal>G4VUserRegionInformation</literal>); 222 can be associated to specific stepping-actions (<literal>G4UserSteppingAction</literal>) 223 or have assigned a local magnetic-field (local fields specifically associated to 224 logical volumes take precedence anyhow). 225 </para> 219 226 220 227 </sect3> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomNav.xml
r904 r1211 210 210 G4Navigator* tracking_navigator = 211 211 G4TransportationManager::GetInstance()->GetNavigatorForTracking(); 212 </programlisting> 213 </informalexample> 214 215 This also allows to retrieve at any time a pointer to the world volume 216 assigned for tracking: 217 218 <informalexample> 219 <programlisting> 220 G4VPhysicalVolume* tracking_world = tracking_navigator->GetWorldVolume(); 212 221 </programlisting> 213 222 </informalexample> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomOverlap.xml
r904 r1211 124 124 <mediaobject> 125 125 <imageobject role="fo"> 126 <imagedata fileref="./AllResources/Detector/geometry.src/geomtest. gif"127 format=" GIF" contentwidth="10.0cm" align="center" />126 <imagedata fileref="./AllResources/Detector/geometry.src/geomtest.jpg" 127 format="JPG" contentwidth="10.0cm" align="center" /> 128 128 </imageobject> 129 129 <imageobject role="html"> 130 <imagedata fileref="./AllResources/Detector/geometry.src/geomtest. gif"131 format=" GIF" align="center" />130 <imagedata fileref="./AllResources/Detector/geometry.src/geomtest.jpg" 131 format="JPG" align="center" /> 132 132 </imageobject> 133 133 </mediaobject> … … 255 255 </informalexample> 256 256 257 which will force the check for the specified volume. The check 257 which will force the check for the specified volume, and can be therefore 258 used to verify for overlaps also once the geometry is fully built. The check 258 259 verifies if each placed or parameterised instance is overlapping 259 260 with other instances or with its mother volume. A default … … 291 292 <mediaobject> 292 293 <imageobject role="fo"> 293 <imagedata fileref="./AllResources/Detector/geometry.src/DAVID_SAMPLE. gif"294 format=" GIF" contentwidth="3.0cm" align="center" />294 <imagedata fileref="./AllResources/Detector/geometry.src/DAVID_SAMPLE.jpg" 295 format="JPG" contentwidth="3.0cm" align="center" /> 295 296 </imageobject> 296 297 <imageobject role="html"> 297 <imagedata fileref="./AllResources/Detector/geometry.src/DAVID_SAMPLE. gif"298 format=" GIF" align="center" />298 <imagedata fileref="./AllResources/Detector/geometry.src/DAVID_SAMPLE.jpg" 299 format="JPG" align="center" /> 299 300 </imageobject> 300 301 </mediaobject> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomPhysical.xml
r904 r1211 166 166 167 167 <para> 168 Currently boolean operations are not implemented at the level of168 Currently Boolean operations are not implemented at the level of 169 169 physical volume. So <literal>pMany</literal> must be false. However, an 170 alternative implementation of boolean operations exists. In this170 alternative implementation of Boolean operations exists. In this 171 171 approach a solid can be created from the union, intersection or 172 172 subtraction of two solids. See <xref linkend="sect.Geom.Solids.BoolOp" /> 173 173 above for an explanation of this. 174 174 </para> 175 175 … … 735 735 contain daughter volumes. When the size or type of solid varies, 736 736 adding daughters is not supported. 737 </para>738 739 <para>740 737 So the full power of parameterised volumes can be used only for 741 738 "leaf" volumes, which contain no other volumes. 739 </para> 740 <para> 741 A hierarchy of volumes included in a parameterised volume cannot 742 vary. Therefore, it is not possible to implement a parameterisation 743 which can modify the hierachy of volumes included inside a specific 744 parameterised copy. 742 745 </para> 743 746 </note> … … 1083 1086 </entry> 1084 1087 <entry> 1088 <literal>kRho</literal>, <literal>kPhi</literal>, <literal>kZAxis</literal> 1089 </entry> 1090 </row> 1091 <row> 1092 <entry> 1093 <literal>G4Polyhedra</literal> 1094 </entry> 1095 <entry> 1085 1096 <literal>kRho</literal>, <literal>kPhi</literal>, <literal>kZAxis</literal> (*) 1086 </entry>1087 </row>1088 <row>1089 <entry>1090 <literal>G4Polyhedra</literal>1091 </entry>1092 <entry>1093 <literal>kRho</literal>, <literal>kPhi</literal>, <literal>kZAxis</literal> (**)1094 1097 </entry> 1095 1098 </row> … … 1101 1104 1102 1105 <para> 1103 (*) - <literal>G4Polycone</literal>: 1104 1105 <itemizedlist spacing="compact"> 1106 <listitem><para> 1107 <literal>kZAxis</literal> - the number of divisions has to be the same as 1108 solid sections, (i.e. <literal>numZPlanes-1</literal>), the width will 1109 <emphasis>not</emphasis> be taken into account.</para></listitem> 1110 </itemizedlist> 1111 </para> 1112 1113 <para> 1114 (**) - <literal>G4Polyhedra</literal>: 1106 (*) - <literal>G4Polyhedra</literal>: 1115 1107 1116 1108 <itemizedlist spacing="compact"> … … 1118 1110 <literal>kPhi</literal> - the number of divisions has to be the same as 1119 1111 solid sides, (i.e. <literal>numSides</literal>), the width will 1120 <emphasis>not</emphasis> be taken into account.1121 </para></listitem>1122 <listitem><para>1123 <literal>kZAxis</literal> - the number of divisions has to be the same as1124 solid sections, (i.e. <literal>numZPlanes-1</literal>), the width will1125 1112 <emphasis>not</emphasis> be taken into account. 1126 1113 </para></listitem> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomSolids.xml
r904 r1211 2725 2725 <note><title></title> 2726 2726 <para> 2727 The constituent solids of a Boolean operation should possibly 2728 <emphasis>avoid</emphasis> be composed by sharing all or part of 2729 their surfaces. This precaution is necessary in order to avoid the 2730 generation of 'fake' surfaces due to precision loss, or errors in 2731 the final visualization of the Boolean shape. Moreover, the final 2732 Boolean solid should represent a single 'closed' solid, i.e. a Boolean 2733 operation between two solids which are disjoint or far apart each 2734 other, is <emphasis>not</emphasis> a valid Boolean composition. 2735 </para> 2736 </note> 2737 2738 <note><title></title> 2739 <para> 2727 2740 The tracking cost for navigating in a Boolean solid in the 2728 2741 current implementation, is proportional to the number of … … 2871 2884 2872 2885 <para> 2873 We have defined a few simple Elementary BREPS, that can be 2874 instantiated simply by a user in a manner similar to the 2875 construction of Constructed Solids (CSGs). We summarize their 2876 capabilities in the following section. 2886 A few elementary BREPS are provided in the BREPS module as 2887 examples on how to assemble a BREP shap; these can be 2888 instantiated in the same manner as for the Constructed 2889 Solids (CSGs). 2890 We summarize their capabilities in the following section. 2877 2891 </para> 2878 2892 … … 3310 3324 is required to convert first the CAD shapes into tessellated surfaces. A 3311 3325 way to do this is to save the shapes in the geometrical model as STEP files 3312 and convert them using a tool like 3313 <ulink url="http://www.steptools.com/products/stviewer/">STViewer</ulink> or 3314 <ulink url="http://www.trad.fr/en/">FASTRAD</ulink> to 3315 tessellated (faceted surfaces) solids. This strategy allows to import any shape 3316 with some degree of approximation; the converted CAD models can then be 3317 imported through <ulink url="http://cern.ch/gdml/">GDML (Geometry Description 3326 and convert them to tessellated (faceted surfaces) solids, using a tool which 3327 allows such conversion. At the time of writing, at least two tools are 3328 available for such purpose: 3329 <ulink url="http://www.steptools.com/products/stviewer/">STViewer</ulink> 3330 (part of the STEP-Tools development suite) or 3331 <ulink url="http://www.trad.fr/en/">FASTRAD</ulink>. 3332 This strategy allows to import any shape with some degree of approximation; 3333 the converted CAD models can then be imported through 3334 <ulink url="http://cern.ch/gdml/">GDML (Geometry Description 3318 3335 Markup Language)</ulink> into Geant4 and be represented as 3319 3336 <literal>G4TessellatedSolid</literal> shapes. -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/geomXML.xml
r904 r1211 22 22 </para> 23 23 <para> 24 The GDML parser is component of Geant4 which can be built24 The GDML parser is a component of Geant4 which can be built 25 25 and installed as an optional choice. It allows for importing and 26 26 exporting GDML files, following the schema specified in the -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/hit.xml
r904 r1211 340 340 <mediaobject> 341 341 <imageobject role="fo"> 342 <imagedata fileref="./AllResources/Detector/hit.src/RO. gif"342 <imagedata fileref="./AllResources/Detector/hit.src/RO.jpg" 343 343 format="JPG" contentwidth="10.0cm" align="center" /> 344 344 </imageobject> 345 345 <imageobject role="html"> 346 <imagedata fileref="./AllResources/Detector/hit.src/RO. gif"346 <imagedata fileref="./AllResources/Detector/hit.src/RO.jpg" 347 347 format="JPG" align="center" /> 348 348 </imageobject> -
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Detector/persistency.xml
r904 r1211 41 41 <mediaobject> 42 42 <imageobject role="fo"> 43 <imagedata fileref="./AllResources/Detector/persistency.src/pobject. gif"43 <imagedata fileref="./AllResources/Detector/persistency.src/pobject.jpg" 44 44 format="JPG" contentwidth="7.0cm" align="center" /> 45 45 </imageobject> 46 46 <imageobject role="html"> 47 <imagedata fileref="./AllResources/Detector/persistency.src/pobject. gif"47 <imagedata fileref="./AllResources/Detector/persistency.src/pobject.jpg" 48 48 format="JPG" align="center" /> 49 49 </imageobject>
Note: See TracChangeset
for help on using the changeset viewer.