Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
jpsi_particle_plot.C File Reference

Go to the source code of this file.

Functions

int jpsi_particle_plot ()
 
void fillHist (TH2F *h, TTree *t_reco, TTree *t_truth, TString type_TString, bool reco)
 
void hist_to_png (TH2F *h, TString saveTitle, TString type2)
 

Variables

TFile * f_1 = new TFile("/sphenix/user/gregtom3/data/Summer2018/ExclusiveReco_studies/latest_run/10x100_1M_dvmp.root","READ")
 
TTree * t_1_exclusive = (TTree*)f_1->Get("event_exclusive")
 
TTree * t_1_reco = (TTree*)f_1->Get("event_reco")
 
TTree * t_1_truth = (TTree*)f_1->Get("event_truth")
 

Function Documentation

void fillHist ( TH2F *  h,
TTree *  t_reco,
TTree *  t_truth,
TString  type_TString,
bool  reco 
)

Definition at line 104 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 104 of file jpsi_particle_plot.C

References test_fpe::count, i, train_ambiguity_solver::pid, and parse_cmake_options::type.

void hist_to_png ( TH2F *  h,
TString  saveTitle,
TString  type2 
)

Definition at line 304 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 304 of file jpsi_particle_plot.C

References parse_cmake_options::type.

int jpsi_particle_plot ( )

Definition at line 15 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 15 of file jpsi_particle_plot.C

References fillHist(), hist_to_png(), ambiguity_solver_full_chain::idx, nbins, t_1_reco, and t_1_truth.

+ Here is the call graph for this function:

Variable Documentation

TFile* f_1 = new TFile("/sphenix/user/gregtom3/data/Summer2018/ExclusiveReco_studies/latest_run/10x100_1M_dvmp.root","READ")

Definition at line 5 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 5 of file jpsi_particle_plot.C

TTree* t_1_exclusive = (TTree*)f_1->Get("event_exclusive")

Definition at line 7 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 7 of file jpsi_particle_plot.C

TTree* t_1_reco = (TTree*)f_1->Get("event_reco")

Definition at line 8 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 8 of file jpsi_particle_plot.C

TTree* t_1_truth = (TTree*)f_1->Get("event_truth")

Definition at line 9 of file jpsi_particle_plot.C.

View newest version in sPHENIX GitHub at line 9 of file jpsi_particle_plot.C