Analysis Software
Documentation for sPHENIX simulation software
|
#include <iostream>
#include <cstdlib>
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
Go to the source code of this file.
Functions | |
TTree * | loadTree (TString FILE_NAME="", TString TREE_NAME="", const TString DIR_PATH="/sphenix/user/gregtom3/data/Summer2018/ECAL_probability_studies/") |
TH1F * | fillHist (TH1F *THE_HIST, TTree *THE_TREE) |
void | histToPNG (TH1F *h_p, TH1F *h_e, char *title, char *saveFileName) |
void | prob_EMC_e_pi_plotMacro (const TString DIR_PATH="/sphenix/user/gregtom3/data/Summer2018/ECAL_probability_studies/") |
TH1F* fillHist | ( | TH1F * | THE_HIST, |
TTree * | THE_TREE | ||
) |
Definition at line 19 of file prob_EMC_e_pi_plotMacro.C.
View newest version in sPHENIX GitHub at line 19 of file prob_EMC_e_pi_plotMacro.C
References i.
void histToPNG | ( | TH1F * | h_p, |
TH1F * | h_e, | ||
char * | title, | ||
char * | saveFileName | ||
) |
Definition at line 49 of file prob_EMC_e_pi_plotMacro.C.
View newest version in sPHENIX GitHub at line 49 of file prob_EMC_e_pi_plotMacro.C
Referenced by prob_EMC_e_pi_plotMacro().
TTree* loadTree | ( | TString | FILE_NAME = "" , |
TString | TREE_NAME = "" , |
||
const TString | DIR_PATH = "/sphenix/user/gregtom3/data/Summer2018/ECAL_probability_studies/" |
||
) |
Definition at line 8 of file prob_EMC_e_pi_plotMacro.C.
View newest version in sPHENIX GitHub at line 8 of file prob_EMC_e_pi_plotMacro.C
Referenced by prob_EMC_e_pi_plotMacro().
void prob_EMC_e_pi_plotMacro | ( | const TString | DIR_PATH = "/sphenix/user/gregtom3/data/Summer2018/ECAL_probability_studies/" | ) |
Definition at line 77 of file prob_EMC_e_pi_plotMacro.C.
View newest version in sPHENIX GitHub at line 77 of file prob_EMC_e_pi_plotMacro.C
References fillHist(), histToPNG(), loadTree(), and SetsPhenixStyle().