library: libRooFit
#include "RooAbsCategory.h"


class description - header file - source file
viewCVS header - viewCVS source

class RooAbsCategory: public RooAbsArg

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
voidRooAbsArg::attachDataSet(const RooAbsData& set)
TIterator*RooAbsArg::attribIterator() const
voidRooAbsArg::branchNodeServerList(RooAbsCollection* list, const RooAbsArg* arg = 0) const
virtual voidTObject::Browse(TBrowser* b)
Bool_tRooAbsArg::checkDependents(const RooArgSet* nset) const
virtual Bool_tRooAbsArg::checkObservables(const RooArgSet* nset) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
TIterator*RooAbsArg::clientIterator() const
virtual TObject*RooAbsArg::clone(const char* newname) const
virtual TObject*RooAbsArg::Clone(const char* newname = "0") const
virtual Int_tRooAbsArg::Compare(const TObject* other) const
virtual voidRooAbsArg::constOptimize(RooAbsArg::ConstOpCode opcode)
virtual voidTNamed::Copy(TObject& named) const
static voidRooAbsArg::copyList(TList& dest, const TList& source)
virtual RooAbsArg*createFundamental(const char* newname = "0") const
Roo1DTable*createTable(const char* label) const
static ostream&RooPrintable::defaultStream(ostream* os = 0)
virtual voidTObject::Delete(Option_t* option = "")
Bool_tRooAbsArg::deleteWatch() const
Bool_tRooAbsArg::dependentOverlaps(const RooAbsData* dset, const RooAbsArg& testArg) const
Bool_tRooAbsArg::dependentOverlaps(const RooArgSet* depList, const RooAbsArg& testArg) const
Bool_tRooAbsArg::dependsOn(const RooAbsCollection& serverList, const RooAbsArg* ignoreArg = 0) const
Bool_tRooAbsArg::dependsOn(const RooAbsArg& server, const RooAbsArg* ignoreArg = 0) const
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
RooAbsArg*RooAbsArg::findServer(const char* name) const
RooAbsArg*RooAbsArg::findServer(const RooAbsArg& arg) const
RooAbsArg*RooAbsArg::findServer(Int_t index) const
Bool_tRooAbsArg::getAttribute(const Text_t* name) const
RooLinkedListRooAbsArg::getCloningAncestors() const
RooArgSet*RooAbsArg::getComponents() const
RooArgSet*RooAbsArg::getDependents(const RooArgSet& set) const
RooArgSet*RooAbsArg::getDependents(const RooAbsData* set) const
RooArgSet*RooAbsArg::getDependents(const RooArgSet* depList) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual Int_tgetIndex() const
virtual const char*getLabel() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
RooArgSet*RooAbsArg::getObservables(const RooArgSet& set) const
RooArgSet*RooAbsArg::getObservables(const RooAbsData* data) const
RooArgSet*RooAbsArg::getObservables(const RooAbsData& data) const
virtual RooArgSet*RooAbsArg::getObservables(const RooArgSet* depList) const
virtual Option_t*TObject::GetOption() const
RooArgSet*RooAbsArg::getParameters(const RooAbsData* data) const
RooArgSet*RooAbsArg::getParameters(const RooAbsData& data) const
RooArgSet*RooAbsArg::getParameters(const RooArgSet& set) const
virtual RooArgSet*RooAbsArg::getParameters(const RooArgSet* depList) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
RooArgSet*RooAbsArg::getVariables() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual Bool_tRooAbsArg::hasRange(const char*) const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
static voidRooPrintable::inLinePrint(ostream& os, const TNamed& named)
virtual Bool_tRooAbsArg::inRange(const char*) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tRooAbsArg::isCloneOf(const RooAbsArg& other) const
Bool_tRooAbsArg::isConstant() const
virtual Bool_tRooAbsArg::isDerived() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tRooAbsArg::isFundamental() const
virtual Bool_tisIntegrationSafeLValue(const RooArgSet*) const
virtual Bool_tRooAbsArg::isLValue() const
Bool_tTObject::IsOnHeap() const
Bool_tRooAbsArg::isShapeServer(const RooAbsArg& arg) const
Bool_tRooAbsArg::isShapeServer(const char* name) const
Bool_tisSignType(Bool_t mustHaveZero = kFALSE) const
virtual Bool_tRooAbsArg::IsSortable() const
Bool_tisValidIndex(Int_t index) const
Bool_tisValidLabel(const char* label) const
Bool_tRooAbsArg::isValueServer(const RooAbsArg& arg) const
Bool_tRooAbsArg::isValueServer(const char* name) const
Bool_tTObject::IsZombie() const
voidRooAbsArg::leafNodeServerList(RooAbsCollection* list, const RooAbsArg* arg = 0) const
RooPrintable::PrintOptionRooPrintable::lessVerbose(RooPrintable::PrintOption opt) const
const RooCatType*lookupType(Int_t index, Bool_t printError = kFALSE) const
const RooCatType*lookupType(const char* label, Bool_t printError = kFALSE) const
const RooCatType*lookupType(const RooCatType& type, Bool_t printError = kFALSE) const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
static voidRooAbsArg::nameFieldLength(Int_t newLen)
virtual Bool_tTObject::Notify()
Int_tnumTypes() const
Bool_tRooAbsArg::observableOverlaps(const RooAbsData* dset, const RooAbsArg& testArg) const
Bool_tRooAbsArg::observableOverlaps(const RooArgSet* depList, const RooAbsArg& testArg) const
static voidRooPrintable::oneLinePrint(ostream& os, const TNamed& named)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
Bool_toperator!=(Int_t index)
Bool_toperator!=(const char* label)
Bool_toperator!=(const RooAbsArg& other)
TNamed&TNamed::operator=(const TNamed& rhs)
Bool_toperator==(Int_t index) const
Bool_toperator==(const char* label) const
virtual Bool_toperator==(const RooAbsArg& other)
Bool_tRooAbsArg::overlaps(const RooAbsArg& testArg) const
virtual voidTObject::Paint(Option_t* option = "")
RooPrintable::PrintOptionRooPrintable::parseOptions(Option_t* options) const
virtual voidTObject::Pop()
virtual voidRooAbsArg::Print(Option_t* options = "0") const
voidRooAbsArg::printCompactTree(const char* indent = "", const char* fileName = "0", const char* namePat = "0")
voidRooAbsArg::printCompactTree(ostream& os, const char* indent = "", const char* namePat = "0")
virtual voidRooAbsArg::printCompactTreeHook(ostream& os, const char* ind = "")
voidRooAbsArg::printDirty(Bool_t depth = kTRUE) const
virtual voidprintToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
virtual Int_tTObject::Read(const char* name)
virtual Bool_treadFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
Bool_tRooAbsArg::recursiveCheckDependents(const RooArgSet* nset) const
Bool_tRooAbsArg::recursiveCheckObservables(const RooArgSet* nset) const
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
TIterator*RooAbsArg::serverIterator() const
voidRooAbsArg::setAttribute(const Text_t* name, Bool_t value = kTRUE)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidRooAbsArg::setDeleteWatch(Bool_t flag = kTRUE)
static voidRooAbsArg::setDirtyInhibit(Bool_t flag)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
TIterator*RooAbsArg::shapeClientIterator() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
voidRooAbsArg::treeNodeServerList(RooAbsCollection* list, const RooAbsArg* arg = 0, Bool_t doBranch = kTRUE, Bool_t doLeaf = kTRUE, Bool_t valueOnly = kFALSE) const
TIterator*typeIterator() const
virtual voidTObject::UseCurrentStyle()
TIterator*RooAbsArg::valueClientIterator() const
static voidRooAbsArg::verboseDirty(Bool_t flag)
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
virtual voidwriteToStream(ostream& os, Bool_t compact) const
voidRooAbsArg::addServer(RooAbsArg& server, Bool_t valueProp = kTRUE, Bool_t shapeProp = kFALSE)
voidRooAbsArg::addServerList(RooAbsCollection& serverList, Bool_t valueProp = kTRUE, Bool_t shapeProp = kFALSE)
virtual voidattachToTree(TTree& t, Int_t bufSize = 32000)
voidRooAbsArg::changeServer(RooAbsArg& server, Bool_t valueProp, Bool_t shapeProp)
TStringRooAbsArg::cleanBranchName() const
voidRooAbsArg::clearShapeDirty() const
voidRooAbsArg::clearValueDirty() const
virtual voidcopyCache(const RooAbsArg* source)
UInt_tRooAbsArg::crc32(const char* data) const
const RooCatType*defineType(const char* label)
const RooCatType*defineType(const char* label, Int_t index)
const RooCatType*defineTypeUnchecked(const char* label, Int_t index)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual RooCatTypeevaluate() const
virtual voidfillTreeBranch(TTree& t)
RooAbsArg*RooAbsArg::findNewServer(const RooAbsCollection& newSet, Bool_t nameChange) const
virtual voidRooAbsArg::getObservablesHook(const RooArgSet*, RooArgSet*) const
const RooCatType*getOrdinal(UInt_t n) const
virtual voidRooAbsArg::getParametersHook(const RooArgSet*, RooArgSet*) const
RooAbsProxy*RooAbsArg::getProxy(Int_t index) const
Bool_tRooAbsArg::isShapeDirty() const
virtual Bool_tisValid() const
virtual Bool_tisValid(RooCatType value) const
Bool_tRooAbsArg::isValueDirty() const
Int_tRooAbsArg::numProxies() const
RooAbsArg::OperModeRooAbsArg::operMode() const
virtual voidRooAbsArg::operModeHook()
voidRooAbsArg::printAttribList(ostream& os) const
Bool_tRooAbsArg::recursiveRedirectServers(const RooAbsCollection& newServerList, Bool_t mustReplaceAll = kFALSE, Bool_t nameChange = kFALSE)
Bool_tRooAbsArg::redirectServers(const RooAbsCollection& newServerList, Bool_t mustReplaceAll = kFALSE, Bool_t nameChange = kFALSE, Bool_t isRecursionStep = kFALSE)
virtual Bool_tRooAbsArg::redirectServersHook(const RooAbsCollection&, Bool_t, Bool_t, Bool_t)
voidRooAbsArg::registerProxy(RooArgProxy& proxy)
voidRooAbsArg::registerProxy(RooSetProxy& proxy)
voidRooAbsArg::registerProxy(RooListProxy& proxy)
voidRooAbsArg::removeServer(RooAbsArg& server, Bool_t force = kFALSE)
voidRooAbsArg::replaceServer(RooAbsArg& oldServer, RooAbsArg& newServer, Bool_t valueProp, Bool_t shapeProp)
virtual voidRooAbsArg::serverNameChangeHook(const RooAbsArg*, const RooAbsArg*)
voidRooAbsArg::setOperMode(RooAbsArg::OperMode mode, Bool_t recurseADirty = kTRUE)
voidRooAbsArg::setProxyNormSet(const RooArgSet* nset)
voidRooAbsArg::setShapeDirty() const
virtual voidsetTreeBranchStatus(TTree& t, Bool_t active)
voidRooAbsArg::setValueDirty() const
virtual voidsyncCache(const RooArgSet* set = 0)
RooCatTypetraceEval() const
virtual Bool_ttraceEvalHook(RooCatType) const
voidRooAbsArg::unRegisterProxy(RooArgProxy& proxy)
voidRooAbsArg::unRegisterProxy(RooSetProxy& proxy)
voidRooAbsArg::unRegisterProxy(RooListProxy& proxy)

