[Gemc_software] gemc newsletter
Maurizio Ungaro
ungaro at jlab.org
Wed Aug 12 11:27:59 EDT 2009
`````````````````````````````````````
` Aug 2009 gemc newsletter
`````````````````````````````````````
Hello all,
There are a few numbers of code fixes and improvements.
The most important change however comes from the I/O: I'd like to move
away from gemc_evio2root.
There's a new library to interface to EVIO events, called "banks".
With this, it's easy to get banks from a gemc generated EVIO file, and
fill trees, etc.
"banks" is already documented as a CLAS note, and you can download it here:
http://www.jlab.org/~ungaro/maureepage/proj/banks/main.html
Please let me know of any feedback on this.
I'm working on a "flux" kind type of sensitive detector, which will
measure fluxes of particles
through it instead of hits: basically it will assign one "hit" per
track, so that to get a flux
through a detector one can count these special hits.
I'm also working on documenting the way to build detector geometries,
and to simplify the way gemc
is installed (for this reason, you'll see a less pretty GUI soon).
Anna is working on a version of the FST that includes the cooling hardware.
Sebastien added the Micromegas to the detector geometry and hit routines.
`````````````````````````
` Summary of Code Changes
`````````````````````````
* With MGN_VERBOSITY set to 99, only the first step in the magnetic
field will output
the Field values on the screen. This is useful if one want to get the
magnetic field value at
one particular location: just start a particle there (with BEAM_V).
* Accepting input lenghts in "inches"
* One can disable a detector (and all its daughters) in the gcard like this:
<detector name="SL_1">
<existance exist="yes" />
</detector>
* Making the compiler with -Wall happy
`````````````````````````````
` Summary of Geometry Changes
`````````````````````````````
* In progress: FST and BST
* From Sebastien: Micromegas.
```````````````````
` Summary of Fixes
```````````````````
* Fixed Hall-B routine that was disactivating daughters.
```````````````
` Open Projects
```````````````
* Detectors to put in gemc:
EC
HTCC
PCAL
* Code
DC digitization: we need to find a way to calculate the DOCA based on
the track parameters at the entrance of the cell.
This will speed up the code a lot - right now we're using a 100 micron
step inside the DC for this calculation - that is too small.
```````````
` gemc Tips
```````````
* Use the gcard file! You can find an example here:
https://clas12svn.jlab.org/repos/trunk/clas12/gemc/production/example.gcard
````````````````````
` GEMC Documentation
````````````````````
* Doxygen: http://clasweb.jlab.org/clas12/gemc_doxygen
* Browse Repository:
https://clas12svn.jlab.org/repos/trunk/clas12/gemc/production/
* Browse Repository (PHP, can look at logs):
http://clasweb.jlab.org/websvn/prod/listing.php?repname=CLAS12&path=%2Ftrunk%2Fclas12%2Fgemc%2F&opt=dir&sc=1
* Gemc Sofwtare List Archives:
http://www.jlab.org/ccc/mail_archives/SOFTWARE/gemc_software
````````````
` Geometries
````````````
* Official (protected): clas12_geometry
* User Custom: user_geometry
* You can select a geometry database with the option -DATABASE
List of detectors: mysql -h clasdb -u clasuser clas12_geometry -e "show
tables"
+---------------------------+
| B2ST |
| BMT |
| BST |
| BST2 |
| BST_3l |
| BSTsmall |
| Bonus |
| Bonustarget |
| C2ND |
| CND |
| CTOF |
| DC12 |
| DCtest |
| DCthin |
| FMT |
| FST |
| FSTold |
| HTCC |
| IC |
| LD2target |
| LH2target |
| NH3target |
| OTOF |
| SECTOR |
| ctof_LG |
| downstream_beamline |
| innergeometry |
| magnetic_fields |
| moeller_shield |
| solenoid |
| torus |
+---------------------------+
``````````````````````
` Database Geometries:
``````````````````````
mysql -h clasdb -u clasuser user_banks -e "select name, id, minEnergy,
TimeWindow, ProdThreshold from SDId;"
+-----------+------+-----------+------------+---------------+
| Generated | 1 | 0*MeV | 0*ns | 0*um |
| CTOF | 50 | 200*KeV | 4*ns | 2*mm |
| CND | 55 | 200*KeV | 4*ns | 2*mm |
| OTOF_1a | 60 | 200*KeV | 4*ns | 2*mm |
| OTOF_1b | 70 | 200*KeV | 4*ns | 2*mm |
| OTOF_2b | 80 | 200*KeV | 4*ns | 2*mm |
| BST | 400 | 2*KeV | 132*ns | 300*um |
| FST | 410 | 2*KeV | 132*ns | 300*um |
| DC | 500 | 0.1*KeV | 500*ns | 2*mm |
| IC | 600 | 0.1*KeV | 500*ns | 1*mm |
| RTPC | 650 | 1.0*KeV | 500*ns | 1*mm |
+-----------+------+-----------+------------+---------------+
````````````````````````
` Maurizio Ungaro
` mail: ungaro at jlab.org
` Office #: 7578
```````````````````````
More information about the Gemc_software
mailing list