DsPi script


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169342 4525493e-7705-40b1-a816-d608a930855b
update HHHPi0 and MDFitter toys


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169429 4525493e-7705-40b1-a816-d608a930855b
update HHHPi0 and MDFitter toys


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169431 4525493e-7705-40b1-a816-d608a930855b
update BsDsPi plotting script


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169480 4525493e-7705-40b1-a816-d608a930855b
new MDFitter results


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169543 4525493e-7705-40b1-a816-d608a930855b
Stefano Gallorini: 
                  - Modified MassFitUtils.cxx to add Pi0 truth matching for the hhhpi0 mode
                  - Modified Bs2DsPiConfigForBs2DsKst.py with the new values of signal shapes params after Pi0 truth matching


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169547 4525493e-7705-40b1-a816-d608a930855b
adapt cFit to new MDFitter template naming conventions


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169600 4525493e-7705-40b1-a816-d608a930855b
new kfactor templates


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169606 4525493e-7705-40b1-a816-d608a930855b
Add final steps to k-factor script


git-svn-id: svn+ssh://svn.cern.ch/reps/lhcb/Urania/trunk/PhysFit/B2DXFitters@169621 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).
Add dumped variables (for debugging) to plot
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.