Candle Decay, illustrate a time development of a certain value.
{
auto c1 =
new TCanvas(
"c1",
"Candle Decay",800,600);
auto h1 =
new TH2I(
"h1",
"Decay",1000,0,1000,20,0,20);
for (int i = 0; i < 19; i++) {
for (
int j = 0;
j < 1000000;
j++) {
}
}
h1->
Draw(
"violiny(112000000)");
h2->DrawCopy(
"candley2");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
void Draw(Option_t *option="") override
Draw this histogram with options.
TObject * Clone(const char *newname="") const override
Make a complete copy of the underlying object.
virtual void SetBarWidth(Float_t width=0.5)
Set the width of bars as fraction of the bin width for drawing mode "B".
2-D histogram with an int per channel (see TH1 documentation)
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
This is the base class for the ROOT Random number generators.
- Author
- Georg Troska
Definition in file candledecay.C.