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