#ifndef ROO_NORM_MANAGER
#define ROO_NORM_MANAGER
#include "Rtypes.h"
#include "RooNormSetCache.h"
#include "RooAbsReal.h"
#include "RooArgSet.h"
class RooNameSet ;
typedef RooArgSet* pRooArgSet ;
typedef RooAbsReal* pRooAbsReal ;
class RooNormManager {
public:
RooNormManager(Int_t maxSize=10) ;
RooNormManager(const RooNormManager& other) ;
virtual ~RooNormManager() ;
RooAbsReal* getNormalization(const RooAbsArg* self, const RooArgSet* nset, const RooArgSet* iset=0, const TNamed* isetRangeName=0) ;
void setNormalization(const RooAbsArg* self, const RooArgSet* nset, const RooArgSet* iset, const TNamed* isetRangeName, RooAbsReal* norm) ;
inline RooAbsReal* lastNorm() const { return _lastNorm ; }
inline RooArgSet* lastNormSet() const { return _lastNormSet ; }
inline RooNameSet& lastNameSet() const { return *_lastNameSet ; }
RooAbsArg* getNormByIndex(Int_t index) const ;
Int_t cacheSize() const { return _size ; }
const RooNameSet* findNameSet(const RooArgSet* nset) const ;
protected:
Int_t _maxSize ;
Int_t _size ;
RooAbsReal* _lastNorm ;
RooArgSet* _lastNormSet ;
RooNameSet* _lastNameSet ;
RooNormSetCache* _nsetCache ;
pRooAbsReal* _norm ;
ClassDef(RooNormManager,1)
} ;
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.