Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooCacheManager.cxx
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * @(#)root/roofitcore:$Id$
5 * Authors: *
6 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8 * *
9 * Copyright (c) 2000-2005, Regents of the University of California *
10 * and Stanford University. All rights reserved. *
11 * *
12 * Redistribution and use in source and binary forms, *
13 * with or without modification, are permitted according to the terms *
14 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15 *****************************************************************************/
16
17/**
18\file RooCacheManager.cxx
19\class RooCacheManager
20\ingroup Roofitcore
21
22Template class RooCacheManager manages the storage of any type of data indexed on
23the choice of normalization and optionally the set of integrated observables.
24The purpose of this class is to faciliate storage of intermediate results
25in operator p.d.f.s whose value and inner working are often highly dependent
26on the user provided choice of normalization in getVal().
27
28For efficiency reasons these normalization set pointer are
29derefenced as little as possible. This class contains a lookup
30table for RooArgSet pointer pairs -> normalization lists. Distinct
31pointer pairs that represent the same normalization/projection are
32recognized and will all point to the same normalization list. Lists
33for up to 'maxSize' different normalization/ projection
34configurations can be cached.
35**/
36//
37
38#include <vector>
39#include "RooCacheManager.h"
40
41using namespace std ;
42
43#ifndef ROOFIT_R__NO_CLASS_TEMPLATE_SPECIALIZATION
44#define ROOFIT_R__NO_CLASS_TEMPLATE_SPECIALIZATION
46#endif
47
48
49
50
51
#define templateClassImp(name)
Definition Rtypes.h:422
Template class RooCacheManager manages the storage of any type of data indexed on the choice of norma...