ROOT   Reference Guide
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 *
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
22 Template class RooCacheManager manages the storage of any type of data indexed on
23 the choice of normalization and optionally the set of integrated observables.
24 The purpose of this class is to faciliate storage of intermediate results
25 in operator p.d.f.s whose value and inner working are often highly dependent
26 on the user provided choice of normalization in getVal().
27
28 For efficiency reasons these normalization set pointer are
29 derefenced as little as possible. This class contains a lookup
30 table for RooArgSet pointer pairs -> normalization lists. Distinct
31 pointer pairs that represent the same normalization/projection are
32 recognized and will all point to the same normalization list. Lists
33 for up to 'maxSize' different normalization/ projection
34 configurations can be cached.
35 **/
36 //
37
38 #include "RooFit.h"
39 #include <vector>
40 #include "RooCacheManager.h"
41
42 using namespace std ;
43
44 #ifndef ROOFIT_R__NO_CLASS_TEMPLATE_SPECIALIZATION
45 #define ROOFIT_R__NO_CLASS_TEMPLATE_SPECIALIZATION
47 #endif
48
49
50
51
52
RooCacheManager.h
RooFit.h
templateClassImp
#define templateClassImp(name)
Definition: Rtypes.h:408
RooCacheManager
Template class RooCacheManager manages the storage of any type of data indexed on the choice of norma...
Definition: RooCacheManager.h:36