<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Fixed">`````````````````````````````````````<br>
` Dec 2009 gemc newsletter<br>
`````````````````````````````````````<br>
<br>
Hi all,<br>
<br>
below is a summary of the main changes/bug fixes for gemc:<br>
<br>
* A "flux" detector has been implemented - this is useful to count how
many particles go through a detector.<br>
In the normal hit definition 2 or more tracks in the same detector
element in the same time window leave only one signal.<br>
In "flux" detectors, every particle is recorded. To label a detector as
"flux", assign a zero time window to it.<br>
<br>
* New GUI.<br>
<br>
* Vertex Spread: the SPREAD_V accepts now these 2 arguments: the radius
of the beam, and the z-spread of the beam.<br>
  Example:  Example: -SPREAD_V="(0.1, 10)cm" will generate a 1mm thick
beam, spanning in z-origin by 10 cm.<br>
<br>
* Luminosity Vertex Spread: a new LUMI_SPREAD_V to spread the radius
and the z-spread of the luminosity beam.<br>
  Example:  Example: -LUMI_SPREAD_V="(0.1, 10)cm" will generate a 1mm
thick beam, spanning in z-origin by 10 cm.<br>
<br>
* Dave Lawrence and Elliott fixed a memory leak problem in the EVIO
package.<br>
  This was affecting gemc when writing an EVIO output. Memory usage
should be under control now.<br>
<br>
* gemc is available on Mac OS X. Installation instructions can be found
here:<br>
 
