*** Update roofit/roofitcore and roofit/roofit with latest developments from trunk

In addition to the updates mentioned, roofit/roostats has been updated with selected
namespace std adjustment, following changes in roofit/roofit(core), so that it compiles
clean [ no content changes made ]


=== trunk r46156 ===

 *** Speedup of caching of parameterized integrals ***

  o RooAbsCachedReal

    - Add interface to activate option of RooAbsCachedReal to keep clone of source object in cache for faster operation
      (the downside of this is that future structural changes of the source object will not be detected)

  o RooCachedReal

    - Implement source cloning and persistence (based on code originally in RooAbsReal::fillDataHist)


  o RooAbsPdf

    - in syncNormalization() activate source caching feature for parameterized normalization integrals
 




 *** Improve robustness of level-2 likelihood optimization 'cache-and-track' ***

  o RooVectorDataStore

    - in cachArgs() detect cache-and-track object labeled with a CATCondSet or CATNormSet string label
      and reconstitute the corresponding set of conditional observables / normalization observables
      from the RooNameSet transcript in the label. Fill initial content of cache-and-track elements
      with these labels with the appropriate normalization set and associate the set with the RealVector
      element that is used for future cache updates.

    - In recalculateCache() pick up custom normalization set for conditional product terms as specified
      in cacheArgs


  o RooAbsOptTestStatistic

    - in optimizeConstantTerms() check for non-default normalization specifications of RooProdPdf components
      and if found, transcribe the specification to the component object in a CATCondSet or CATNormSet label
      so that the cache-and-track optimizer can evaluate these according to the RooProdPdf specs.


  o RooProdPdf

    - Make findPdfNSet() public so that RooAbsOptTestStatistic can use it.

 
  o RooNameSet

    - Add content() method as accessor to the payload.





 *** Miscellaneous ***

  o RooAbsGenContext

    - Fix compiler warning


  o RooDataSet

    - In ctor import weight variable of imported dataset if no weight variable is specified
      (fixes Savannah #95641)




=== trunk r46464 ===

 *** Assorted bug fixes (Savannah and otherwise) ***

  o RooDataHist

     - When importing TH1s omit 'average bin density' correction factor as that
       proves to be very uninuitive. (Savannah #96153)


  o RooGlobalFunc

     - Set importDensity by default to kFALSE in Import(TH1&) following
       new convention (Savannah #96153)


  o RooGenFitStudy

     - Save errors of fitted parameters in summary data


  o RooStreamParser

     - Fix parsing issue for variables starting with an 'i' (Savannah #82458)


  o RooPlot

     - Add static interface to control directory auto-attach to allow importing in workspaces
       (Savannah #94239)


  o RooRealBinding

     - In saveXvec()/restoreXvec() also save and restore all buffers of components of
       the bound function to make sure it works fine if components are cached in
       in the likelihood and operate in clean mode.


  o RooVectorDataStore

     - In cacheArgs() and recalculateCache() skip calculation of elements where the
       event weight is zero

     - In the streamer explicit convert stl::vector pointers to an empty collection
       to null pointers to make vector stores with uncertainty work fine after
       persistence (ROOT persistence turns null pointers in to pointers to null
       collections as part of the read-back process) (Savannah #94908) 


  o RooRealSumPdf

     - Elaborate one of the debug print statements


  o RooProduct

     - Change internal storage from set to list and change constructor input argument 
       from set to list to support products of identical terms (Savannah #94925)


  o RooAddition

     - Change constructor input argument from set to list to support products
       of identical terms (Savannah #94925)


  o RooAbsPdf

     - In fitTo() only invoke SUMW2 afterburner if there are >0 free parameters
       (Savannah #92332)


  o RooWorkspace

     - In generic object import() disable auto-attach of RooPlots to gDirectory
       (Savannah #94239)


  o RooListProxy

     - In add() check if _owner is set before calling addServer on it (allows
       operation in schema evolution) (Needed for Savannah #94925)


  o RooFormulaVar

     - Fix documentation (Savannah #93498)


  o LinkDef2

     - Add schema evolution for RooProduct and RooAddition (for Savannah #94925)

=== trunk r46470 ===

fix compiler warnings


=== trunk r46498 ===

o RooAbsData

     - Don't add extra weight variable when split()-ting binned datasets
       (Savannah #93867)


  o RooLinearVar

     - In getBinning(), always create bin mappings on the fly (even
       even createOnTheFly=kFALSE), just don't create ranges in the
       input variable in the latter case (Savannah #82087)


git-svn-id: https://root.cern.ch/svn/root/branches/v5-32-00-patches@46565 27541ba8-7e3a-0410-8455-c3a389f83636