Disable LaTeX doc generation, and inline sources
Remove optimisation flags
Local modifications to the Makefile
Run on local ntuples (no AFS)
Relative local ntuple paths
Update local setup to work for Dsπ k-factors
Add mass resolution variables for intermediates

Include these variables in the dumped ntuple (for k-factor
distributions) for further study of mass resolution shift for modes
without a real Bs (B → DK, Λb → ΛcK, etc).
Frankenstein refit settings

The refit was originally meant for cleaner true 4-momenta.  Re-purpose
this to treat mis-id'd intermediate particles (D/Λc/etc → Ds).  So
currently change the refit setup as follows:

  - Mother: keep consistent with truth; the event did pass event
    selection, so LHCb thought it was a Bs.
  - Daughter1: first daughter is an intermediate state, so misid is
    complicated, not a simple misassignment of mass.  LHCb refits
    respective 4-momenta.  Emulate this by refitting with Ds mass
    constraints.
  - Daughter2: bachelor particle; simple misid here.  Keep consistent
    with truth, handled later as LHCb would: assign wrong mass keeping
    3-momentum unaltered.

NB: This is experimental and gives biased mass resolution (in favour of
LHCb reco).  For plots, see (Bd → DK, Λb → ΛcK, etc):
[[notmuch:id:20140129132708.GA3366@kuru.dyndns-at-home.com]]
Update path to ntuples for local setup
Revert "Frankenstein refit settings"

This reverts commit 2ade4637b203717c5e094d878915ba173f91bbcb.

The rationale is: we see a bias in the mass resolution for the emulated
reco of the order of 20 MeV (latest templates show 50 MeV!).  This is
40% of LHCb mass resolution: ~50 MeV.  The k-factor varies by 2-4%.  So
in the worst case it is a 2-4% change in k-factor.  The affected modes
(where the "Ds" is not a real Ds) contribute little to the yields (<5%),
so overall effect should be very small.
kfactor: dump decay time, pid, and total weight for plot
Spline improvements from P2VV (not yet in SVN)

See: (notmuch-show "id:20140519161717.7dc05bc9@nikhef.nl")
cfit: First attempt at modularisation
cfit: copy WS and GaussianConstraintBuilder

Copy these 2 to utils, also take the opportunity to change to relative
imports for internal modules.
cfit: cleanup
cfit-bs2dsk.py: fix option parsing (use argparse)

- switch option parsing to use argparse
- fix a few exception handlings
- change script structure to make it more debug friendly
cfit-bs2dsk.py: minor option parsing change
cfit: cleaner config parsing
cfit.utils: utility to import attributes from namespace
cfit: add some "salt" to fix ROOT

To use the fixes simply import ROOT from cfit, or cfit.salt