<a class="moz-txt-link-freetext" href="http://clasweb.jlab.org/wiki/index.php/Mac_OS_X_gemc_installation_with_Fink">http://clasweb.jlab.org/wiki/index.php/Mac_OS_X_gemc_installation_with_Fink</a><br>
<br>
* gemc is also available as rpm, and you can install it with yum on the
following machines:<br>
  * Fedora 11 64 bit (fc11.x86_64)<br>
  * Fedora 8 32 bit (fc8.i386)<br>
  * Red Hat Enterprise Linux 5.3 32 bit (el5.i386)<br>
  * Scientific Linux 4.5 64 bit (sl4.x86_64)<br>
  * CentOS 5.3 64 bit ` Summary of Code Changes<br>
    Instructions can be found here:<br>
  
 <a class="moz-txt-link-freetext" href="http://clasweb.jlab.org/wiki/index.php/Yum_installation_for_various_Linux_distro">http://clasweb.jlab.org/wiki/index.php/Yum_installation_for_various_Linux_distro</a><br>
<br>
* Jerry Gilfoyle, implemented the EC geometry into gemc.<br>
* Jerry Gilfoyle and Mike Wood will work on implementing the PCAL
geometry into gemc.<br>
* I added a RTPC flux type detector<br>
<br>
```````````<br>
` gemc Tips<br>
```````````<br>
* If you can't use gemc in GUI mode, try -USE_QT=2 or -USE_QT=3. That
will not use direct rendering (problematic on old videocards) <br>
* If you CAN use gemc normally, remember you can navigate through the
picture google-earth style with the mouse<br>
<br>
<br>
````````````````````<br>
` GEMC Documentation<br>
````````````````````<br>
 * Web page coming soon<br>
 * Doxygen:  <a class="moz-txt-link-freetext" href="http://clasweb.jlab.org/clas12/gemc_doxygen">http://clasweb.jlab.org/clas12/gemc_doxygen</a><br>
 * Browse Repository:
<a class="moz-txt-link-freetext" href="https://clas12svn.jlab.org/repos/trunk/clas12/gemc/production/">https://clas12svn.jlab.org/repos/trunk/clas12/gemc/production/</a><br>
 * Browse Repository (PHP, can look at logs): 
<a class="moz-txt-link-freetext" href="http://clasweb.jlab.org/websvn/prod/listing.php?repname=CLAS12&path=%2Ftrunk%2Fclas12%2Fgemc%2F&opt=dir&sc=1">http://clasweb.jlab.org/websvn/prod/listing.php?repname=CLAS12&path=%2Ftrunk%2Fclas12%2Fgemc%2F&opt=dir&sc=1</a><br>
 * Gemc Software List Archives:  (mailman, no more majordomo)
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/pipermail/gemc_software/">https://mailman.jlab.org/pipermail/gemc_software/</a><br>
<br>
<br>
````````````<br>
` Geometries<br>
````````````<br>
* Official (protected): clas12_geometry<br>
* User Custom: user_geometry<br>
* You can select a geometry database with the option -DATABASE<br>
<br>
List of detectors: mysql -h clasdb -u clasuser clas12_geometry -e "show
tables"<br>
+---------------------------+<br>
| B2ST                      |<br>
| BMT                       |<br>
| BST                       |<br>
| BST2                      |<br>
| BST_3l                    |<br>
| BSTsmall                  |<br>
| Bonus                     |<br>
| Bonustarget               |<br>
| C2ND                      |<br>
| CND                       |<br>
| CND2                      |<br>
| CND3                      |<br>
| CND4                      |<br>
| CTOF                      |<br>
| DC12                      |<br>
| DCtest                    |<br>
| DCthin                    |<br>
| EC                        |<br>
| FMT                       |<br>
| FST                       |<br>
| FST2                      |<br>
| FSTold                    |<br>
| HTCC                      |<br>
| IC                        |<br>
| LD2target                 |<br>
| LH2target                 |<br>
| NH3target                 |<br>
| OTOF                      |<br>
| SECTOR                    |<br>
| ctof_LG                   |<br>
| downstream_beamline       |<br>
| innergeometry             |<br>
| magnetic_fields           |<br>
| moeller_shield            |<br>
| solenoid                  |<br>
| torus                     |<br>
+---------------------------+<br>
<br>
<br>
<br>
``````````````````<br>
` Hit definitions:<br>
``````````````````<br>
mysql -h clasdb -u clasuser clas12_banks -e "select name, id,
minEnergy, TimeWindow, ProdThreshold from SDId;"<br>
+-----------+------+------------+------------+---------------+<br>
| Generated |    1 |    0.0*MeV |     0*ns   |   0*um        |<br>
| CTOF      |   50 |  200.0*KeV |     4*ns   |   2*mm        |<br>
| CND       |   55 |  200.0*KeV |     4*ns   |   2*mm        |<br>
| OTOF_1a   |   60 |  200.0*KeV |     4*ns   |   2*mm        |<br>
| OTOF_1b   |   70 |  200.0*KeV |     4*ns   |   2*mm        |<br>
| OTOF_2b   |   80 |  200.0*KeV |     4*ns   |   2*mm        |<br>
| BST       |  400 |    2.0*KeV |   132*ns   | 300*um        |<br>
| FST       |  410 |    2.0*KeV |   132*ns   | 300*um        |<br>
| FMT       |  450 |    2.0*KeV |   132*ns   | 300*um        |<br>
| BMT       |  460 |    2.0*KeV |   132*ns   | 300*um        |<br>
| DC        |  500 |    0.1*KeV |   500*ns   |   2*mm        |<br>
| IC        |  600 |    0.1*KeV |   500*ns   |   1*mm        |<br>
| Bonus     |  700 |    0.1*KeV |     0*ns   |   1*mm        |<br>
| TREK      |  200 |  0.001*KeV |     1*ns   |   1*mm        |<br>
| EC        |  300 |    1.0*KeV |   200*ns   |   1*mm        |<br>
+-----------+------+------------+------------+---------------+<br>
<br>
<br>
``````````````````````````<br>
` Maurizio Ungaro<br>
` e-mail: <a class="moz-txt-link-abbreviated" href="mailto:ungaro@jlab.org">ungaro@jlab.org</a><br>
` Office #: 7578<br>
`````````````````````````<br>
<br>
</font>
</body>
</html>