Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
prob_EMC_e_pi_plotMacro.C File Reference
#include <iostream>
#include <cstdlib>
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
+ Include dependency graph for prob_EMC_e_pi_plotMacro.C:

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/")
 

Function Documentation

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().

+ Here is the caller graph for this function:

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

References f, and t.

Referenced by prob_EMC_e_pi_plotMacro().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function: