ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
RooFracRemainder.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* File: $Id$
5
* Authors: *
6
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8
* *
9
* Copyright (c) 2000-2005, Regents of the University of California *
10
* and Stanford University. All rights reserved. *
11
* *
12
* Redistribution and use in source and binary forms, *
13
* with or without modification, are permitted according to the terms *
14
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15
*****************************************************************************/
16
#ifndef ROO_FRAC_REMAINDER
17
#define ROO_FRAC_REMAINDER
18
19
#include "
RooAbsReal.h
"
20
#include "
RooListProxy.h
"
21
22
class
RooRealVar
;
23
class
RooArgList
;
24
25
class
RooFracRemainder
:
public
RooAbsReal
{
26
public
:
27
28
/// Default constructor.
29
RooFracRemainder
() {}
30
RooFracRemainder
(
const
char
*
name
,
const
char
*title,
const
RooArgSet
& sumSet) ;
31
32
RooFracRemainder
(
const
RooFracRemainder
& other,
const
char
*
name
=
nullptr
);
33
TObject
*
clone
(
const
char
* newname)
const override
{
return
new
RooFracRemainder
(*
this
, newname); }
34
35
protected
:
36
37
RooListProxy
_set1
;
///< Set of input fractions
38
39
double
evaluate
()
const override
;
40
41
ClassDefOverride
(
RooFracRemainder
,1)
// Utility function calculating remainder fraction, i.e. 1-sum_i(a_i)
42
};
43
44
#endif
RooAbsReal.h
RooListProxy.h
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
name
char name[80]
Definition
TGX11.cxx:110
RooAbsReal
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition
RooAbsReal.h:59
RooArgList
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition
RooArgList.h:22
RooArgSet
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition
RooArgSet.h:55
RooCollectionProxy< RooArgList >
RooFracRemainder
Calculates the remainder fraction of a sum of RooAbsReal fraction, i.e (1 - sum_i a_i).
Definition
RooFracRemainder.h:25
RooFracRemainder::_set1
RooListProxy _set1
Set of input fractions.
Definition
RooFracRemainder.h:37
RooFracRemainder::evaluate
double evaluate() const override
Calculate value.
Definition
RooFracRemainder.cxx:77
RooFracRemainder::clone
TObject * clone(const char *newname) const override
Definition
RooFracRemainder.h:33
RooFracRemainder::RooFracRemainder
RooFracRemainder()
Default constructor.
Definition
RooFracRemainder.h:29
RooRealVar
Variable that can be changed from the outside.
Definition
RooRealVar.h:37
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
roofit
roofitcore
inc
RooFracRemainder.h
ROOT v6-32 - Reference Guide Generated on Fri Nov 1 2024 15:09:07 (GVA Time) using Doxygen 1.9.8