library: libRooFit #include "RooSuperCategory.h" |
RooSuperCategory
class description - source file - inheritance tree (.pdf)
protected:
TString currentLabel() const
virtual RooCatType evaluate() const
Bool_t setType(const RooCatType* type, Bool_t prinError = kTRUE)
void updateIndexList()
public:
RooSuperCategory()
RooSuperCategory(const char* name, const char* title, const RooArgSet& inputCatList)
RooSuperCategory(const RooSuperCategory& other, const char* name = "0")
virtual ~RooSuperCategory()
static TClass* Class()
virtual TObject* clone(const char* newname) const
virtual Bool_t hasRange(const char* rangeName) const
const RooArgSet& inputCatList() const
virtual Bool_t inRange(const char* rangeName) const
virtual TClass* IsA() const
TIterator* MakeIterator() 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 Bool_t setIndex(Int_t index, Bool_t printError = kTRUE)
virtual Bool_t setLabel(const char* label, Bool_t printError = kTRUE)
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
protected:
RooSetProxy _catSet Set of input category
TIterator* _catIter Iterator over set of input categories
RooSuperCategory(const char *name, const char *title, const RooArgSet& inputCatList) :
RooAbsCategoryLValue(name, title), _catSet("catSet","Input category set",this,kTRUE,kTRUE)
Constructor from list of input categories
RooSuperCategory(const RooSuperCategory& other, const char *name) :
RooAbsCategoryLValue(other,name), _catSet("catSet",this,other._catSet)
Copy constructor
~RooSuperCategory()
Destructor
TIterator* MakeIterator() const
Make an iterator over all state permutations of
the input categories of this supercategory
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
Bool_t setIndex(Int_t index, Bool_t /*printError*/)
Set the value of the super category by specifying the state index code
Indirectly sets the values of the input categories
Bool_t setLabel(const char* label, Bool_t /*printError*/)
Set the value of the super category by specifying the state name
Indirectly sets the values of the input categories
Bool_t setType(const RooCatType* type, Bool_t /*printError*/)
Set the value of the super category by specifying the state object
Indirectly sets the values of the input categories
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
Bool_t inRange(const char* rangeName) const
Return true of all of the input category states are in the given range
Bool_t hasRange(const char* rangeName) const
Inline Functions
RooSuperCategory RooSuperCategory(const RooSuperCategory& 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 update: Tue Jun 28 18:15:22 2005
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.