library: libRooFit
#include "RooGenCategory.h"

RooGenCategory


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

class RooGenCategory : public RooAbsCategory

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsArg
<-
RooAbsCategory
<-
RooGenCategory

    protected:
virtual RooCatType evaluate() const TString evalUserFunc(RooArgSet* vars) void initialize() void updateIndexList() public:
RooGenCategory() RooGenCategory(const char* name, const char* title, void* userFunc, RooArgSet& catList) RooGenCategory(const RooGenCategory& other, const char* name = "0") virtual ~RooGenCategory() static TClass* Class() virtual TObject* clone(const char* newname) const virtual TClass* IsA() const virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void writeToStream(ostream& os, Bool_t compact) const

Data Members


    protected:
RooSuperCategory _superCat Super category of input categories RooCategoryProxy _superCatProxy Proxy for super category Int_t* _map ! Super-index to generic-index map TString _userFuncName TMethodCall* _userFunc User function hook Long_t _userArgs

Class Description

RooGenCategory(const char *name, const char *title, void *userFunc, RooArgSet& catList)
 Constructor with pointer to user mapping function and list of input categories
RooGenCategory(const RooGenCategory& other, const char *name)
 Copy constructor
void initialize()
 Initialization function
~RooGenCategory()
 Destructor
TString evalUserFunc(RooArgSet *vars)
 Utility function to evaluate (interpreted) user function
void updateIndexList()
 Update list of states and reevaluate input index code to output index code map
evaluate()
 Calculate current value of object
void printToStream(ostream& os, PrintOption opt, TString indent)
 Print info about this mapped category to the specified stream. In addition to the info
 from RooAbsCategory::printToStream() we add:

  Standard : input category
     Shape : default value
   Verbose : list of mapping rules
void writeToStream(ostream& os, Bool_t compact)
 Write object contents to given stream
inline RooGenCategory()
 Constructors etc.
TObject* clone(const char* newname)
Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose=kFALSE)
 I/O streaming interface (machine readable)

Last update: Tue Jul 11 11:45:40 2006
Copyright (c) 2000-2005, Regents of the University of California *


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.