Loading [MathJax]/extensions/tex2jax.js
ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
roofit
roofitcore
src
RooAbsProxy.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
#include "
RooFit.h
"
18
19
#include "
Riostream.h
"
20
#include "
RooAbsProxy.h
"
21
#include "
RooAbsProxy.h
"
22
#include "
RooArgSet.h
"
23
#include "
RooAbsArg.h
"
24
25
//////////////////////////////////////////////////////////////////////////////
26
//
27
// BEGIN_HTML
28
// RooAbsProxy is the abstact interface for proxy classes.
29
// Proxy classes hold pointers to other Roofit objects
30
// and process serverRedirect changes so that the proxied
31
// pointers are updated accordingly on a clone or copy of
32
// of the owning class
33
// END_HTML
34
//
35
36
37
using namespace
std
;
38
39
ClassImp
(
RooAbsProxy
)
40
;
41
42
43
////////////////////////////////////////////////////////////////////////////////
44
/// Constructor
45
46
RooAbsProxy::RooAbsProxy
() : _nset(0)
47
{
48
}
49
50
51
52
////////////////////////////////////////////////////////////////////////////////
53
/// Copy constructor
54
55
RooAbsProxy::RooAbsProxy
(
const
char
*
/*name*/
,
const
RooAbsProxy
& other) :
56
_nset(other._nset)
57
{
58
}
59
60
61
////////////////////////////////////////////////////////////////////////////////
62
/// Destructor
63
64
void
RooAbsProxy::changeNormSet
(
const
RooArgSet
* newNormSet)
65
{
66
_nset
= (
RooArgSet
*) newNormSet ;
67
}
68
69
70
71
////////////////////////////////////////////////////////////////////////////////
72
/// Print proxy name
73
74
void
RooAbsProxy::print
(ostream& os,
Bool_t
/*addContents*/
)
const
75
{
76
os <<
name
() << endl ;
77
}
RooAbsProxy::print
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print proxy name.
Definition:
RooAbsProxy.cxx:74
RooArgSet.h
RooArgSet
Definition:
RooArgSet.h:26
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
std
STL namespace.
RooAbsProxy.h
RooAbsProxy::_nset
RooArgSet * _nset
Definition:
RooAbsProxy.h:55
RooAbsProxy
Definition:
RooAbsProxy.h:32
RooAbsProxy::changeNormSet
virtual void changeNormSet(const RooArgSet *newNormSet)
Destructor.
Definition:
RooAbsProxy.cxx:64
ClassImp
ClassImp(RooAbsProxy)
RooAbsProxy::name
virtual const char * name() const
Definition:
RooAbsProxy.h:42
Riostream.h
RooAbsArg.h
RooAbsProxy::RooAbsProxy
RooAbsProxy()
Constructor.
Definition:
RooAbsProxy.cxx:46
RooFit.h