ROOT logo
/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 *    File: $Id: RooSharedPropertiesList.h,v 1.2 2007/05/11 09:11:30 verkerke Exp $
 * Authors:                                                                  *
 *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
 *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/
#ifndef ROO_SHARED_PROPERTY_LIST
#define ROO_SHARED_PROPERTY_LIST

#include "TObject.h"
#include <assert.h>
#include "RooRefCountList.h"
#include "RooSharedProperties.h"

class RooSharedPropertiesList : public TObject {
public:

  RooSharedPropertiesList() ;
  virtual ~RooSharedPropertiesList() ;

  RooSharedProperties* registerProperties(RooSharedProperties*, Bool_t canDeleteIncoming=kTRUE) ;
  void unregisterProperties(RooSharedProperties*) ;

protected:

  RooRefCountList _propList ;

  ClassDef(RooSharedPropertiesList,0) // Manager for shared properties among clones of certain RooAbsArg-derived types
};


#endif
 RooSharedPropertiesList.h:1
 RooSharedPropertiesList.h:2
 RooSharedPropertiesList.h:3
 RooSharedPropertiesList.h:4
 RooSharedPropertiesList.h:5
 RooSharedPropertiesList.h:6
 RooSharedPropertiesList.h:7
 RooSharedPropertiesList.h:8
 RooSharedPropertiesList.h:9
 RooSharedPropertiesList.h:10
 RooSharedPropertiesList.h:11
 RooSharedPropertiesList.h:12
 RooSharedPropertiesList.h:13
 RooSharedPropertiesList.h:14
 RooSharedPropertiesList.h:15
 RooSharedPropertiesList.h:16
 RooSharedPropertiesList.h:17
 RooSharedPropertiesList.h:18
 RooSharedPropertiesList.h:19
 RooSharedPropertiesList.h:20
 RooSharedPropertiesList.h:21
 RooSharedPropertiesList.h:22
 RooSharedPropertiesList.h:23
 RooSharedPropertiesList.h:24
 RooSharedPropertiesList.h:25
 RooSharedPropertiesList.h:26
 RooSharedPropertiesList.h:27
 RooSharedPropertiesList.h:28
 RooSharedPropertiesList.h:29
 RooSharedPropertiesList.h:30
 RooSharedPropertiesList.h:31
 RooSharedPropertiesList.h:32
 RooSharedPropertiesList.h:33
 RooSharedPropertiesList.h:34
 RooSharedPropertiesList.h:35
 RooSharedPropertiesList.h:36
 RooSharedPropertiesList.h:37
 RooSharedPropertiesList.h:38
 RooSharedPropertiesList.h:39
 RooSharedPropertiesList.h:40
 RooSharedPropertiesList.h:41