48 _propList.setHashTableSize(1000);
59 RooFIter iter = _propList.fwdIterator() ;
96 std::map<std::string, RooSharedProperties *>::iterator it;
98 it = _newPropList.find( std::string(prop->
asString()) );
99 if (it != _newPropList.end() ) {
103 if (canDeleteIncoming)
delete prop;
110 _newPropList[ std::string(prop->
asString()) ] = prop;
126 _propList.Remove(prop) ;
128 std::map<std::string, RooSharedProperties *>::iterator it;
129 it = _newPropList.find( std::string(prop->
asString()) );
130 if (it != _newPropList.end() ) _newPropList.erase(it);
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...
RooSharedPropertiesList()
Constructor.
void unregisterProperties(RooSharedProperties *)
Decrease reference count of property.
virtual ~RooSharedPropertiesList()
Destructor.
Bool_t inSharedList() const
Class RooSharedPropertiesList maintains the properties of RooRealVars and RooCategories that are clon...
Mother of all ROOT objects.