|
||||
File indexing completed on 2025-01-18 10:11:21
0001 /***************************************************************************** 0002 * Project: RooFit * 0003 * Package: RooFitCore * 0004 * File: $Id: RooDataProjBinding.h,v 1.6 2007/05/11 09:11:30 verkerke Exp $ 0005 * Authors: * 0006 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu * 0007 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu * 0008 * * 0009 * Copyright (c) 2000-2005, Regents of the University of California * 0010 * and Stanford University. All rights reserved. * 0011 * * 0012 * Redistribution and use in source and binary forms, * 0013 * with or without modification, are permitted according to the terms * 0014 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * 0015 *****************************************************************************/ 0016 #ifndef ROO_DATA_PROJ_BINDING 0017 #define ROO_DATA_PROJ_BINDING 0018 0019 #include "RooRealBinding.h" 0020 class RooAbsReal ; 0021 class RooAbsData ; 0022 class RooSuperCategory ; 0023 class Roo1DTable ; 0024 0025 class RooDataProjBinding : public RooRealBinding { 0026 public: 0027 RooDataProjBinding(const RooAbsReal &real, const RooAbsData& data, const RooArgSet &vars, const RooArgSet* normSet=nullptr) ; 0028 ~RooDataProjBinding() override ; 0029 0030 double operator()(const double xvector[]) const override; 0031 0032 protected: 0033 0034 mutable bool _first ; ///< Bit indicating if operator() has been called yet 0035 const RooAbsReal* _real ; ///< Real function to be projected 0036 const RooAbsData* _data ; ///< Dataset used for projection 0037 const RooArgSet* _nset ; ///< Normalization set for real function 0038 0039 std::unique_ptr<RooSuperCategory> _superCat; ///< Supercategory constructed from _data's category variables 0040 std::unique_ptr<Roo1DTable> _catTable; ///< Supercategory table generated from _data 0041 0042 ClassDefOverride(RooDataProjBinding,0) // RealFunc/Dataset binding for data projection of a real function 0043 }; 0044 0045 #endif 0046
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |