Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:21

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitCore                                                       *
0004  *    File: $Id: RooDirItem.h,v 1.6 2007/05/11 09:11:30 verkerke Exp $
0005  * Authors:                                                                  *
0006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
0007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
0008  *                                                                           *
0009  * Copyright (c) 2000-2005, Regents of the University of California          *
0010  *                          and Stanford University. All rights reserved.    *
0011  *                                                                           *
0012  * Redistribution and use in source and binary forms,                        *
0013  * with or without modification, are permitted according to the terms        *
0014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0015  *****************************************************************************/
0016 #ifndef ROO_DIR_ITEM
0017 #define ROO_DIR_ITEM
0018 
0019 #include "Rtypes.h"
0020 class TDirectory ;
0021 
0022 class RooDirItem {
0023 public:
0024   RooDirItem() { }
0025   RooDirItem(const RooDirItem&) { }
0026   virtual ~RooDirItem() { }
0027 
0028 protected:
0029 
0030   void appendToDir(TObject* obj, bool forceMemoryResident=false) ;
0031   void removeFromDir(TObject* obj) ;
0032 
0033   TDirectory* _dir{nullptr}; ///<! Associated directory
0034   ClassDef(RooDirItem,1)     ///< Base class for RooFit objects that are listed TDirectories
0035 };
0036 
0037 #endif