major code cleanup and update, see release notes


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@171989 4525493e-7705-40b1-a816-d608a930855b
Minor fix after major change


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@171991 4525493e-7705-40b1-a816-d608a930855b
Minor fix: k-factor plotting script


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@171992 4525493e-7705-40b1-a816-d608a930855b
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.
Try emulated reco of Ds using Rose's idea