Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-15 09:09:41

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  *                                                                           *
0004  * Copyright (c) 2000-2005, Regents of the University of California          *
0005  *                          and Stanford University. All rights reserved.    *
0006  *                                                                           *
0007  * Redistribution and use in source and binary forms,                        *
0008  * with or without modification, are permitted according to the terms        *
0009  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0010  *****************************************************************************/
0011 
0012 #ifndef ROONUMCDF
0013 #define ROONUMCDF
0014 
0015 #include "RooNumRunningInt.h"
0016 
0017 class RooNumCdf : public RooNumRunningInt {
0018 public:
0019   RooNumCdf(const char *name, const char *title, RooAbsPdf& _pdf, RooRealVar& _x, const char* binningName="cache");
0020   RooNumCdf(const RooNumCdf& other, const char* name=nullptr) : RooNumRunningInt{other, name} {}
0021   TObject* clone(const char* newname) const override { return new RooNumCdf(*this,newname); }
0022 
0023 protected:
0024 
0025   void fillCacheObject(FuncCacheElem& cacheFunc) const override ;
0026 
0027 private:
0028 
0029   ClassDefOverride(RooNumCdf,1) // Numeric calculator for CDF for a given PDF
0030 
0031 };
0032 
0033 #endif