CERN ROOT tutorial for beginners - 13 Basic histogram and style setting.

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

From 11:11 to 11.36, I did all that:

root [10] int binN = 100; int xmin = 0; int xmax = 100;
root [11] TCanvas* c1= new TCanvas("c1", "Atanu Canvas", 500, 600, 500, 800);
root [12] c1->Divide(1, 2);
root [13] c1->cd(1);
root [14] TH1C* h1 = new TH1C("h1", "Bin Testing", binN, xmin, xmax);
root [15] h1->SetBit(TH1::kCanRebin);

But I get the following error message:

ROOT_prompt_15:1:17: error: no member named 'kCanRebin' in 'TH1'
h1->SetBit(TH1::kCanRebin);



Please help.

atanunath
Автор

Hey man, does you have a tutorial that teaches how to import data from a archive to put it on a histogram ?

vict
Автор

Good Job you kindly start such a tutorial on CMSSW....?

jamshidkhan