Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooNormManager.hh"

RooNormManager


class description - source file - inheritance tree (.pdf)

class RooNormManager

Inheritance Chart:
RooNormManager

    public:
RooNormManager(Int_t maxSize = 10) RooNormManager(const RooNormManager& other) virtual ~RooNormManager() Int_t cacheSize() const static TClass* Class() const RooNameSet* findNameSet(const RooArgSet* nset) const RooAbsReal* getNormalization(const RooAbsArg* self, const RooArgSet* nset, const RooArgSet* iset = 0, const TNamed* isetRangeName = 0) RooAbsArg* getNormByIndex(Int_t index) const virtual TClass* IsA() const RooNameSet& lastNameSet() const RooAbsReal* lastNorm() const RooArgSet* lastNormSet() const RooNormManager& operator=(const RooNormManager&) void setNormalization(const RooAbsArg* self, const RooArgSet* nset, const RooArgSet* iset, const TNamed* isetRangeName, RooAbsReal* norm) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t _maxSize Int_t _size RooAbsReal* _lastNorm RooArgSet* _lastNormSet RooNameSet* _lastNameSet RooNormSetCache* _nsetCache ! RooAbsReal** _norm !

Class Description

 Class RooNormManager manages a cache for 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 integrals
 Distinct pointer pairs that represent the same normalization/projection are recognized
 and will all point to the same normalization object. Up to 'maxSize' different normalization
 projection configurations can be cached.


RooNormManager(Int_t maxSize)

RooNormManager(const RooNormManager& other)

~RooNormManager()

RooAbsArg* getNormByIndex(Int_t index) const

void setNormalization(const RooAbsArg* self, const RooArgSet* nset, const RooArgSet* iset, const TNamed* isetRangeName, RooAbsReal* norm)
 Check if normalization is already registered

RooAbsReal* getNormalization(const RooAbsArg* self, const RooArgSet* nset, const RooArgSet* iset, const TNamed* isetRangeName)

const RooNameSet* findNameSet(const RooArgSet* nset) const



Inline Functions


            RooAbsReal* lastNorm() const
             RooArgSet* lastNormSet() const
            RooNameSet& lastNameSet() const
                  Int_t cacheSize() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        RooNormManager& operator=(const RooNormManager&)
Last CVS Update: v 1.12 2005/06/20 15:44:55 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo