ROOT
master
Reference Guide
Loading...
Searching...
No Matches
RooAbsMoment.cxx
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* @(#)root/roofitcore:$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
17
/**
18
\file RooAbsMoment.cxx
19
\class RooAbsMoment
20
\ingroup Roofitcore
21
**/
22
23
#include <
RooAbsMoment.h
>
24
#include <
RooRealVar.h
>
25
26
////////////////////////////////////////////////////////////////////////////////
27
28
RooAbsMoment::RooAbsMoment
(
const
char
*
name
,
const
char
* title,
RooAbsReal
& func,
RooRealVar
&
x
,
Int_t
orderIn
,
bool
takeRoot
) :
29
RooAbsReal
(
name
, title),
30
_order(
orderIn
),
31
_takeRoot(
takeRoot
),
32
_nset(
"nset"
,
"nset"
,
this
,
false
,
false
),
33
_func(
"function"
,
"function"
,
this
,func,
false
,
false
),
34
_x(
"x"
,
"x"
,
this
,
x
,
false
,
false
),
35
_mean(
"!mean"
,
"!mean"
,
this
,
false
,
false
)
36
{
37
}
38
39
40
////////////////////////////////////////////////////////////////////////////////
41
42
RooAbsMoment::RooAbsMoment
(
const
RooAbsMoment
&
other
,
const
char
*
name
) :
43
RooAbsReal
(
other
,
name
),
44
_order(
other
._order),
45
_takeRoot(
other
._takeRoot),
46
_nset(
"nset"
,
this
,
other
._nset),
47
_func(
"function"
,
this
,
other
._func),
48
_x(
"x"
,
this
,
other
._x),
49
_mean(
"!mean"
,
"!mean"
,
this
,
false
,
false
)
50
{
51
}
RooAbsMoment.h
RooRealVar.h
name
char name[80]
Definition
TGX11.cxx:142
ROOT::Detail::TRangeCast
Definition
TCollection.h:312
RooAbsMoment
Definition
RooAbsMoment.h:27
RooAbsMoment::RooAbsMoment
RooAbsMoment()=default
RooAbsReal
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition
RooAbsReal.h:63
RooRealVar
Variable that can be changed from the outside.
Definition
RooRealVar.h:37
int
x
Double_t x[n]
Definition
legend1.C:17
roofit
roofitcore
src
RooAbsMoment.cxx
ROOTmaster - Reference Guide Generated on Sat Sep 12 2026 05:00:49 (GVA Time) using Doxygen 1.10.0