Go to the source code of this file.
|
| TFile * | inFile = TFile::Open("pid_sttcombi.root") |
| |
| TTree * | tree =(TTree *) inFile->Get("pndsim") |
| |
| TCanvas * | c1 = new TCanvas("Charged Candidate", "Charged Candidate", 100, 100, 1200, 800) |
| |
| TCanvas * | c2 = new TCanvas("Neutral Candidate", "Neutral Candidate", 100, 100, 1200, 800) |
| |
| TH1F * | charg_mom = new TH1F("charg_mom","charg_mom",100,-0.2,0.2) |
| |
| simtree AddFriend |
( |
"pndsim" |
, |
|
|
"points_sttcombi.root" |
|
|
) |
| |
| gStyle SetFillColor |
( |
0 |
| ) |
|
| gStyle SetHistFillColor |
( |
0 |
| ) |
|
| gStyle SetHistLineWidth |
( |
2 |
| ) |
|
| gStyle SetLabelSize |
( |
. |
05, |
|
|
"Y" |
|
|
) |
| |
| gStyle SetLabelSize |
( |
. |
05, |
|
|
"X" |
|
|
) |
| |
| gStyle SetTitleOffset |
( |
. |
85, |
|
|
"X" |
|
|
) |
| |
| gStyle SetTitleOffset |
( |
. |
85, |
|
|
"Y" |
|
|
) |
| |
| gStyle SetTitleSize |
( |
. |
05, |
|
|
"X" |
|
|
) |
| |
| gStyle SetTitleSize |
( |
. |
05, |
|
|
"Y" |
|
|
) |
| |
| TCanvas* c1 = new TCanvas("Charged Candidate", "Charged Candidate", 100, 100, 1200, 800) |
| TCanvas* c2 = new TCanvas("Neutral Candidate", "Neutral Candidate", 100, 100, 1200, 800) |
| TH1F* charg_mom = new TH1F("charg_mom","charg_mom",100,-0.2,0.2) |
| TFile* inFile = TFile::Open("pid_sttcombi.root") |