![]() |
![]()
|
RooSuperCategoryclass description - source file - inheritance tree (.pdf) class RooSuperCategory : public RooAbsCategoryLValue
protected:
Data Members
protected:
Class DescriptionRooSuperCategory consolidates several RooAbsCategoryLValue objects into a single category. The states of the super category consist of all the permutations of the input categories. The super category is an lvalue itself and a modification of its state will back propagate into a modification of its input categories. RooSuperCategory state are automatically defined and updated whenever an input category modifies its list of states 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)
|
|
Page maintained by Wouter Verkerke and David Kirkby |
|


Docs