Data Members

enum RooAbsArg::ConstOpCode { Activate
enum RooAbsArg::OperMode { Auto
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
enum RooPrintable::PrintOption { InLine
RooCatType_valueCurrent value
TObjArray_typesArray of allowed values
RooRefCountListRooAbsArg::_serverList! list of server objects
RooRefCountListRooAbsArg::_clientList! list of client objects
RooRefCountListRooAbsArg::_clientListShape! subset of clients that requested shape dirty flag propagation
RooRefCountListRooAbsArg::_clientListValue! subset of clients that requested value dirty flag propagation
TListRooAbsArg::_proxyList! list of proxies
TIterator*RooAbsArg::_clientShapeIter! Iterator over _clientListShape
TIterator*RooAbsArg::_clientValueIter! Iterator over _clientListValue
THashListRooAbsArg::_attribListList of string attributes
static Bool_tRooAbsArg::_verboseDirtyStatic flag controlling verbose messaging for dirty state changes
static Bool_tRooAbsArg::_inhibitDirtyStatic flag controlling global inhibit of dirty state propagation
Bool_tRooAbsArg::_deleteWatch! Delete watch flag
static Int_tRooAbsArg::_nameLength
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Description

Int_t getIndex()
 Return index number of current state 
const char* getLabel()
 Return label string of current state 
RooCatType traceEval()
 Recalculate current value and check validity of new result.
TIterator* typeIterator()
 Return iterator over all defined states
Bool_t operator==(Int_t index)
 Equality operator with a integer (compares with state index number)
Bool_t operator==(const char* label)
 Equality operator with a string (compares with state label string)
Bool_t operator==(const RooAbsArg& other)
Bool_t isValidIndex(Int_t index)
 Check if state with given index is defined
Bool_t isValidLabel(const char* label)
 Check if state with given name is defined
const RooCatType* defineType(const char* label)
 Define a new state with given name. The lowest available
 integer number is assigned as index value
const RooCatType* defineTypeUnchecked(const char* label, Int_t index)
const RooCatType* defineType(const char* label, Int_t index)
 Define new state with given name and index number.
void clearTypes()
 Delete all currently defined states
const RooCatType* lookupType(const RooCatType &other, Bool_t printError)
 Find our type that matches the specified type, or return 0 for no match.
const RooCatType* lookupType(Int_t index, Bool_t printError)
 Find our type corresponding to the specified index, or return 0 for no match.
const RooCatType* lookupType(const char* label, Bool_t printError)
 Find our type corresponding to the specified label, or return 0 for no match.
Bool_t isValid()
 Check if current value is a valid state
Bool_t isValid(RooCatType value)
 Check if given state is defined for this object
Roo1DTable* createTable(const char *label)
 Create a table matching the shape of this category
Bool_t readFromStream(istream&, Bool_t, Bool_t)
 Read object contents from stream (dummy for now)
void writeToStream(ostream& os, Bool_t compact)
 Write object contents to stream 
void printToStream(ostream& os, PrintOption opt, TString indent)
 Print info about this object to the specified stream. In addition to the info
 from RooAbsArg::printToStream() we add:

