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

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

RooMultiCategory


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

class RooMultiCategory : public RooAbsCategory

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

    protected:
TString currentLabel() const virtual RooCatType evaluate() const void updateIndexList() public:
RooMultiCategory() RooMultiCategory(const char* name, const char* title, const RooArgSet& inputCatList) RooMultiCategory(const RooMultiCategory& other, const char* name = "0") virtual ~RooMultiCategory() static TClass* Class() virtual TObject* clone(const char* newname) const const RooArgSet& inputCatList() 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:
RooSetProxy _catSet Set of input category

Class Description

 RooMultiCategory consolidates several RooAbsCategory objects into
 a single category. The states of the multi-category consist of all the permutations
 of the input categories.

 RooMultiCategory state are automatically defined and updated whenever an input
 category modifies its list of states

RooMultiCategory(const char *name, const char *title, const RooArgSet& inputCatList) : RooAbsCategory(name, title), _catSet("catSet","Input category set",this,kTRUE,kTRUE)
 Constructor from list of input categories

RooMultiCategory(const RooMultiCategory& other, const char *name) : RooAbsCategory(other,name), _catSet("catSet",this,other._catSet)
 Copy constructor

~RooMultiCategory()
 Destructor

void updateIndexList()
 Update the list of super-category states

TString currentLabel() const
 Return the name of the current state,
 constructed from the state names of the input categories

evaluate() const
 Calculate the current value

void printToStream(ostream& os, PrintOption opt, TString indent) const
 Print the state of this object to the specified output stream.

Bool_t readFromStream(istream& /*is*/, Bool_t /*compact*/, Bool_t /*verbose*/)
 Read object contents from given stream

void writeToStream(ostream& os, Bool_t compact) const
 Write object contents to given stream



Inline Functions


        RooMultiCategory RooMultiCategory(const RooMultiCategory& other, const char* name = "0")
                TObject* clone(const char* newname) const
        const RooArgSet& inputCatList() const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
Last CVS Update: v 1.10 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