-
Notifications
You must be signed in to change notification settings - Fork 39
CAFAna
h1. CAFAna
If you want to get started with CAFAna this is not necessarily the place to start. Poke Chris Backhouse, Elizabeth Worcester, or Bruno Zamorano on shortbaseline.slack.com. This page attempts to document some of the cutting-edge development branches.
h2. Files
The latest sbncode files we are using are at @/sbnd/data/users/gputnam/NuMu/outputs/sample_2.1_fitters/@ and made with the @feature/mastbaum_event@ branch.
There are "flatcaf" versions at @/sbnd/data/users/bckhouse/sample_2.1_fitters/@
All FlatCAF work happens with the branch @feature/bckhouse_flatcaf@, which also features full integration into the mrb build system
h2. Creating FlatCAFs
The branch @feature/bckhouse_flatcaf@ can make the flatcafs. It requires you start with an @sbncode-v08_30_00@ based release.
The conversion command is @convert_to_flat@
If you get a screenful of errors like
Error in : The element SubRun::totpot type 205 (float) is not supported yet
You will need to update the dictionary for @Event.hh@. @novaanalysis/@ doesn't partake fully in the build, so the magic incantation is
cd srcs/sbncode/sbnanalysis/build/ cmake .. make install
h2. TODOs
- get @gccxml@ and @castxml@ set up officially on the branch / trunk.
- decide if @OscLib@ needs to be an external package, how to credit it, where in the tree all this should live
- -merge all three of these branches together- and eventually with trunk
- potentially implement oscillations in L/E
- (longer term) merge FlatMaker and StandardRecord/Proxy so we only have to traverse @Event.hh@ once