FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
c | Divide (3, 2) |
TFile | infile ("dedx_out.root","READ") |
gStyle | SetPalette (1, 0) |
c | cd (1) |
h1 | Draw ("colz") |
c | cd (2) |
c | cd (3) |
c | cd (4) |
c | cd (5) |
c | cd (6) |
h1 | Draw () |
h2 | Draw ("SAME") |
fdedx1 | SetParameters (-0.0051344, 0.163231, 7.30319) |
fsum1 | SetParameters (-0.0051344, 0.163231, 7.30319, 0.00428134,-0.00359152, 0.655438) |
fdedx1 | SetLineColor (kOrange) |
fdedx2 | SetParameters (0.0737857, 0.643465, 5.42333) |
fsum2 | SetParameters (0.0737857, 0.643465, 5.42333, 0.0193587,-0.0174329, 0.539616) |
fdedx2 | SetLineColor (kCyan) |
fdedx3 | SetLineColor (kGreen+3) |
fdedx4 | SetParameters (1.71069, 2.21786, 3.82597) |
fsum4 | SetParameters (1.71069, 2.21786, 3.82597, 0.260654, 0.385838, 0.307763) |
fdedx4 | SetLineColor (kViolet+2) |
fdedx5 | SetParameters (4.26561,-0.152697, 4.03156) |
fsum5 | SetParameters (4.26561,-0.152697, 4.03156, 0.338277,-0.664876, 0.656844) |
fdedx5 | SetLineColor (kGray) |
fsum5 | SetLineColor (kYellow) |
Variables | |
TString | funsig = "([3] * (1./x)**2 + [4] * TMath::Log(x) + [5])" |
TCanvas * | c = new TCanvas("c", "dedx_p") |
TH2F * | h1 = (TH2F*) infile.Get("hdedx_p_e") |
TH2F * | h2 = (TH2F*) infile.Get("hdedx_p_mu") |
TH2F * | h3 = (TH2F*) infile.Get("hdedx_p_pi") |
TH2F * | h4 = (TH2F*) infile.Get("hdedx_p_k") |
TH2F * | h5 = (TH2F*) infile.Get("hdedx_p_p") |
TString | funsum = fundedx + " + " + funsig |
TString | fundiff = fundedx + " - " + funsig |
TF1 * | fdedx1 = new TF1("fdedx1", fundedx, 0., 1.5) |
TF1 * | fsum1 = new TF1("fsum1", funsum, 0., 1.5) |
TF1 * | fdiff1 = new TF1("fdiff1", fundiff, 0., 1.5) |
TF1 * | fdedx2 = new TF1("fdedx2", fundedx, 0., 1.5) |
TF1 * | fsum2 = new TF1("fsum2", funsum, 0., 1.5) |
TF1 * | fdiff2 = new TF1("fdiff2", fundiff, 0., 1.5) |
TF1 * | fdedx3 = new TF1("fdedx3", fundedx, 0., 1.5) |
TF1 * | fsum3 = new TF1("fsum3", funsum, 0., 1.5) |
TF1 * | fdiff3 = new TF1("fdiff3", fundiff, 0., 1.5) |
TF1 * | fdedx4 = new TF1("fdedx4", fundedx, 0., 1.5) |
TF1 * | fsum4 = new TF1("fsum4", funsum, 0., 1.5) |
TF1 * | fdiff4 = new TF1("fdiff4", fundiff, 0., 1.5) |
TF1 * | fdedx5 = new TF1("fdedx5", fundedx, 0., 1.5) |
TF1 * | fsum5 = new TF1("fsum5", funsum, 0., 1.5) |
TF1 * | fdiff5 = new TF1("fdiff5", fundiff, 0., 1.5) |
c cd | ( | 1 | ) |
c cd | ( | 2 | ) |
c cd | ( | 3 | ) |
c cd | ( | 4 | ) |
c cd | ( | 5 | ) |
c cd | ( | 6 | ) |
c Divide | ( | 3 | , |
2 | |||
) |
h1 Draw | ( | "colz" | ) |
h1 Draw | ( | ) |
Definition at line 64 of file NHitsPerEvent.C.
h2 Draw | ( | "SAME" | ) |
TFile infile | ( | "dedx_out.root" | , |
"READ" | |||
) |
fdedx1 SetLineColor | ( | kOrange | ) |
fdedx2 SetLineColor | ( | kCyan | ) |
fdedx3 SetLineColor | ( | kGreen+ | 3 | ) |
fdedx4 SetLineColor | ( | kViolet+ | 2 | ) |
fdedx5 SetLineColor | ( | kGray | ) |
fdiff5 SetLineColor | ( | kYellow | ) |
gStyle SetPalette | ( | 1 | , |
0 | |||
) |
fdedx1 SetParameters | ( | -0. | 0051344, |
0. | 163231, | ||
7. | 30319 | ||
) |
fdiff1 SetParameters | ( | -0. | 0051344, |
0. | 163231, | ||
7. | 30319, | ||
0. | 00428134, | ||
-0. | 00359152, | ||
0. | 655438 | ||
) |
fdedx3 SetParameters | ( | 0. | 0737857, |
0. | 643465, | ||
5. | 42333 | ||
) |
fdiff3 SetParameters | ( | 0. | 0737857, |
0. | 643465, | ||
5. | 42333, | ||
0. | 0193587, | ||
-0. | 0174329, | ||
0. | 539616 | ||
) |
fdedx4 SetParameters | ( | 1. | 71069, |
2. | 21786, | ||
3. | 82597 | ||
) |
fdiff4 SetParameters | ( | 1. | 71069, |
2. | 21786, | ||
3. | 82597, | ||
0. | 260654, | ||
0. | 385838, | ||
0. | 307763 | ||
) |
fdedx5 SetParameters | ( | 4. | 26561, |
-0. | 152697, | ||
4. | 03156 | ||
) |
fdiff5 SetParameters | ( | 4. | 26561, |
-0. | 152697, | ||
4. | 03156, | ||
0. | 338277, | ||
-0. | 664876, | ||
0. | 656844 | ||
) |
TCanvas* c = new TCanvas("c", "dedx_p") |
Definition at line 10 of file draw_bands.C.
TF1* fdedx1 = new TF1("fdedx1", fundedx, 0., 1.5) |
Definition at line 37 of file draw_bands.C.
TF1* fdedx2 = new TF1("fdedx2", fundedx, 0., 1.5) |
Definition at line 49 of file draw_bands.C.
TF1* fdedx3 = new TF1("fdedx3", fundedx, 0., 1.5) |
Definition at line 61 of file draw_bands.C.
TF1* fdedx4 = new TF1("fdedx4", fundedx, 0., 1.5) |
Definition at line 73 of file draw_bands.C.
TF1* fdedx5 = new TF1("fdedx5", fundedx, 0., 1.5) |
Definition at line 85 of file draw_bands.C.
TF1* fdiff1 = new TF1("fdiff1", fundiff, 0., 1.5) |
Definition at line 41 of file draw_bands.C.
TF1* fdiff2 = new TF1("fdiff2", fundiff, 0., 1.5) |
Definition at line 53 of file draw_bands.C.
TF1* fdiff3 = new TF1("fdiff3", fundiff, 0., 1.5) |
Definition at line 65 of file draw_bands.C.
TF1* fdiff4 = new TF1("fdiff4", fundiff, 0., 1.5) |
Definition at line 77 of file draw_bands.C.
TF1* fdiff5 = new TF1("fdiff5", fundiff, 0., 1.5) |
Definition at line 89 of file draw_bands.C.
TF1* fsum1 = new TF1("fsum1", funsum, 0., 1.5) |
Definition at line 39 of file draw_bands.C.
TF1* fsum2 = new TF1("fsum2", funsum, 0., 1.5) |
Definition at line 51 of file draw_bands.C.
TF1* fsum3 = new TF1("fsum3", funsum, 0., 1.5) |
Definition at line 63 of file draw_bands.C.
TF1* fsum4 = new TF1("fsum4", funsum, 0., 1.5) |
Definition at line 75 of file draw_bands.C.
TF1* fsum5 = new TF1("fsum5", funsum, 0., 1.5) |
Definition at line 87 of file draw_bands.C.
Definition at line 35 of file draw_bands.C.
Definition at line 6 of file draw_bands.C.
Definition at line 34 of file draw_bands.C.
TH2F* h1 = (TH2F*) infile.Get("hdedx_p_e") |
Definition at line 15 of file draw_bands.C.
TH2F* h2 = (TH2F*) infile.Get("hdedx_p_mu") |
Definition at line 16 of file draw_bands.C.
TH2F* h3 = (TH2F*) infile.Get("hdedx_p_pi") |
Definition at line 17 of file draw_bands.C.
TH2F* h4 = (TH2F*) infile.Get("hdedx_p_k") |
Definition at line 18 of file draw_bands.C.
TH2F* h5 = (TH2F*) infile.Get("hdedx_p_p") |
Definition at line 19 of file draw_bands.C.
Referenced by HypHitAnasigBg_AR(), and TrackHits().