99 void DemoDouble32::Set(
Double_t ref) {
100 fD64 = fF32 = fI32 = fI30 = fI28 = fI26 = fI24 = fI22 = fI20 = ref;
101 fI18 = fI16 = fI14 = fI12 = fI10 = fI8 = fI6 = fI4 = fI2 = ref;
102 fR14 = fR12 = fR10 = fR8 = fR6 = fR4 = fR2 = ref;
108 DemoDouble32 *d =
new DemoDouble32();
153 TPaveLabel *title =
new TPaveLabel(.15,.92,.85,.97,
"Double32_t compression and precision",
"brNDC");
181 legend->
AddEntry(gcx,
"Compression factor",
"lp");
182 legend->
AddEntry(gdrange,
"Log of precision wrt range",
"lp");
183 legend->
AddEntry(gdval,
"Log of precision wrt value",
"lp");
virtual const char * GetName() const
Returns name of object.
Random number generator class based on M.
virtual void SetMaximum(Double_t maximum=-1111)
This class displays a legend box (TPaveText) containing several legend entries.
Long64_t GetZipBytes(Option_t *option="") const
Return total number of zip bytes in the branch if option ="*" includes all sub-branches of this branc...
virtual Int_t Fill()
Fill all branches.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void Draw(Option_t *option="")
Draw this legend with its current attributes.
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
tomato 1-D histogram with a float per channel (see TH1 documentation)}
TObject * At(Int_t idx) const
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=1, Int_t netopt=0)
Create / open a file.
Double_t RMS(Long64_t n, const T *a, const Double_t *w=0)
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
TFrame * GetFrame()
Get frame.
virtual void SetGrid(Int_t valuex=1, Int_t valuey=1)
Double_t Log10(Double_t x)
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
TObjArray * GetListOfBranches()
virtual void SetBorderSize(Short_t bordersize)
A Pave (see TPave) with a text centered in the Pave.
virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
char * Form(const char *fmt,...)
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void Draw(Option_t *option="")
Draw this pavelabel with its current attributes.
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
Add a new entry to this legend.
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
virtual void SetBinLabel(Int_t bin, const char *label)
Set label for bin.
virtual Double_t Uniform(Double_t x1=1)
Returns a uniform deviate on the interval (0, x1).
virtual Int_t Branch(TCollection *list, Int_t bufsize=32000, Int_t splitlevel=99, const char *name="")
Create one branch for each element in the collection.
virtual void SetPoint(Int_t i, Double_t x, Double_t y)
Set x and y values for point number i.
void SetFrameBorderSize(Width_t size=1)
Short_t Max(Short_t a, Short_t b)
A Graph is a graphics object made of two arrays X and Y with npoints each.
Int_t GetEntries() const
Return the number of objects in array (i.e.
A TTree object has a header with a name and a title.
void SetFrameFillColor(Color_t color=1)
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
A TTree is a list of TBranches.
virtual Double_t * GetV1()
virtual void SetStats(Bool_t stats=kTRUE)
Set statistics option on/off.
void SetHighLightColor(Color_t col)