void transpad() {
TPad *pad1 =
new TPad(
"pad1",
"",0,0,1,1);
TPad *pad2 =
new TPad(
"pad2",
"",0,0,1,1);
TH1F *h2 =
new TH1F(
"h2",
"h2",100,-3,3);
for (
Int_t i=0;i<100000;i++) {
}
}
static const double x2[5]
static const double x1[5]
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
void SetLabelColor(Int_t labelcolor)
1-D histogram with a float per channel (see TH1 documentation)}
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
TList * GetListOfFunctions() const
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The most important graphics class in the ROOT system.
void SetFillStyle(Style_t fstyle) override
Override TAttFill::FillStyle for TPad because we want to handle style=0 as style 4000.
void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Set world coordinate system for the pad.
void Update() override
Update pad.
void Modified(Bool_t flag=1) override
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).
The histogram statistics painter class.
virtual void SetX1NDC(Double_t x1)
virtual void SetX2NDC(Double_t x2)
This is the base class for the ROOT Random number generators.