library: libRooFit
#include "RooPlot.h"

RooPlot


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

class RooPlot: public TH1, public RooPrintable

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
RooPlot(Double_t xmin = 0, Double_t xmax = 1)
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~RooPlot()
voidTObject::AbstractMethod(const char* method) const
virtual voidTH1::Add(const TH1* h1, Double_t c1 = 1)
virtual voidTH1::Add(TF1* h1, Double_t c1 = 1, Option_t* option = "")
virtual voidTH1::Add(const TH1* h, const TH1* h2, Double_t c1 = 1, Double_t c2 = 1)
virtual voidTH1::AddBinContent(Int_t bin)
virtual voidTH1::AddBinContent(Int_t bin, Double_t w)
static voidTH1::AddDirectory(Bool_t add = kTRUE)
static Bool_tTH1::AddDirectoryStatus()
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 voidTH1::Browse(TBrowser* b)
virtual Int_tTH1::BufferEmpty(Int_t action = 0)
virtual Double_tTH1::Chi2Test(const TH1* h2, Option_t* option = "UU", Double_t* res = 0) const
virtual Double_tTH1::Chi2TestX(const TH1* h2, Double_t& chi2, Int_t& ndf, Int_t& igood, Option_t* option = "UU", Double_t* res = 0) const
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 Double_tTH1::ComputeIntegral()
static ostream&RooPrintable::defaultStream(ostream* os = 0)
virtual voidTObject::Delete(Option_t* option = "")
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTH1::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTH1::Divide(const TH1* h1)
virtual voidTH1::Divide(TF1* f1, Double_t c1 = 1)
virtual voidTH1::Divide(const TH1* h1, const TH1* h2, Double_t c1 = 1, Double_t c2 = 1, Option_t* option = "")
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() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual TH1*TH1::DrawCopy(Option_t* option = "") const
virtual TH1*TH1::DrawNormalized(Option_t* option = "", Double_t norm = 1) const
virtual voidTH1::DrawPanel()
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTH1::Eval(TF1* f1, Option_t* option = "")
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 voidTH1::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TH1*TH1::FFT(TH1* h_output, Option_t* option)
virtual Int_tTH1::Fill(Double_t x)
virtual Int_tTH1::Fill(Double_t x, Double_t w)
virtual Int_tTH1::Fill(const char* name, Double_t w)
virtual voidTNamed::FillBuffer(char*& buffer)
virtual voidTH1::FillN(Int_t ntimes, const Double_t* x, const Double_t* w, Int_t stride = 1)
virtual voidTH1::FillN(Int_t, const Double_t*, const Double_t*, const Double_t*, Int_t)
virtual voidTH1::FillRandom(const char* fname, Int_t ntimes = 5000)
virtual voidTH1::FillRandom(TH1* h, Int_t ntimes = 5000)
virtual Int_tTH1::FindBin(Double_t x, Double_t y = 0, Double_t z = 0)
virtual TObject*TH1::FindObject(const char* name) const
virtual TObject*TH1::FindObject(const TObject* obj) const
TObject*findObject(const char* name, const TClass* clas = 0) const
virtual Int_tTH1::Fit(const char* formula, Option_t* option = "", Option_t* goption = "", Double_t xmin = 0, Double_t xmax = 0)
virtual Int_tTH1::Fit(TF1* f1, Option_t* option = "", Option_t* goption = "", Double_t xmin = 0, Double_t xmax = 0)
virtual voidTH1::FitPanel()
TH1*TH1::GetAsymmetry(TH1* h2, Double_t c2 = 1, Double_t dc2 = 0)
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 Color_tTH1::GetAxisColor(Option_t* axis = "X") const
virtual Float_tTH1::GetBarOffset() const
virtual Float_tTH1::GetBarWidth() const
virtual Int_tTH1::GetBin(Int_t binx, Int_t biny = 0, Int_t binz = 0) const
virtual Double_tTH1::GetBinCenter(Int_t bin) 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
virtual Double_tTH1::GetBinError(Int_t bin) const
virtual Double_tTH1::GetBinError(Int_t binx, Int_t biny) const
virtual Double_tTH1::GetBinError(Int_t binx, Int_t biny, Int_t binz) const
virtual Double_tTH1::GetBinLowEdge(Int_t bin) const
virtual Double_tTH1::GetBinWidth(Int_t bin) const
virtual Double_tTH1::GetBinWithContent(Double_t c, Int_t& binx, Int_t firstx = 0, Int_t lastx = 0, Double_t maxdiff = 0) const
const Double_t*TH1::GetBuffer() const
Int_tTH1::GetBufferLength() const
Int_tTH1::GetBufferSize() const
virtual Double_tTH1::GetCellContent(Int_t binx, Int_t biny) const
virtual Double_tTH1::GetCellError(Int_t binx, Int_t biny) const
virtual voidTH1::GetCenter(Double_t* center) const
virtual Int_tTH1::GetContour(Double_t* levels = 0)
virtual Double_tTH1::GetContourLevel(Int_t level) const
virtual Double_tTH1::GetContourLevelPad(Int_t level) const
RooCurve*getCurve(const char* name = "0") const
static Int_tTH1::GetDefaultBufferSize()
static Bool_tTH1::GetDefaultSumw2()
virtual Int_tTH1::GetDimension() const
TDirectory*TH1::GetDirectory() const
virtual Option_t*TObject::GetDrawOption() const
TStringgetDrawOptions(const char* name) const
static Long_tTObject::GetDtorOnly()
virtual Double_tTH1::GetEffectiveEntries() const
virtual Double_tTH1::GetEntries() const
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
Double_tgetFitRangeBinW() const
Double_tgetFitRangeNEvt() const
Double_tgetFitRangeNEvt(Double_t xlo, Double_t xhi) const
virtual TF1*TH1::GetFunction(const char* name) const
RooHist*getHist(const char* name = "0") const
virtual const char*TObject::GetIconName() const
virtual Double_t*TH1::GetIntegral()
Bool_tgetInvisible(const char* name) const
virtual Double_tTH1::GetKurtosis(Int_t axis = 1) const
virtual Color_tTH1::GetLabelColor(Option_t* axis = "X") const
virtual Style_tTH1::GetLabelFont(Option_t* axis = "X") const
virtual Float_tTH1::GetLabelOffset(Option_t* axis = "X") const
virtual Float_tTH1::GetLabelSize(Option_t* axis = "X") const
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
TList*TH1::GetListOfFunctions() const
virtual voidTH1::GetLowEdge(Double_t* edge) const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
virtual Double_tTH1::GetMaximum(Double_t maxval = FLT_MAX) const
virtual Int_tTH1::GetMaximumBin() const
virtual Int_tTH1::GetMaximumBin(Int_t& locmax, Int_t& locmay, Int_t& locmaz) const
virtual Double_tTH1::GetMaximumStored() const
virtual Double_tTH1::GetMean(Int_t axis = 1) const
virtual Double_tTH1::GetMeanError(Int_t axis = 1) const
virtual Double_tTH1::GetMinimum(Double_t minval = -FLT_MAX) const
virtual Int_tTH1::GetMinimumBin() const
virtual Int_tTH1::GetMinimumBin(Int_t& locmix, Int_t& locmiy, Int_t& locmiz) const
virtual Double_tTH1::GetMinimumStored() const
virtual const char*TNamed::GetName() const
virtual Int_tTH1::GetNbinsX() const
virtual Int_tTH1::GetNbinsY() const
virtual Int_tTH1::GetNbinsZ() const
virtual Int_tTH1::GetNdivisions(Option_t* axis = "X") const
virtual Double_tTH1::GetNormFactor() const
const RooArgSet*getNormVars() const
TObject*getObject(Int_t idx) const
virtual char*TH1::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TH1::GetOption() const
Double_tgetPadFactor() const
TVirtualHistPainter*TH1::GetPainter(Option_t* option = "")
RooAbsRealLValue*getPlotVar() const
virtual Int_tTH1::GetQuantiles(Int_t nprobSum, Double_t* q, const Double_t* probSum = 0)
virtual Double_tTH1::GetRandom() const
virtual Double_tTH1::GetRMS(Int_t axis = 1) const
virtual Double_tTH1::GetRMSError(Int_t axis = 1) const
virtual Double_tTH1::GetSkewness(Int_t axis = 1) const
virtual voidTH1::GetStats(Double_t* stats) const
virtual Double_tTH1::GetSumOfWeights() const
virtual TArrayD*TH1::GetSumw2()
virtual const TArrayD*TH1::GetSumw2() const
virtual Int_tTH1::GetSumw2N() const
virtual Float_tTH1::GetTickLength(Option_t* axis = "X") const
virtual const char*TNamed::GetTitle() const
virtual Float_tTH1::GetTitleOffset(Option_t* axis = "X") const
virtual Float_tTH1::GetTitleSize(Option_t* axis = "X") const
virtual UInt_tTObject::GetUniqueID() const
TAxis*TH1::GetXaxis() const
TAxis*TH1::GetYaxis() const
TAxis*TH1::GetZaxis() 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
static voidRooPrintable::inLinePrint(ostream& os, const TNamed& named)
virtual voidTObject::Inspect() const
virtual Double_tTH1::Integral(Option_t* option = "") const
virtual Double_tTH1::Integral(Int_t binx1, Int_t binx2, Option_t* option = "") const
virtual Double_tTH1::Integral(Int_t, Int_t, Int_t, Int_t, Option_t* = "") const
virtual Double_tTH1::Integral(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Option_t* = "") const
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
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
virtual Double_tTH1::KolmogorovTest(const TH1* h2, Option_t* option = "") const
virtual voidTH1::LabelsDeflate(Option_t* axis = "X")
virtual voidTH1::LabelsInflate(Option_t* axis = "X")
virtual voidTH1::LabelsOption(Option_t* option = "h", Option_t* axis = "X")
RooPrintable::PrintOptionRooPrintable::lessVerbose(RooPrintable::PrintOption opt) const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Long64_tTH1::Merge(TCollection* list)
virtual voidTAttLine::Modify()
virtual voidTH1::Multiply(const TH1* h1)
virtual voidTH1::Multiply(TF1* h1, Double_t c1 = 1)
virtual voidTH1::Multiply(const TH1* h1, const TH1* h2, Double_t c1 = 1, Double_t c2 = 1, Option_t* option = "")
const char*nameOf(Int_t idx) const
virtual Bool_tTObject::Notify()
Stat_tnumItems() 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)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTH1::Paint(Option_t* option = "")
RooPrintable::PrintOptionRooPrintable::parseOptions(Option_t* options) const
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = "0") const
virtual voidprintToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
RooHist*pullHist(const char* histname = "0", const char* pdfname = "0") const
virtual voidTH1::PutStats(Double_t* stats)
virtual Int_tTObject::Read(const char* name)
virtual TH1*TH1::Rebin(Int_t ngroup = 2, const char* newname = "", const Double_t* xbins = 0)
virtual voidTH1::RebinAxis(Double_t x, Option_t* axis = "X")
virtual voidTH1::Rebuild(Option_t* option = "")
virtual voidTH1::RecursiveRemove(TObject* obj)
virtual voidTH1::Reset(Option_t* option = "")
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
RooHist*residHist(const char* histname = "0", const char* pdfname = "0", bool normalize = false) const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTH1::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTH1::Scale(Double_t c1 = 1)
virtual voidTH1::SetAxisColor(Color_t color = 1, Option_t* axis = "X")
virtual voidTH1::SetAxisRange(Double_t xmin, Double_t xmax, Option_t* axis = "X")
virtual voidTH1::SetBarOffset(Float_t offset = 0.25)
virtual voidTH1::SetBarWidth(Float_t width = 0.5)
virtual voidTH1::SetBinContent(Int_t bin, Double_t content)
virtual voidTH1::SetBinContent(Int_t binx, Int_t biny, Double_t content)
virtual voidTH1::SetBinContent(Int_t binx, Int_t biny, Int_t binz, Double_t content)
virtual voidTH1::SetBinError(Int_t bin, Double_t error)
virtual voidTH1::SetBinError(Int_t binx, Int_t biny, Double_t error)
virtual voidTH1::SetBinError(Int_t binx, Int_t biny, Int_t binz, Double_t error)
virtual voidTH1::SetBins(Int_t nx, const Double_t* xBins)
virtual voidTH1::SetBins(Int_t nx, Double_t xmin, Double_t xmax)
virtual voidTH1::SetBins(Int_t nx, const Double_t* xBins, Int_t ny, const Double_t* yBins)
virtual voidTH1::SetBins(Int_t nx, Double_t xmin, Double_t xmax, Int_t ny, Double_t ymin, Double_t ymax)
virtual voidTH1::SetBins(Int_t nx, Double_t xmin, Double_t xmax, Int_t ny, Double_t ymin, Double_t ymax, Int_t nz, Double_t zmin, Double_t zmax)
virtual voidTH1::SetBinsLength(Int_t = -1)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTH1::SetBuffer(Int_t buffersize, Option_t* option = "")
virtual voidTH1::SetCellContent(Int_t binx, Int_t biny, Double_t content)
virtual voidTH1::SetCellError(Int_t binx, Int_t biny, Double_t content)
virtual voidTH1::SetContent(const Double_t* content)
virtual voidTH1::SetContour(Int_t nlevels, const Double_t* levels = 0)
virtual voidTH1::SetContourLevel(Int_t level, Double_t value)
static voidTH1::SetDefaultBufferSize(Int_t buffersize = 1000)
static voidTH1::SetDefaultSumw2(Bool_t sumw2 = kTRUE)
virtual voidTH1::SetDirectory(TDirectory* dir)
virtual voidTObject::SetDrawOption(Option_t* option = "")
Bool_tsetDrawOptions(const char* name, TString options)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTH1::SetEntries(Double_t n)
virtual voidTH1::SetError(const Double_t* error)
virtual voidTAttFill::SetFillAttributes()
virtual voidTAttFill::SetFillColor(Color_t fcolor)
virtual voidTAttFill::SetFillStyle(Style_t fstyle)
voidsetInvisible(const char* name, Bool_t flag = kTRUE)
virtual voidTH1::SetLabelColor(Color_t color = 1, Option_t* axis = "X")
virtual voidTH1::SetLabelFont(Style_t font = 62, Option_t* axis = "X")
virtual voidTH1::SetLabelOffset(Float_t offset = 0.005, Option_t* axis = "X")
virtual voidTH1::SetLabelSize(Float_t size = 0.02, Option_t* axis = "X")
virtual voidTAttLine::SetLineAttributes()
virtual voidTAttLine::SetLineColor(Color_t lcolor)
virtual voidTAttLine::SetLineStyle(Style_t lstyle)
virtual voidTAttLine::SetLineWidth(Width_t lwidth)
virtual voidTAttMarker::SetMarkerAttributes()
virtual voidTAttMarker::SetMarkerColor(Color_t tcolor = 1)
virtual voidTAttMarker::SetMarkerSize(Size_t msize = 1)
virtual voidTAttMarker::SetMarkerStyle(Style_t mstyle = 1)
virtual voidSetMaximum(Double_t maximum = -1111)
virtual voidSetMinimum(Double_t minimum = -1111)
virtual voidTH1::SetName(const char* name)
virtual voidTH1::SetNameTitle(const char* name, const char* title)
virtual voidTH1::SetNdivisions(Int_t n = 510, Option_t* axis = "X")
virtual voidTH1::SetNormFactor(Double_t factor = 1)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTH1::SetOption(Option_t* option = " ")
voidsetPadFactor(Double_t factor)
virtual voidTH1::SetStats(Bool_t stats = kTRUE)
virtual voidTH1::SetTickLength(Float_t length = 0.02, Option_t* axis = "X")
virtual voidTH1::SetTitle(const char* title)
virtual voidTH1::SetTitleOffset(Float_t offset = 1, Option_t* axis = "X")
virtual voidTH1::SetTitleSize(Float_t size = 0.02, Option_t* axis = "X")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTH1::SetXTitle(const char* title)
virtual voidTH1::SetYTitle(const char* title)
virtual voidTH1::SetZTitle(const char* title)
virtual TH1*TH1::ShowBackground(Int_t niter = 20, Option_t* option = "same")
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTH1::ShowPeaks(Double_t sigma = 2, Option_t* option = "", Double_t threshold = 0.05)
virtual Int_tTNamed::Sizeof() const
virtual voidTH1::Smooth(Int_t ntimes = 1, Int_t firstbin = -1, Int_t lastbin = -1)
static voidTH1::SmoothArray(Int_t NN, Double_t* XX, Int_t ntimes = 1)
static voidTH1::StatOverflows(Bool_t flag = kTRUE)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTH1::Sumw2()
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
static TH1*TH1::TransformHisto(TVirtualFFT* fft, TH1* h_output, Option_t* option)
voidupdateNormVars(const RooArgSet& vars)
virtual voidTH1::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:
RooPlot(const RooPlot& other)
virtual Int_tTH1::BufferFill(Double_t x, Double_t w)
TStringcaller(const char* method) const
virtual voidTH1::Copy(TObject& hnew) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual Bool_tTH1::FindNewAxisLimits(const TAxis* axis, const Double_t point, Double_t& newMin, Double_t& newMax)
TStringhistName() const
voidinitialize()
voidTObject::MakeZombie()
static Bool_tTH1::RecomputeAxisLimits(TAxis& destAxis, const TAxis& anAxis)
static Bool_tTH1::SameLimitsAndNBins(const TAxis& axis1, const TAxis& axis2)
virtual voidTH1::SavePrimitiveHelp(ostream& out, Option_t* option = "")
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:
enum TH1::[unnamed] { kNoStats
kUserContour
kCanRebin
kLogX
kIsZoomed
kNoTitle
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
enum RooPrintable::PrintOption { InLine
OneLine
Standard
Shape
Verbose
};
protected:
RooList_itemsA list of the items we contain.
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
RooArgSet*_normVarsVariables that PDF plots should be normalized over
const RooPlotable*_normObj! Pointer to normalization object ;
Double_t_normNumEvtsNumber of events in histogram (for normalization)
Double_t_normBinWidthHistogram bin width (for normalization)
TIterator*_iterator! non-persistent
Double_t_defYminDefault minimum for Yaxis (as calculated from contents)
Double_t_defYmaxDefault maximum for Yaxis (as calculated from contents)
Int_tTH1::fNcellsnumber of bins(1D), cells (2D) +U/Overflows
TAxisTH1::fXaxisX axis descriptor
TAxisTH1::fYaxisY axis descriptor
TAxisTH1::fZaxisZ axis descriptor
Short_tTH1::fBarOffset(1000*offset) for bar charts or legos
Short_tTH1::fBarWidth(1000*width) for bar charts or legos
Double_tTH1::fEntriesNumber of entries
Double_tTH1::fTsumwTotal Sum of weights
Double_tTH1::fTsumw2Total Sum of squares of weights
Double_tTH1::fTsumwxTotal Sum of weight*X
Double_tTH1::fTsumwx2Total Sum of weight*X*X
Double_tTH1::fMaximumMaximum value for plotting
Double_tTH1::fMinimumMinimum value for plotting
Double_tTH1::fNormFactorNormalization factor
TArrayDTH1::fContourArray to display contour levels
TArrayDTH1::fSumw2Array of sum of squares of weights
TStringTH1::fOptionhistogram options
TList*TH1::fFunctions->Pointer to list of functions (fits and user)
Int_tTH1::fBufferSizefBuffer size
Double_t*TH1::fBuffer[fBufferSize] entry buffer
TDirectory*TH1::fDirectory!Pointer to directory holding this histogram
Int_tTH1::fDimension!Histogram dimension (1, 2 or 3 dim)
Double_t*TH1::fIntegral!Integral of bins used by GetRandom
TVirtualHistPainter*TH1::fPainter!pointer to histogram painter
static Int_tTH1::fgBufferSize!default buffer size for automatic histograms
static Bool_tTH1::fgAddDirectory!flag to add histograms to the directory
static Bool_tTH1::fgStatOverflows!flag to use under/overflows in statistics
static Bool_tTH1::fgDefaultSumw2!flag to call TH1::Sumw2 automatically at histogram creation time
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Color_tTAttFill::fFillColorfill area color
Style_tTAttFill::fFillStylefill area style
Color_tTAttMarker::fMarkerColorMarker color index
Style_tTAttMarker::fMarkerStyleMarker style
Size_tTAttMarker::fMarkerSizeMarker size

Class Description

RooPlot(Double_t xmin, Double_t xmax)
 Create an empty frame with the specified x-axis limits.
RooPlot(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
 Create an empty frame with the specified x- and y-axis limits.
RooPlot(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2)
 Create an empty frame with the specified x- and y-axis limits
 and with labels determined by the specified variables.
RooPlot(const RooAbsRealLValue &var1, const RooAbsRealLValue &var2, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax)
 Create an empty frame with the specified x- and y-axis limits
 and with labels determined by the specified variables.
RooPlot(const char* name, const char* title, const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nbins)
 Create an empty frame with its title and x-axis range and label taken
 from the specified real variable. We keep a clone of the variable
 so that we do not depend on its lifetime and are decoupled from
 any later changes to its state.
RooPlot(const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nbins)
 Create an empty frame with its title and x-axis range and label taken
 from the specified real variable. We keep a clone of the variable
 so that we do not depend on its lifetime and are decoupled from
 any later changes to its state.
void initialize()
 Perform initialization that is common to all constructors.
TString histName()
~RooPlot()
 Delete the items in our container and our iterator.
void updateNormVars(const RooArgSet &vars)
Stat_t GetBinContent(Int_t /*i*/)
 A plot object is a frame without any bin contents of its own so this
 method always returns zero.
Stat_t GetBinContent(Int_t, Int_t)
 A plot object is a frame without any bin contents of its own so this
 method always returns zero.
Stat_t GetBinContent(Int_t, Int_t, Int_t)
 A plot object is a frame without any bin contents of its own so this
 method always returns zero.
void addObject(TObject *obj, Option_t *drawOptions, Bool_t invisible)
 Add a generic object to this plot. The specified options will be
 used to Draw() this object later. The caller transfers ownership
 of the object with this call, and the object will be deleted
 when its containing plot object is destroyed.
void addTH1(TH1 *hist, Option_t *drawOptions, Bool_t invisible)
 Add a TH1 histogram object to this plot. The specified options
 will be used to Draw() this object later. "SAME" will be added to
 the options if they are not already present. Note that histograms
 should probably not be drawn with error bars since they will not
 be calculated correctly for bins with low statistics, and will
 not be accounted for in the automatic y-axis range adjustment. To
 histogram data in a RooDataSet without these problems, use
 RooDataSet::plotOn(). The caller transfers ownership of the
 object with this call, and the object will be deleted when its
 containing plot object is destroyed.
void addPlotable(RooPlotable *plotable, Option_t *drawOptions, Bool_t invisible, Bool_t refreshNorm)
 Add the specified plotable object to our plot. Increase our y-axis
 limits to fit this object if necessary. The default lower-limit
 is zero unless we are plotting an object that takes on negative values.
 This call transfers ownership of the plotable object to this class.
 The plotable object will be deleted when this plot object is deleted.
void updateFitRangeNorm(const TH1* hist)
 Update our plot normalization over our plot variable's fit range,
 which will be determined by the first suitable object added to our plot.
void updateFitRangeNorm(const RooPlotable* rp, Bool_t refreshNorm)
 Update our plot normalization over our plot variable's fit range,
 which will be determined by the first suitable object added to our plot.
void updateYAxis(Double_t ymin, Double_t ymax, const char *label)
 Update our y-axis limits to accomodate an object whose spread
 in y is (ymin,ymax). Use the specified y-axis label if we don't
 have one assigned already.
void Draw(Option_t *options)
 Draw this plot and all of the elements it contains. The specified options
 only apply to the drawing of our frame. The options specified in our add...()
 methods will be used to draw each object we contain.
void printToStream(ostream& os, PrintOption opt, TString indent)
 Print info about this plot object to the specified stream.

  Standard: plot variable and number of contained objects
     Shape: list of our contained objects
const char* nameOf(Int_t idx)
 Return the name of the object at slot 'idx' in this RooPlot.
 If the given index is out of range, return a null pointer
TObject* getObject(Int_t idx)
 Return the name of the object at slot 'idx' in this RooPlot.
 If the given index is out of range, return a null pointer
TAttLine * getAttLine(const char *name)
 Return a pointer to the line attributes of the named object in this plot,
 or zero if the named object does not exist or does not have line attributes.
TAttFill * getAttFill(const char *name)
 Return a pointer to the fill attributes of the named object in this plot,
 or zero if the named object does not exist or does not have fill attributes.
TAttMarker * getAttMarker(const char *name)
 Return a pointer to the marker attributes of the named object in this plot,
 or zero if the named object does not exist or does not have marker attributes.
TAttText * getAttText(const char *name)
 Return a pointer to the text attributes of the named object in this plot,
 or zero if the named object does not exist or does not have text attributes.
RooCurve* getCurve(const char* name)
 Return a RooCurve pointer of the named object in this plot,
 or zero if the named object does not exist or is not a RooCurve
RooHist* getHist(const char* name)
 Return a RooCurve pointer of the named object in this plot,
 or zero if the named object does not exist or is not a RooCurve
Bool_t drawBefore(const char *before, const char *target)
 Change the order in which our contained objects are drawn so that
 the target object is drawn just before the specified object.
 Returns kFALSE if either object does not exist.
Bool_t drawAfter(const char *after, const char *target)
 Change the order in which our contained objects are drawn so that
 the target object is drawn just after the specified object.
 Returns kFALSE if either object does not exist.
TObject * findObject(const char *name, const TClass* clas)
 Find the named object in our list of items and return a pointer
 to it. Return zero and print a warning message if the named
 object cannot be found. If no name is supplied the last object
 added is returned.

 Note that the returned pointer is to a
 TObject and so will generally need casting. Use the getAtt...()
 methods to change the drawing style attributes of a contained
 object directly.
TString getDrawOptions(const char *name)
 Return the Draw() options registered for the named object. Return
 an empty string if the named object cannot be found.
Bool_t setDrawOptions(const char *name, TString options)
 Register the specified drawing options for the named object.
 Return kFALSE if the named object cannot be found.
Bool_t getInvisible(const char* name)
void setInvisible(const char* name, Bool_t flag)
TString caller(const char *method)
void SetMaximum(Double_t maximum)
void SetMinimum(Double_t minimum)
Double_t chiSquare(const char* curvename, const char* histname, Int_t nFitParam)
 Find curve object
RooHist* residHist(const char* histname, const char* curvename,bool normalize)
 Find curve object
Double_t getFitRangeNEvt(Double_t xlo, Double_t xhi)
cout << " getFitRangeNEvt(" << GetName() << ")
RooPlot(const char* name, const char* title, const RooAbsRealLValue &var, Double_t xmin, Double_t xmax, Int_t nBins)
Stat_t numItems()
{return _items.GetSize();}
void Print(Option_t *options= 0)
RooAbsRealLValue * getPlotVar()
 data member get/set methods
{ return _plotVarClone; }
Double_t getFitRangeBinW()
{ return _normBinWidth; }
Double_t getPadFactor()
{ return _padFactor; }
void setPadFactor(Double_t factor)
{ if(factor >= 0) _padFactor= factor; }
const RooArgSet * getNormVars()
{ return _normVars; }
Double_t chiSquare(int nFitParam=0)
{ return chiSquare(0,0,nFitParam) ; }
RooHist* pullHist(const char* histname=0, const char* pdfname=0)
{ return residHist(histname,pdfname,true); }

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