Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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"
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