Logo ROOT   6.10/09
Reference Guide
RooSharedPropertiesList.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooSharedPropertiesList.h,v 1.2 2007/05/11 09:11:30 verkerke Exp $
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 #ifndef ROO_SHARED_PROPERTY_LIST
17 #define ROO_SHARED_PROPERTY_LIST
18 
19 #include "TObject.h"
20 #include <assert.h>
21 #include "RooRefCountList.h"
22 #include "RooSharedProperties.h"
23 #include <map>
24 
26 public:
27 
29  virtual ~RooSharedPropertiesList() ;
30 
33 
34 protected:
35 
37  std::map<std::string, RooSharedProperties *> _newPropList;
38 
39  ClassDef(RooSharedPropertiesList,0) // Manager for shared properties among clones of certain RooAbsArg-derived types
40 };
41 
42 
43 #endif
A RooRefCountList is a RooLinkedList that keeps a reference counter with each added node...
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:297
RooSharedProperties * registerProperties(RooSharedProperties *, Bool_t canDeleteIncoming=kTRUE)
Register property into list and take ownership.
Class RooSharedProperties is the base class for shared properties that can be stored in RooSharedProp...
void unregisterProperties(RooSharedProperties *)
Decrease reference count of property.
virtual ~RooSharedPropertiesList()
Destructor.
Class RooSharedPropertiesList maintains the properties of RooRealVars and RooCategories that are clon...
Mother of all ROOT objects.
Definition: TObject.h:37
const Bool_t kTRUE
Definition: RtypesCore.h:91
std::map< std::string, RooSharedProperties * > _newPropList