RooThresholdCategory Class Reference

#include <RooThresholdCategory.h>

Inheritance diagram for RooThresholdCategory:

RooAbsCategory RooAbsCategory RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

Public Member Functions

 RooThresholdCategory ()
 RooThresholdCategory (const char *name, const char *title, RooAbsReal &inputVar, const char *defCatName="Default", Int_t defCatIdx=0)
 RooThresholdCategory (const RooThresholdCategory &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooThresholdCategory ()
Bool_t addThreshold (Double_t upperLimit, const char *catName, Int_t catIdx=-99999)
virtual void printMultiline (ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
void writeToStream (ostream &os, Bool_t compact) const
 RooThresholdCategory ()
 RooThresholdCategory (const char *name, const char *title, RooAbsReal &inputVar, const char *defCatName="Default", Int_t defCatIdx=0)
 RooThresholdCategory (const RooThresholdCategory &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooThresholdCategory ()
Bool_t addThreshold (Double_t upperLimit, const char *catName, Int_t catIdx=-99999)
virtual void printMultiline (ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
void writeToStream (ostream &os, Bool_t compact) const

Protected Member Functions

virtual RooCatType evaluate () const
 do not persist
virtual RooCatType evaluate () const
 do not persist

Protected Attributes

RooRealProxy _inputVar
RooCatType_defCat
TSortedList _threshList
TIterator_threshIter
RooCatType_defCat
TIterator_threshIter

Detailed Description

Definition at line 24 of file RooThresholdCategory.h.


Constructor & Destructor Documentation

RooThresholdCategory::RooThresholdCategory (  )  [inline]

Definition at line 28 of file RooThresholdCategory.h.

Referenced by clone().

RooThresholdCategory::RooThresholdCategory ( const char *  name,
const char *  title,
RooAbsReal inputVar,
const char *  defCatName = "Default",
Int_t  defCatIdx = 0 
)

RooThresholdCategory::RooThresholdCategory ( const RooThresholdCategory other,
const char *  name = 0 
)

Definition at line 57 of file RooThresholdCategory.cxx.

References _defCat, _threshIter, _threshList, TSortedList::Add(), RooCatType::GetName(), RooAbsCategory::lookupType(), TList::MakeIterator(), TIterator::Next(), and TIterator::Reset().

RooThresholdCategory::~RooThresholdCategory (  )  [virtual]

Definition at line 76 of file RooThresholdCategory.cxx.

References _threshIter, _threshList, and TList::Delete().

RooThresholdCategory::RooThresholdCategory (  )  [inline]

Definition at line 28 of file RooThresholdCategory.h.

RooThresholdCategory::RooThresholdCategory ( const char *  name,
const char *  title,
RooAbsReal inputVar,
const char *  defCatName = "Default",
Int_t  defCatIdx = 0 
)

RooThresholdCategory::RooThresholdCategory ( const RooThresholdCategory other,
const char *  name = 0 
)

virtual RooThresholdCategory::~RooThresholdCategory (  )  [virtual]


Member Function Documentation

virtual TObject* RooThresholdCategory::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 31 of file RooThresholdCategory.h.

References RooThresholdCategory().

Bool_t RooThresholdCategory::addThreshold ( Double_t  upperLimit,
const char *  catName,
Int_t  catIdx = -99999 
)

Definition at line 87 of file RooThresholdCategory.cxx.

References _threshIter, _threshList, TSortedList::Add(), coutW, RooAbsCategory::defineType(), TNamed::GetName(), RooFit::InputArguments, kFALSE, kTRUE, RooAbsCategory::lookupType(), TIterator::Next(), TIterator::Reset(), RooThreshEntry::thresh(), and type.

Referenced by rf405_realtocatfuncs(), and TestBasic405::testCode().

void RooThresholdCategory::printMultiline ( ostream &  os,
Int_t  content,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const [virtual]

Reimplemented from RooAbsCategory.

Definition at line 163 of file RooThresholdCategory.cxx.

References _defCat, _inputVar, _threshIter, RooRealProxy::arg(), RooThreshEntry::cat(), RooPrintable::kName, RooPrintable::kSingleLine, RooPrintable::kStandard, RooPrintable::kValue, TIterator::Next(), RooAbsCategory::printMultiline(), RooPrintable::printStream(), TIterator::Reset(), and RooThreshEntry::thresh().

void RooThresholdCategory::writeToStream ( ostream &  os,
Bool_t  compact 
) const [virtual]

Reimplemented from RooAbsCategory.

Definition at line 140 of file RooThresholdCategory.cxx.

References _defCat, _threshIter, RooThreshEntry::cat(), RooAbsCategory::getLabel(), RooCatType::GetName(), TIterator::Next(), TIterator::Reset(), and RooThreshEntry::thresh().

RooCatType RooThresholdCategory::evaluate (  )  const [protected, virtual]

do not persist

Implements RooAbsCategory.

Definition at line 122 of file RooThresholdCategory.cxx.

References _defCat, _threshIter, RooThreshEntry::cat(), TIterator::Next(), and TIterator::Reset().

virtual TObject* RooThresholdCategory::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 31 of file RooThresholdCategory.h.

References RooThresholdCategory().

Bool_t RooThresholdCategory::addThreshold ( Double_t  upperLimit,
const char *  catName,
Int_t  catIdx = -99999 
)

virtual void RooThresholdCategory::printMultiline ( ostream &  os,
Int_t  content,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const [virtual]

Reimplemented from RooAbsCategory.

void RooThresholdCategory::writeToStream ( ostream &  os,
Bool_t  compact 
) const [virtual]

Reimplemented from RooAbsCategory.

virtual RooCatType RooThresholdCategory::evaluate (  )  const [protected, virtual]

do not persist

Implements RooAbsCategory.


Member Data Documentation

RooRealProxy RooThresholdCategory::_inputVar [protected]

Definition at line 44 of file RooThresholdCategory.h.

Referenced by printMultiline().

RooCatType* RooThresholdCategory::_defCat [protected]

Definition at line 45 of file RooThresholdCategory.h.

Referenced by evaluate(), printMultiline(), RooThresholdCategory(), and writeToStream().

TSortedList RooThresholdCategory::_threshList [protected]

Definition at line 46 of file RooThresholdCategory.h.

Referenced by addThreshold(), RooThresholdCategory(), and ~RooThresholdCategory().

TIterator* RooThresholdCategory::_threshIter [protected]

Definition at line 47 of file RooThresholdCategory.h.

Referenced by addThreshold(), evaluate(), printMultiline(), RooThresholdCategory(), writeToStream(), and ~RooThresholdCategory().

RooCatType* RooThresholdCategory::_defCat [protected]

Definition at line 45 of file RooThresholdCategory.h.

TIterator* RooThresholdCategory::_threshIter [protected]

Definition at line 47 of file RooThresholdCategory.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:03 2011 for ROOT_528-00b_version by  doxygen 1.5.1