/***************************************************************************** * Project: RooFit * * Package: RooFitCore * * @(#)root/roofitcore:$Id: RooCacheManager.cxx 21379 2007-12-14 15:12:29Z wouter $ * 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) * *****************************************************************************/ // -- CLASS DESCRIPTION [AUX] -- // Class RooCacheManager manages a cache for lists of normalization/projection integrals // for RooAbsPdf objects. Normalization/projection integrals are always defined by to // RooArgSet pointer containing the set of normalization / projection observables respectively. // // For efficiency reasons these pointer are derefenced as little as possible. This // class contains a lookup table for RooArgSet pointer pairs -> normalization lists. // Distinct pointer pairs that represent the same normalization/projection are recognized // and will all point to the same normalization list. Lists for up to 'maxSize' different normalization/ // projection configurations can be cached. // #include "RooFit.h" #include <vector> #include "RooCacheManager.h" using namespace std ; #ifndef ROOFIT_R__NO_CLASS_TEMPLATE_SPECIALIZATION #define ROOFIT_R__NO_CLASS_TEMPLATE_SPECIALIZATION templateClassImp(RooCacheManager) #endif