     Shape : label, index, defined types
void attachToTree(TTree& t, Int_t bufSize)
 Attach the category index and label to as branches
 to the given TTree. The index field will be attached
 as integer with name <name>_idx, the label field will be attached
 as char[] with label <name>_lbl.
void fillTreeBranch(TTree& t)
 Attach object to a branch of given TTree
void setTreeBranchStatus(TTree& t, Bool_t active)
 (De)Activate associate tree branch
void syncCache(const RooArgSet*)
void copyCache(const RooAbsArg* source)
 Copy the cached value from given source and raise dirty flag.
 It is the callers responsability to unsure that the sources
 cache is clean before this function is called, e.g. by
 calling syncCache() on the source.
const RooCatType* getOrdinal(UInt_t n)
 Return state definition of ordinal nth defined state,
 needed by the generator mechanism.
RooAbsArg * createFundamental(const char* newname)
 Create a RooCategory fundamental object with our properties.
Bool_t isSignType(Bool_t mustHaveZero)
 Determine if category has 2 or 3 states with index values -1,0,1
Bool_t operator!=(Int_t index)
{ return !operator==(index);}
Bool_t operator!=(const char* label)
{ return !operator==(label);}
Bool_t operator!=(const RooAbsArg& other)
{ return !operator==(other);}
Int_t numTypes()
{ return _types.GetEntries() ; }
Bool_t isIntegrationSafeLValue(const RooArgSet* /*set*/)
{ return kTRUE ; }
Bool_t traceEvalHook(RooCatType /*value*/)
{ return kFALSE ;}
RooCatType evaluate()

Last update: Sat Dec 9 09:55:58 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.