A++ » INCLUDE » RooPlot

class RooPlot: public TNamed, public RooPrintable

Function Members (Methods)

public:
virtual~RooPlot()
voidTObject::AbstractMethod(const char* method) const
static Bool_taddDirectoryStatus()
voidaddObject(TObject* obj, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
voidaddPlotable(RooPlotable* plotable, Option_t* drawOptions = "", Bool_t invisible = kFALSE, Bool_t refreshNorm = kFALSE)
voidaddTH1(TH1* hist, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b)
Double_tchiSquare(int nFitParam = 0) const
Double_tchiSquare(const char* pdfname, const char* histname, int nFitParam = 0) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual Int_tdefaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptionRooPrintable::defaultPrintStyle(Option_t* opt) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* options = 0)
Bool_tdrawAfter(const char* after, const char* target)
Bool_tdrawBefore(const char* before, const char* target)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
RooPlot*emptyClone(const char* name)
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
TObject*findObject(const char* name, const TClass* clas = 0) const
TAttFill*getAttFill(const char* name = 0) const
TAttLine*getAttLine(const char* name = 0) const
TAttMarker*getAttMarker(const char* name = 0) const
TAttText*getAttText(const char* name = 0) const
virtual Stat_tGetBinContent(Int_t) const
virtual Stat_tGetBinContent(Int_t, Int_t) const
virtual Stat_tGetBinContent(Int_t, Int_t, Int_t) const
RooCurve*getCurve(const char* name = 0) const
virtual Option_t*TObject::GetDrawOption() const
TStringgetDrawOptions(const char* name) const
static Long_tTObject::GetDtorOnly()
Double_tgetFitRangeBinW() const
Double_tgetFitRangeNEvt() const
Double_tgetFitRangeNEvt(Double_t xlo, Double_t xhi) const
RooHist*getHist(const char* name = 0) const
virtual const char*TObject::GetIconName() const
Bool_tgetInvisible(const char* name) const
Double_tGetMaximum(Double_t maxval = 3.40282347E+38F) const
Double_tGetMinimum(Double_t minval = -3.40282347E+38F) const
virtual const char*TNamed::GetName() const
Int_tGetNbinsX() const
Int_tGetNdivisions(Option_t* axis = "X") const
const RooArgSet*getNormVars() const
TObject*getObject(Int_t idx) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tgetPadFactor() const
RooAbsRealLValue*getPlotVar() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TAxis*GetXaxis() const
TAxis*GetYaxis() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() 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
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
static voidRooPrintable::nameFieldLength(Int_t newLen)
const char*nameOf(Int_t idx) const
virtual Bool_tTObject::Notify()
Stat_tnumItems() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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)
RooPlot&operator=(const RooPlot&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = 0) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidprintArgs(ostream& os) const
virtual voidprintClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidprintMultiline(ostream& os, Int_t content, Bool_t verbose = kFALSE, TString indent = "") const
virtual voidprintName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidprintTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidprintValue(ostream& os) const
RooHist*pullHist(const char* histname = 0, const char* pdfname = 0, bool useAverage = false) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidremove(const char* name = 0, Bool_t deleteToo = kTRUE)
voidTObject::ResetBit(UInt_t f)
RooHist*residHist(const char* histname = 0, const char* pdfname = 0, bool normalize = false, bool useAverage = kFALSE) const
RooPlot()
RooPlot(Double_t xmin, Double_t xmax)
RooPlot(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2)
RooPlot(const RooAbsRealLValue& var, Double_t xmin, Double_t xmax, Int_t nBins)
RooPlot(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
RooPlot(const char* name, const char* title, const RooAbsRealLValue& var, Double_t xmin, Double_t xmax, Int_t nBins)
RooPlot(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
static Bool_tsetAddDirectoryStatus(Bool_t flag)
voidSetAxisColor(Color_t color = 1, Option_t* axis = "X")
voidSetAxisRange(Double_t xmin, Double_t xmax, Option_t* axis = "X")
voidSetBarOffset(Float_t offset = 0.25)
voidSetBarWidth(Float_t width = 0.5)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetContour(Int_t nlevels, const Double_t* levels = 0)
voidSetContourLevel(Int_t level, Double_t value)
virtual voidSetDrawOption(Option_t* option = "")
Bool_tsetDrawOptions(const char* name, TString options)
static voidTObject::SetDtorOnly(void* obj)
voidSetFillAttributes()
voidSetFillColor(Color_t fcolor)
voidSetFillStyle(Style_t fstyle)
voidsetInvisible(const char* name, Bool_t flag = kTRUE)
voidSetLabelColor(Color_t color = 1, Option_t* axis = "X")
voidSetLabelFont(Style_t font = 62, Option_t* axis = "X")
voidSetLabelOffset(Float_t offset = 0.0050000000000000001, Option_t* axis = "X")
voidSetLabelSize(Float_t size = 0.02, Option_t* axis = "X")
voidSetLineAttributes()
voidSetLineColor(Color_t lcolor)
voidSetLineStyle(Style_t lstyle)
voidSetLineWidth(Width_t lwidth)
voidSetMarkerAttributes()
voidSetMarkerColor(Color_t tcolor = 1)
voidSetMarkerSize(Size_t msize = 1)
voidSetMarkerStyle(Style_t mstyle = 1)
virtual voidSetMaximum(Double_t maximum = -1111)
virtual voidSetMinimum(Double_t minimum = -1111)
virtual voidSetName(const char* name)
virtual voidSetNameTitle(const char* name, const char* title)
voidSetNdivisions(Int_t n = 510, Option_t* axis = "X")
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOption(Option_t* option = " ")
voidsetPadFactor(Double_t factor)
voidSetStats(Bool_t stats = kTRUE)
voidSetTickLength(Float_t length = 0.02, Option_t* axis = "X")
virtual voidSetTitle(const char* name)
voidSetTitleFont(Style_t font = 62, Option_t* axis = "X")
voidSetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
voidSetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetXTitle(const char* title)
voidSetYTitle(const char* title)
voidSetZTitle(const char* title)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
voidupdateNormVars(const RooArgSet& vars)
virtual voidTObject::UseCurrentStyle()
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
protected:
TStringcaller(const char* method) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TStringhistName() const
voidinitialize()
voidTObject::MakeZombie()
RooPlot(const RooPlot& other)
voidupdateFitRangeNorm(const TH1* hist)
voidupdateFitRangeNorm(const RooPlotable* rp, Bool_t refeshNorm = kFALSE)
voidupdateYAxis(Double_t ymin, Double_t ymax, const char* label = "")

Data Members

public:
static RooPrintable::ContentsOptionRooPrintable::kAddress
static RooPrintable::ContentsOptionRooPrintable::kArgs
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static RooPrintable::ContentsOptionRooPrintable::kClassName
static RooPrintable::ContentsOptionRooPrintable::kCollectionHeader
static RooPrintable::ContentsOptionRooPrintable::kExtras
static TObject::EStatusBitsTObject::kHasUUID
static RooPrintable::StyleOptionRooPrintable::kInline
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static RooPrintable::ContentsOptionRooPrintable::kName
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static RooPrintable::StyleOptionRooPrintable::kSingleLine
static RooPrintable::StyleOptionRooPrintable::kStandard
static RooPrintable::ContentsOptionRooPrintable::kTitle
static RooPrintable::StyleOptionRooPrintable::kTreeStructure
static RooPrintable::ContentsOptionRooPrintable::kValue
static RooPrintable::StyleOptionRooPrintable::kVerbose
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
static Bool_t_addDirStatusstatic flag controlling AutoDirectoryAdd feature
Double_t_defYmaxDefault maximum for Yaxis (as calculated from contents)
Double_t_defYminDefault minimum for Yaxis (as calculated from contents)
TDirectory*_dir! non-persistent
TH1*_histHistogram that we uses as basis for drawing the content
RooList_itemsA list of the items we contain.
TIterator*_iterator! non-persistent
static Int_tRooPrintable::_nameLength
Double_t_normBinWidthHistogram bin width (for normalization)
Double_t_normNumEvtsNumber of events in histogram (for normalization)
const RooPlotable*_normObj! Pointer to normalization object ;
RooArgSet*_normVarsVariables that PDF plots should be normalized over
Double_t_padFactorScale our y-axis to _padFactor of our maximum contents.
RooAbsRealLValue*_plotVarCloneA clone of the variable we are plotting.
RooArgSet*_plotVarSetA list owning the cloned tree nodes of the plotVarClone
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Charts

Inheritance Chart:
TObject
TNamed
RooPrintable
RooPlot

Function documentation

RooPlot()
RooPlot(const char* name, const char* title, const RooAbsRealLValue& var, Double_t xmin, Double_t xmax, Int_t nBins)
RooPlot(const RooAbsRealLValue& var, Double_t xmin, Double_t xmax, Int_t nBins)
RooPlot(Double_t xmin, Double_t xmax)
RooPlot(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
RooPlot(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2)
RooPlot(const RooAbsRealLValue& var1, const RooAbsRealLValue& var2, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
RooPlot* emptyClone(const char* name)
Stat_t GetBinContent(Int_t ) const
 implement the TH1 interface
Stat_t GetBinContent(Int_t , Int_t ) const
Stat_t GetBinContent(Int_t , Int_t , Int_t ) const
void Draw(Option_t* options = 0)
TAxis* GetXaxis() const
 forwarding of relevant TH1 interface
TAxis* GetYaxis() const
Int_t GetNbinsX() const
Int_t GetNdivisions(Option_t* axis = "X") const
Double_t GetMinimum(Double_t minval = -3.40282347E+38F) const
Double_t GetMaximum(Double_t maxval = 3.40282347E+38F) const
void SetAxisColor(Color_t color = 1, Option_t* axis = "X")
void SetAxisRange(Double_t xmin, Double_t xmax, Option_t* axis = "X")
void SetBarOffset(Float_t offset = 0.25)
void SetBarWidth(Float_t width = 0.5)
void SetContour(Int_t nlevels, const Double_t* levels = 0)
void SetContourLevel(Int_t level, Double_t value)
void SetDrawOption(Option_t* option = "")
void SetFillAttributes()
void SetFillColor(Color_t fcolor)
void SetFillStyle(Style_t fstyle)
void SetLabelColor(Color_t color = 1, Option_t* axis = "X")
void SetLabelFont(Style_t font = 62, Option_t* axis = "X")
void SetLabelOffset(Float_t offset = 0.0050000000000000001, Option_t* axis = "X")
void SetLabelSize(Float_t size = 0.02, Option_t* axis = "X")
void SetLineAttributes()
void SetLineColor(Color_t lcolor)
void SetLineStyle(Style_t lstyle)
void SetLineWidth(Width_t lwidth)
void SetMarkerAttributes()
void SetMarkerColor(Color_t tcolor = 1)
void SetMarkerSize(Size_t msize = 1)
void SetMarkerStyle(Style_t mstyle = 1)
void SetName(const char* name)
void SetTitle(const char* name)
void SetNameTitle(const char* name, const char* title)
void SetNdivisions(Int_t n = 510, Option_t* axis = "X")
void SetOption(Option_t* option = " ")
void SetStats(Bool_t stats = kTRUE)
void SetTickLength(Float_t length = 0.02, Option_t* axis = "X")
void SetTitleFont(Style_t font = 62, Option_t* axis = "X")
void SetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
void SetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
void SetXTitle(const char* title)
void SetYTitle(const char* title)
void SetZTitle(const char* title)
const char* nameOf(Int_t idx) const
 container management
TObject * findObject(const char* name, const TClass* clas = 0) const
TObject* getObject(Int_t idx) const
Stat_t numItems() const
{return _items.GetSize();}
void addPlotable(RooPlotable* plotable, Option_t* drawOptions = "", Bool_t invisible = kFALSE, Bool_t refreshNorm = kFALSE)
void addObject(TObject* obj, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
void addTH1(TH1* hist, Option_t* drawOptions = "", Bool_t invisible = kFALSE)
void remove(const char* name = 0, Bool_t deleteToo = kTRUE)
void printName(ostream& os) const
 ascii printing
void printTitle(ostream& os) const
void printClassName(ostream& os) const
void printArgs(ostream& os) const
void printValue(ostream& os) const
void printMultiline(ostream& os, Int_t content, Bool_t verbose = kFALSE, TString indent = "") const
Int_t defaultPrintContents(Option_t* opt) const
void Print(Option_t* options = 0) const
RooAbsRealLValue * getPlotVar() const
 data member get/set methods
{ return _plotVarClone; }
Double_t getFitRangeNEvt() const
{ return _normNumEvts; }
Double_t getFitRangeNEvt(Double_t xlo, Double_t xhi) const
Double_t getFitRangeBinW() const
{ return _normBinWidth; }
Double_t getPadFactor() const
{ return _padFactor; }
void setPadFactor(Double_t factor)
{ if(factor >= 0) _padFactor= factor; }
void updateNormVars(const RooArgSet& vars)
const RooArgSet * getNormVars() const
{ return _normVars; }
TAttLine * getAttLine(const char* name = 0) const
 get attributes of contained objects
TAttFill * getAttFill(const char* name = 0) const
TAttMarker * getAttMarker(const char* name = 0) const
TAttText * getAttText(const char* name = 0) const
RooCurve* getCurve(const char* name = 0) const
 Convenient type-safe accessors
RooHist* getHist(const char* name = 0) const
Bool_t drawBefore(const char* before, const char* target)
 rearrange drawing order of contained objects
Bool_t drawAfter(const char* after, const char* target)
TString getDrawOptions(const char* name) const
 get/set drawing options for contained objects
Bool_t setDrawOptions(const char* name, TString options)
Bool_t getInvisible(const char* name) const
void setInvisible(const char* name, Bool_t flag = kTRUE)
void SetMaximum(Double_t maximum = -1111)
void SetMinimum(Double_t minimum = -1111)
Double_t chiSquare(int nFitParam = 0) const
{ return chiSquare(0,0,nFitParam) ; }
Double_t chiSquare(const char* pdfname, const char* histname, int nFitParam = 0) const
RooHist* residHist(const char* histname = 0, const char* pdfname = 0, bool normalize = false, bool useAverage = kFALSE) const
RooHist* pullHist(const char* histname = 0, const char* pdfname = 0, bool useAverage = false) const
{ return residHist(histname,pdfname,true,useAverage); }
void Browse(TBrowser* b)
Bool_t addDirectoryStatus()
Bool_t setAddDirectoryStatus(Bool_t flag)
RooPlot(const RooPlot& other)
void initialize(const char* _rawOpt)
TString histName() const
TString caller(const char* method) const
void updateYAxis(Double_t ymin, Double_t ymax, const char* label = "")
void updateFitRangeNorm(const TH1* hist)
void updateFitRangeNorm(const RooPlotable* rp, Bool_t refeshNorm = kFALSE)