ROOT logo
 /***************************************************************************** 
  * Project: RooFit                                                           * 
  *                                                                           * 
  * Copyright (c) 2000-2005, Regents of the University of California          * 
  *                          and Stanford University. All rights reserved.    * 
  *                                                                           * 
  * Redistribution and use in source and binary forms,                        * 
  * with or without modification, are permitted according to the terms        * 
  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             * 
  *****************************************************************************/ 

//////////////////////////////////////////////////////////////////////////////
//
// BEGIN_HTML
// Class RooNumCdf is an implementation of RooNumRunningInt specialized
// to calculate cumulative distribution functions from p.d.f.s. The main
// difference between RooNumCdf and RooNumRunningInt is that this class
// imposes special end-point conditions on the interpolated histogram
// that represents the output so that the value at the lower bound is
// guaranteed to converge to exactly zero and that the value at the
// upper bound is guaranteed to converge to exactly one, at all interpolation
// orders.
// END_HTML
//

#include "Riostream.h" 

#include "RooAbsPdf.h"
#include "RooNumCdf.h" 
#include "RooAbsReal.h" 
#include "RooMsgService.h"
#include "RooDataHist.h"
#include "RooHistPdf.h"
#include "RooRealVar.h"

ClassImp(RooNumCdf) 
  ;



//_____________________________________________________________________________
RooNumCdf::RooNumCdf(const char *name, const char *title, RooAbsPdf& _pdf, RooRealVar& _x, const char* bname) :
   RooNumRunningInt(name,title,_pdf,_x,bname)
 { 
   // Construct a cumulative distribution function from given input p.d.f over observable x.
   // using a numeric sampling algorithm. Use binning named 'bname' to control sampling
   // granularity
 } 



//_____________________________________________________________________________
RooNumCdf::RooNumCdf(const RooNumCdf& other, const char* name) :  
   RooNumRunningInt(other,name)
 { 
   // Copy constructor
 } 



//_____________________________________________________________________________
RooNumCdf::~RooNumCdf() 
{
  // Destructor
}



//_____________________________________________________________________________
void RooNumCdf::fillCacheObject(RooAbsCachedReal::FuncCacheElem& cache) const 
{
  // Fill cache using running integral cache elements calculate()
  // method with specification of cdf-specific boundary conditions

  RICacheElem& riCache = static_cast<RICacheElem&>(cache) ;  
  riCache.calculate(kTRUE) ;
}


 RooNumCdf.cxx:1
 RooNumCdf.cxx:2
 RooNumCdf.cxx:3
 RooNumCdf.cxx:4
 RooNumCdf.cxx:5
 RooNumCdf.cxx:6
 RooNumCdf.cxx:7
 RooNumCdf.cxx:8
 RooNumCdf.cxx:9
 RooNumCdf.cxx:10
 RooNumCdf.cxx:11
 RooNumCdf.cxx:12
 RooNumCdf.cxx:13
 RooNumCdf.cxx:14
 RooNumCdf.cxx:15
 RooNumCdf.cxx:16
 RooNumCdf.cxx:17
 RooNumCdf.cxx:18
 RooNumCdf.cxx:19
 RooNumCdf.cxx:20
 RooNumCdf.cxx:21
 RooNumCdf.cxx:22
 RooNumCdf.cxx:23
 RooNumCdf.cxx:24
 RooNumCdf.cxx:25
 RooNumCdf.cxx:26
 RooNumCdf.cxx:27
 RooNumCdf.cxx:28
 RooNumCdf.cxx:29
 RooNumCdf.cxx:30
 RooNumCdf.cxx:31
 RooNumCdf.cxx:32
 RooNumCdf.cxx:33
 RooNumCdf.cxx:34
 RooNumCdf.cxx:35
 RooNumCdf.cxx:36
 RooNumCdf.cxx:37
 RooNumCdf.cxx:38
 RooNumCdf.cxx:39
 RooNumCdf.cxx:40
 RooNumCdf.cxx:41
 RooNumCdf.cxx:42
 RooNumCdf.cxx:43
 RooNumCdf.cxx:44
 RooNumCdf.cxx:45
 RooNumCdf.cxx:46
 RooNumCdf.cxx:47
 RooNumCdf.cxx:48
 RooNumCdf.cxx:49
 RooNumCdf.cxx:50
 RooNumCdf.cxx:51
 RooNumCdf.cxx:52
 RooNumCdf.cxx:53
 RooNumCdf.cxx:54
 RooNumCdf.cxx:55
 RooNumCdf.cxx:56
 RooNumCdf.cxx:57
 RooNumCdf.cxx:58
 RooNumCdf.cxx:59
 RooNumCdf.cxx:60
 RooNumCdf.cxx:61
 RooNumCdf.cxx:62
 RooNumCdf.cxx:63
 RooNumCdf.cxx:64
 RooNumCdf.cxx:65
 RooNumCdf.cxx:66
 RooNumCdf.cxx:67
 RooNumCdf.cxx:68
 RooNumCdf.cxx:69
 RooNumCdf.cxx:70
 RooNumCdf.cxx:71
 RooNumCdf.cxx:72
 RooNumCdf.cxx:73
 RooNumCdf.cxx:74
 RooNumCdf.cxx:75
 RooNumCdf.cxx:76
 RooNumCdf.cxx:77
 RooNumCdf.cxx:78
 RooNumCdf.cxx:79