Michael Kirby, 05/30/2014 10:49 AM
h1. Welcome to the MicroBooNE offline software project.
For now there's no pubic build. You must download the uBooNE code to your usual LArSoft test release area and build there. When we have lots more code we'll consider a nightly build and more administration.
Here are the instructions to use the uBooNE offline svn repository.
* Contact a manager (like Wes, firstname.lastname@example.org) to get added to the developer list if you are not already on it.
|10||33||Jason St. John||
* Go setup yourself up to work with LArSoft as instructed at https://cdcvs.fnal.gov/redmine/projects/uboonecode/wiki/Uboone_guide.
|12||33||Jason St. John||
If you only need the fcl files from ubfcl, for instance,
|13||33||Jason St. John||
* Go in your development area (where srcs/ and build/ live) and say @svn co svn+ssh://email@example.com/cvs/projects/ubooneoffline/trunk/products/ubfcl@, for example.
|14||33||Jason St. John|
|15||33||Jason St. John||
Now, if you only need the GENIEextractor part of the repository, you could do something like this...
* Go in @dirname@ say @svn co svn+ssh://firstname.lastname@example.org/cvs/projects/ubooneoffline/trunk/GENIEextractor@, for example.
* @cd include@; and say @ln -s ../GENIEextractor/ .@ (don't forget the dot) and then cd back to the top dirname.
* @gmake GENIEextractor.all@, and construct your fcl file and run @lar -c myjobscript.fcl@ as usual.
* Be sure and @svn ci -m "helpful comment" svn+ssh://email@example.com/cvs/projects/ubooneoffline/trunk GENIEextractor@ and @svn update svn+ssh://firstname.lastname@example.org/cvs/projects/ubooneoffline/trunk@ frequently.
* You can export (bash) setenv (csh) CVSROOT to svn+ssh://email@example.com/cvs/projects/ubooneoffline/ or svn+ssh://firstname.lastname@example.org/cvs/projects/larsoftsvn/trunk/ as you work with each repository and thus not need to spell it out each time, if you find that to be less unwieldy.
Alternatively, if you want to set up a directory for you to put in and share lots of stuff, we recommend doing this:
* Go in to your test release (@dirname@) and do @svn co svn+ssh://email@example.com/cvs/projects/ubooneoffline@
* Add a directory for yourself in the @users@ area. If your username is @bluebeard@, do: @cd ubooneoffline; svn mkdir users/bluebeard; svn update@
* Now, put your pirate treasure in your directory! To put it in the repository, do: @svn add pirate_treasure; svn commit -m 'arrrr!' pirate_treasure@
* Put your code here!
Another way to add a package from ubooneoffline to larsoft test release
* Go into your larsoft test release and do addpkg_svn -d svn+ssh://firstname.lastname@example.org/cvs/projects/ubooneoffline -h AnalysisTree
h1. MicroBooNE Software Environment
h2. [[Overview of MicroBooNE UPS Products]]
h2. [[Batch Tools]]
h2. [[Data Handling (SAM)]]