Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/RooAICRegistry.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitCore                                                       *
0004  *    File: $Id: RooAICRegistry.h,v 1.11 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_AIC_REGISTRY
0017 #define ROO_AIC_REGISTRY
0018 
0019 #include <vector>
0020 #include "Rtypes.h"
0021 
0022 class RooArgSet;
0023 
0024 typedef RooArgSet* pRooArgSet ;
0025 
0026 class RooAICRegistry {
0027 
0028 public:
0029   RooAICRegistry(UInt_t size = 10) ;
0030   RooAICRegistry(const RooAICRegistry& other) ;
0031   virtual ~RooAICRegistry() ;
0032 
0033   Int_t store(const std::vector<Int_t>& codeList, RooArgSet* set1 = nullptr, RooArgSet* set2 = nullptr,
0034               RooArgSet* set3 = nullptr, RooArgSet* set4 = nullptr) ;
0035   const std::vector<Int_t>& retrieve(Int_t masterCode) const ;
0036   const std::vector<Int_t>&  retrieve(Int_t masterCode, pRooArgSet& set1) const ;
0037   const std::vector<Int_t>&  retrieve(Int_t masterCode, pRooArgSet& set1, pRooArgSet& set2) const ;
0038   const std::vector<Int_t>&  retrieve(Int_t masterCode, pRooArgSet& set1,
0039                                       pRooArgSet& set2, pRooArgSet& set3, pRooArgSet& set4) const ;
0040 
0041 protected:
0042 
0043   std::vector<std::vector<Int_t> > _clArr; ///<! Array of array of code lists
0044   std::vector<pRooArgSet> _asArr1;         ///<! Array of 1st RooArgSet pointers
0045   std::vector<pRooArgSet> _asArr2;         ///<! Array of 2nd RooArgSet pointers
0046   std::vector<pRooArgSet> _asArr3;         ///<! Array of 3rd RooArgSet pointers
0047   std::vector<pRooArgSet> _asArr4;         ///<! Array of 4th RooArgSet pointers
0048 
0049   ClassDef(RooAICRegistry,2) // Registry for analytical integration codes
0050 } ;
0051 
0052 #endif