Go to the source code of this file.
|
| Int_t | B =1000 |
| |
| Int_t | min =-2 |
| |
| Int_t | max =2 |
| |
| FILE * | fp = fopen("yz.root","r") |
| |
| | else |
| |
| cout<< "*** it will be created from merged ROOT files ***"<< endl;system("rm -rf yz.root");system("hadd yz.root yz_*.root");}c1=new TCanvas("c1","", 60, 60, 800, 600);c1.Divide(3, 2);TFile f("yz.root");TNtuple *ntuple;ntuple=(TNtuple *) f-> | Get ("yz") |
| |
| Double_t | norm =0 |
| |
| delete | new_bins |
| |
| Double_t | radius |
| |
| Double_t | y |
| |
| Double_t | z |
| |
| Int_t | nentries = (Int_t)ntuple->GetEntries() |
| |
| Double_t | normLogfy =0 |
| |
| Double_t | logyF =0 |
| |
◆ cd()
◆ Draw() [1/2]
| ntuple Draw |
( |
"y>>hfy" |
, |
|
|
"" |
, |
|
|
"" |
|
|
) |
| |
◆ Draw() [2/2]
◆ f() [1/2]
| cout<< endl;cout << "**** I - Results from lin-lin histograms ****" << endl;cout << endl;cout << "---> sum of f |
( |
hdy->SetTitle("d() (um/keV)") |
y | ) |
|
◆ f() [2/2]
| cout<< "---> sum of Log f |
( |
y |
| ) |
|
Definition at line 286 of file extended/medical/dna/microyz/plot.C.
293 hlogy2fy->SetBinContent(i,
295 hlogy2fy->GetBinCenter(i)
296 *hlogy2fy->GetBinCenter(i)
297 *hlogy2fy->GetBinContent(i)
298 /(TMath::Power(10, from + (i+1) *
width)-TMath::Power(10, from + i *
width))
◆ for() [1/2]
| for |
( |
Int_t |
j = 0;j< hfy->GetNbinsX();j++ | ) |
=normLogfy+(log(10)/B)*hlogyfy->GetBinContent(j) |
◆ for() [2/2]
◆ GetXaxis()
◆ if()
◆ Scale() [1/5]
| hfy Scale |
( |
1./ |
hfy->GetEntries() *hfy->GetBinWidth(1) | ) |
|
◆ Scale() [2/5]
| hlogyfy Scale |
( |
1./ |
hlogyfy->GetEntries() | ) |
|
◆ Scale() [3/5]
| hlogy2fy Scale |
( |
1./ |
hlogy2fy->GetEntries() | ) |
|
◆ Scale() [4/5]
| hlogydy Scale |
( |
1./ |
hlogydy->GetEntries() | ) |
|
◆ Scale() [5/5]
| hlogy3fy Scale |
( |
1./ |
hlogy3fy->GetEntries() | ) |
|
◆ Set()
◆ SetBranchAddress() [1/3]
| ntuple SetBranchAddress |
( |
"radius" |
, |
|
|
& |
radius |
|
) |
| |
◆ SetBranchAddress() [2/3]
| ntuple SetBranchAddress |
( |
"y" |
, |
|
|
& |
y |
|
) |
| |
◆ SetBranchAddress() [3/3]
| ntuple SetBranchAddress |
( |
"z" |
, |
|
|
& |
z |
|
) |
| |
◆ SetFillColor() [1/2]
◆ SetFillColor() [2/2]
| hlogyfy SetFillColor |
( |
2 |
| ) |
|
◆ SetLineColor()
| hlogyfy SetLineColor |
( |
2 |
| ) |
|
◆ SetLogx()
◆ SetOptStat()
| gStyle SetOptStat |
( |
00000 |
| ) |
|
◆ SetPalette()
◆ SetStyle()
| gROOT SetStyle |
( |
"Plain" |
| ) |
|
◆ SetTitle() [1/2]
| hfy SetTitle |
( |
"f(y) (um/keV)" |
| ) |
|
◆ SetTitle() [2/2]
| hlogyfy SetTitle |
( |
"y*f(y)" |
| ) |
|
◆ else
◆ fp
| FILE* fp = fopen("yz.root","r") |
◆ Get
| cout<< "*** it will be created from merged ROOT files ***"<< endl; system ("rm -rf yz.root"); system ("hadd yz.root yz_*.root");}c1 = new TCanvas ("c1","",60,60,800,600);c1.Divide(3,2);TFile f("yz.root"); TNtuple* ntuple;ntuple = (TNtuple*)f-> Get("yz") |
◆ logyF
◆ max
◆ min
◆ nentries
◆ new_bins
◆ norm
◆ normLogfy
◆ radius