RooAICRegistry.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooAICRegistry.h,v 1.11 2007/05/11 09:11:30 verkerke Exp $
00005  * Authors:                                                                  *
00006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
00007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00008  *                                                                           *
00009  * Copyright (c) 2000-2005, Regents of the University of California          *
00010  *                          and Stanford University. All rights reserved.    *
00011  *                                                                           *
00012  * Redistribution and use in source and binary forms,                        *
00013  * with or without modification, are permitted according to the terms        *
00014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00015  *****************************************************************************/
00016 #ifndef ROO_AIC_REGISTRY
00017 #define ROO_AIC_REGISTRY
00018 
00019 #include "Riosfwd.h"
00020 #include <assert.h>
00021 #include "Rtypes.h"
00022 class RooArgSet ;
00023 
00024 typedef Int_t* pInt_t ;
00025 typedef RooArgSet* pRooArgSet ;
00026 
00027 class RooAICRegistry {
00028 
00029 public:
00030   RooAICRegistry(Int_t regSize=10) ;
00031   RooAICRegistry(const RooAICRegistry& other) ;
00032   virtual ~RooAICRegistry() ;
00033 
00034   Int_t store(Int_t* codeList, Int_t size, RooArgSet* set1=0, RooArgSet* set2=0, RooArgSet* set3=0, RooArgSet* set4=0) ;
00035   const Int_t* retrieve(Int_t masterCode) const ;
00036   const Int_t* retrieve(Int_t masterCode, pRooArgSet& set1) const ;
00037   const Int_t* retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2) const ;
00038   const Int_t* retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2, pRooArgSet& set3, pRooArgSet& set4) const ;
00039 
00040 protected:
00041 
00042   Int_t _regSize ;      // Size of registry
00043   Int_t* _clSize;       //! Array is size of code lists
00044   pInt_t* _clArr;       //! Array of array of code lists
00045   pRooArgSet* _asArr1;  //! Array of 1st RooArgSet pointers
00046   pRooArgSet* _asArr2;  //! Array of 2nd RooArgSet pointers
00047   pRooArgSet* _asArr3;  //! Array of 3rd RooArgSet pointers
00048   pRooArgSet* _asArr4;  //! Array of 4th RooArgSet pointers
00049 
00050   ClassDef(RooAICRegistry,1) // Registry for analytical integration codes
00051 } ;
00052 
00053 #endif 

Generated on Tue Jul 5 14:26:04 2011 for ROOT_528-00b_version by  doxygen 1.5.1