void hist050_Graphics_candle_plot_options()
{
TH2I *
h1 =
new TH2I(
"h1",
"Sin", 18, 0, 360, 300, -1.5, 1.5);
h1->GetXaxis()->SetTitle(
"Deg");
float myRand;
for (int i = 0; i < 360; i += 10) {
for (int j = 0; j < 100; j++) {
myRand = rng->
Gaus(sin(i * 3.14 / 180), 0.2);
}
}
for (int i = 1; i < 7; i++) {
}
char myopt[16][8] = {"0", "1", "11", "21", "31", "30", "111", "311",
"301", "1111", "2321", "12111", "112111", "212111", "312111"};
for (int i = 0; i < 15; i++) {
}
}
void SetTitle(const char *title) override
Change/set the title.
2-D histogram with an int per channel (see TH1 documentation)
This is the base class for the ROOT Random number generators.
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.