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
roofit
roofitcore
src
RooRealVarSharedProperties.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
//
19
// BEGIN_HTML
20
// Class RooRealVarSharedProperties is an implementation of RooSharedProperties
21
// that stores the properties of a RooRealVar that are shared among clones.
22
// For RooRealVars these are the definitions of the named ranges.
23
// END_HTML
24
//
25
26
#include "
RooFit.h
"
27
#include "
RooRealVarSharedProperties.h
"
28
#include "
Riostream.h
"
29
30
31
using namespace
std
;
32
33
ClassImp
(
RooRealVarSharedProperties
)
34
;
35
36
37
38
////////////////////////////////////////////////////////////////////////////////
39
/// Default constructor
40
41
RooRealVarSharedProperties::RooRealVarSharedProperties
()
42
{
43
}
44
45
46
////////////////////////////////////////////////////////////////////////////////
47
/// Constructor with unique-id string
48
49
RooRealVarSharedProperties::RooRealVarSharedProperties
(
const
char
* uuidstr) :
RooSharedProperties
(uuidstr)
50
{
51
}
52
53
54
////////////////////////////////////////////////////////////////////////////////
55
/// Copy constructor
56
57
RooRealVarSharedProperties::RooRealVarSharedProperties
(
const
RooRealVarSharedProperties
& other) :
58
RooSharedProperties
(other),
59
_altBinning(other._altBinning)
60
{
61
}
62
63
64
65
////////////////////////////////////////////////////////////////////////////////
66
/// Destructor
67
68
RooRealVarSharedProperties::~RooRealVarSharedProperties
()
69
{
70
_altBinning
.
Delete
() ;
71
}
72
73
RooRealVarSharedProperties::RooRealVarSharedProperties
RooRealVarSharedProperties()
Default constructor.
Definition:
RooRealVarSharedProperties.cxx:41
std
STL namespace.
ClassImp
ClassImp(RooRealVarSharedProperties)
RooSharedProperties
Definition:
RooSharedProperties.h:23
RooRealVarSharedProperties
Definition:
RooRealVarSharedProperties.h:23
Riostream.h
RooLinkedList::Delete
void Delete(Option_t *o=0)
Remove all elements in collection and delete all elements NB: Collection does not own elements...
Definition:
RooLinkedList.cxx:559
RooRealVarSharedProperties.h
RooRealVarSharedProperties::~RooRealVarSharedProperties
virtual ~RooRealVarSharedProperties()
Destructor.
Definition:
RooRealVarSharedProperties.cxx:68
RooRealVarSharedProperties::_altBinning
RooLinkedList _altBinning
Definition:
RooRealVarSharedProperties.h:37
RooFit.h