|
||||
File indexing completed on 2025-01-18 10:11:22
0001 /***************************************************************************** 0002 * Project: RooFit * 0003 * Package: RooFitCore * 0004 * File: $Id$ 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_FRAC_REMAINDER 0017 #define ROO_FRAC_REMAINDER 0018 0019 #include "RooAbsReal.h" 0020 #include "RooListProxy.h" 0021 0022 class RooRealVar; 0023 class RooArgList ; 0024 0025 class RooFracRemainder : public RooAbsReal { 0026 public: 0027 0028 /// Default constructor. 0029 RooFracRemainder() {} 0030 RooFracRemainder(const char *name, const char *title, const RooArgSet& sumSet) ; 0031 0032 RooFracRemainder(const RooFracRemainder& other, const char* name = nullptr); 0033 TObject* clone(const char* newname) const override { return new RooFracRemainder(*this, newname); } 0034 0035 protected: 0036 0037 RooListProxy _set1 ; ///< Set of input fractions 0038 0039 double evaluate() const override; 0040 0041 ClassDefOverride(RooFracRemainder,1) // Utility function calculating remainder fraction, i.e. 1-sum_i(a_i) 0042 }; 0043 0044 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |