Classes | |
| class | CodegenContext |
| A class to maintain the context for squashing of RooFit models into code. More... | |
| struct | CodegenIntegralImplCaller |
| struct | Prio |
Typedefs | |
| using | PrioHighest = Prio<1> |
| using | PrioLowest = Prio<10> |
| using RooFit::Experimental::PrioHighest = Prio<1> |
Definition at line 43 of file CodegenContext.h.
| using RooFit::Experimental::PrioLowest = Prio<10> |
Definition at line 44 of file CodegenContext.h.
| void RooFit::Experimental::codegen | ( | RooAbsArg & | arg, |
| CodegenContext & | ctx ) |
Definition at line 439 of file CodegenContext.cxx.
| void RooFit::Experimental::codegenImpl | ( | ParamHistFunc & | arg, |
| CodegenContext & | ctx ) |
Definition at line 185 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | PiecewiseInterpolation & | arg, |
| CodegenContext & | ctx ) |
Definition at line 193 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooAbsArg & | arg, |
| CodegenContext & | ctx ) |
This function defines a translation for each RooAbsReal based object that can be used to express the class as simple C++ code.
The function adds the code represented by each class as an std::string (that is later concatenated with code strings from translate calls) to form the C++ code that AD tools can understand. Any class that wants to support AD, has to implement this function.
| [in] | ctx | An object to manage auxiliary information for code-squashing. Also takes the code string that this class outputs into the squashed code through the 'addToCodeBody' function. |
Definition at line 272 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooAddition & | arg, |
| CodegenContext & | ctx ) |
Definition at line 378 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooAddPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 280 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooBernstein & | arg, |
| CodegenContext & | ctx ) |
Definition at line 407 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooBifurGauss & | arg, |
| CodegenContext & | ctx ) |
Definition at line 414 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooCategory & | arg, |
| CodegenContext & | ctx ) |
Definition at line 365 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooCBShape & | arg, |
| CodegenContext & | ctx ) |
Definition at line 420 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooChebychev & | arg, |
| CodegenContext & | ctx ) |
Definition at line 426 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooConstraintSum & | arg, |
| CodegenContext & | ctx ) |
Definition at line 443 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooConstVar & | arg, |
| CodegenContext & | ctx ) |
Definition at line 438 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooEfficiency & | arg, |
| CodegenContext & | ctx ) |
Definition at line 556 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooEffProd & | arg, |
| CodegenContext & | ctx ) |
Definition at line 551 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooExponential & | arg, |
| CodegenContext & | ctx ) |
Definition at line 563 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooExtendPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 574 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFit::Detail::RooFixedProdPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 176 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFit::Detail::RooNLLVarNew & | arg, |
| CodegenContext & | ctx ) |
Definition at line 672 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFit::Detail::RooNormalizedPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 721 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFormulaVar & | arg, |
| CodegenContext & | ctx ) |
Definition at line 540 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFunctor1DBinding & | arg, |
| CodegenContext & | ctx ) |
Definition at line 515 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFunctor1DPdfBinding & | arg, |
| CodegenContext & | ctx ) |
Definition at line 520 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFunctorBinding & | arg, |
| CodegenContext & | ctx ) |
Definition at line 525 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooFunctorPdfBinding & | arg, |
| CodegenContext & | ctx ) |
Definition at line 530 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooGamma & | arg, |
| CodegenContext & | ctx ) |
Definition at line 535 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooGaussian & | arg, |
| CodegenContext & | ctx ) |
Definition at line 580 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooGenericPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 586 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooHistFunc & | arg, |
| CodegenContext & | ctx ) |
Definition at line 597 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooHistPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 603 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooLandau & | arg, |
| CodegenContext & | ctx ) |
Definition at line 609 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooLognormal & | arg, |
| CodegenContext & | ctx ) |
Definition at line 614 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooMultiPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 293 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooMultiVarGaussian & | arg, |
| CodegenContext & | ctx ) |
Definition at line 285 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooONNXFunc & | arg, |
| CodegenContext & | ctx ) |
Definition at line 1116 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooParamHistFunc & | arg, |
| CodegenContext & | ctx ) |
Definition at line 758 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooPoisson & | arg, |
| CodegenContext & | ctx ) |
Definition at line 779 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooPolynomial & | arg, |
| CodegenContext & | ctx ) |
Definition at line 799 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooPolyVar & | arg, |
| CodegenContext & | ctx ) |
Definition at line 788 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooProduct & | arg, |
| CodegenContext & | ctx ) |
Definition at line 810 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooRatio & | arg, |
| CodegenContext & | ctx ) |
Definition at line 815 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooRealIntegral & | arg, |
| CodegenContext & | ctx ) |
Definition at line 850 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooRealSumFunc & | arg, |
| CodegenContext & | ctx ) |
Definition at line 903 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooRealSumPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 908 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooRealVar & | arg, |
| CodegenContext & | ctx ) |
Definition at line 913 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooRecursiveFraction & | arg, |
| CodegenContext & | ctx ) |
Definition at line 921 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooSimultaneous & | arg, |
| CodegenContext & | ctx ) |
Definition at line 329 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooStats::HistFactory::FlexibleInterpVar & | arg, |
| CodegenContext & | ctx ) |
Definition at line 926 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooUniform & | arg, |
| CodegenContext & | ctx ) |
Definition at line 952 of file CodegenImpl.cxx.
| void RooFit::Experimental::codegenImpl | ( | RooWrapperPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 957 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | Arg_t & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx, | ||
| Prio< P > | p ) |
Definition at line 174 of file CodegenImpl.h.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooAbsReal & | arg, |
| int | , | ||
| const char * | , | ||
| CodegenContext & | ) |
This function defines the analytical integral translation for the class.
| [in] | code | The code that decides the integrands. |
| [in] | rangeName | Name of the normalization range. |
| [in] | ctx | An object to manage auxiliary information for code-squashing. |
Definition at line 970 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooBernstein & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 978 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooBifurGauss & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 986 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooCBShape & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 995 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooChebychev & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1002 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooEfficiency & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1013 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooExponential & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1018 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooGamma & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1042 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooGaussian & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1052 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooHistFunc & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1077 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooHistPdf & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1082 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooLandau & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1087 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooLognormal & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1097 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooMultiVarGaussian & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1104 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooPoisson & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1131 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooPolynomial & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1158 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooPolyVar & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1146 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooRealSumPdf & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1170 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenIntegralImpl | ( | RooUniform & | arg, |
| int | code, | ||
| const char * | rangeName, | ||
| CodegenContext & | ctx ) |
Definition at line 1176 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenLogImpl | ( | RooAbsArg & | arg, |
| CodegenContext & | ctx ) |
Definition at line 727 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenLogImpl | ( | RooFit::Detail::RooFixedProdPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 732 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenLogImpl | ( | RooFit::Detail::RooNormalizedPdf & | arg, |
| CodegenContext & | ctx ) |
Definition at line 740 of file CodegenImpl.cxx.
| std::string RooFit::Experimental::codegenLogImpl | ( | RooGaussian & | arg, |
| CodegenContext & | ctx ) |
Definition at line 745 of file CodegenImpl.cxx.
| void RooFit::Experimental::declareDispatcherCode | ( | std::string const & | funcName | ) |
Definition at line 374 of file CodegenContext.cxx.
| void RooFit::Experimental::functorCodegenImpl | ( | RooArg_t & | arg, |
| RooArgList const & | variables, | ||
| CodegenContext & | ctx ) |
Definition at line 452 of file CodegenImpl.cxx.
| RooCmdArg RooFit::Experimental::ParallelDescentOptions | ( | bool | enable = false, |
| int | splitStrategy = 0, | ||
| int | numSplits = 0 ) |
Definition at line 129 of file RooGlobalFunc.cxx.
| RooCmdArg RooFit::Experimental::ParallelGradientOptions | ( | bool | enable = true, |
| int | orderStrategy = 0, | ||
| int | chainFactor = 1 ) |
Configuration options for parallel minimization with multiprocessing library.
Definition at line 124 of file RooGlobalFunc.cxx.
| void RooFit::Experimental::writeCodegenDebugMacro | ( | RooAbsReal const & | absReal, |
| std::string const & | name ) |
Definition at line 134 of file RooGlobalFunc.cxx.
|
inline |
Definition at line 84 of file RooGlobalFunc.h.