DF Logbook
2018
May
Week of the 6th
I acquired and installed GEMC, COATJAVA, and CED on Ubuntu 16.04. Installation instructions can be found here.
GEMC Install Notes
GEMC and the common environment are found here
There was some trouble in installing the common environment (ce) due to an awk program (mawk, in this case) segfaulting. I was able to get around this by downloading a different awk program, gawk. After downloading the ce I had some trouble with the default version of Geant4; updating the Geant4 version numbers in ce/settings.xcconfig and ce/versions.env to 4.10.04.p01 resolved the issue.
After the GEMC install proper, it was also necessary to install the clas12Tags repository, where scons took issue with an undefined variable in physcisList.cc. Uncommenting the line which defined theParticleIterator allowed the tags to be compiled.
COATJAVA Install Notes
Release versions can be found here. Otherwise, one must clone either the development version or a fork of it.
Attempting to run any of the coatjava scripts with ./ChupaThingy
throws a source not found error, use bash ChupaThingy
instead.
CED Install Notes
Downloads can be found here.
Week of the 13th
Finished Troubleshooting installs for the most part.
Wasn't seeing any meaningful events from GEMC. Took the issue up with Dr. Forest who showed that it was likely a combination of bad starting vertex placement and small sample size. He suggested using Lund files instead. I currently have one that produces 26 usable events. In time I'm going to have to learn to create my own.
Spent some time learning how to format the wiki.
Updating the development code to the most recent master branch from JLab seems to have fixed the magfield map problem. The environmental variables still have to be set, but they are the generic names again. Instructions for setting up the development code to be updated from the JLab code can be found here.
Week of the 20th
Spent Monday and most of Tuesday updating this wiki and tackling the database problem.
The version of clas12Tags I'm for using for GEMC (4a.2.3) doesn't seem to use the database at all. Will try with 4a.2.2 and see if that uses the database at all. As for the IDE, I've set up the environmental variables CCDB_CONNECTION=sqlite:///../../DB/clas12.sqlite.05162018
and CCDB_DATABASE=../..DB/clas12.sqlite.05162018
. The previous version of clas12.sqlite I was using apparently lacked some fields that coatjava wanted, but this one appears to work.
TODO:
- write up what hits, clusters, segments, and crosses are.
Electron scattering event via CED at 25 degrees and 6 GeV, phi=-4.0,
Screen shot of IDE output window with and without non-zero vertex