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 *
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 "RooFit.h"
39#include <vector>
40#include "RooCacheManager.h"
41
42using 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
#define templateClassImp(name)
Definition: Rtypes.h:405
Template class RooCacheManager manages the storage of any type of data indexed on the choice of norma...