ROOT
6.18/05
Reference Guide
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
\file RooRealVarSharedProperties.cxx
19
\class RooRealVarSharedProperties
20
\ingroup Roofitcore
21
22
Class RooRealVarSharedProperties is an implementation of RooSharedProperties
23
that stores the properties of a RooRealVar that are shared among clones.
24
For RooRealVars these are the definitions of the named ranges.
25
**/
26
27
#include "
RooFit.h
"
28
#include "
RooRealVarSharedProperties.h
"
29
#include "
Riostream.h
"
30
31
32
using namespace
std;
33
34
ClassImp
(
RooRealVarSharedProperties
);
35
;
36
37
38
39
////////////////////////////////////////////////////////////////////////////////
40
/// Default constructor
41
42
RooRealVarSharedProperties::RooRealVarSharedProperties
()
43
{
44
}
45
46
47
////////////////////////////////////////////////////////////////////////////////
48
/// Constructor with unique-id string
49
50
RooRealVarSharedProperties::RooRealVarSharedProperties
(
const
char
* uuidstr) :
RooSharedProperties
(uuidstr)
51
{
52
}
53
54
55
////////////////////////////////////////////////////////////////////////////////
56
/// Copy constructor
57
58
RooRealVarSharedProperties::RooRealVarSharedProperties
(
const
RooRealVarSharedProperties
& other) :
59
RooSharedProperties
(other),
60
_altBinning(other._altBinning)
61
{
62
}
63
64
65
66
////////////////////////////////////////////////////////////////////////////////
67
/// Destructor
68
69
RooRealVarSharedProperties::~RooRealVarSharedProperties
()
70
{
71
_altBinning
.
Delete
() ;
72
}
73
74
Riostream.h
RooFit.h
RooRealVarSharedProperties.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:365
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:586
RooRealVarSharedProperties
Class RooRealVarSharedProperties is an implementation of RooSharedProperties that stores the properti...
Definition:
RooRealVarSharedProperties.h:23
RooRealVarSharedProperties::RooRealVarSharedProperties
RooRealVarSharedProperties()
Default constructor.
Definition:
RooRealVarSharedProperties.cxx:42
RooRealVarSharedProperties::_altBinning
RooLinkedList _altBinning
Definition:
RooRealVarSharedProperties.h:37
RooRealVarSharedProperties::~RooRealVarSharedProperties
virtual ~RooRealVarSharedProperties()
Destructor.
Definition:
RooRealVarSharedProperties.cxx:69
RooSharedProperties
Class RooSharedProperties is the base class for shared properties that can be stored in RooSharedProp...
Definition:
RooSharedProperties.h:23