Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mat_map_surface_plot_ratio.C File Reference
+ Include dependency graph for Mat_map_surface_plot_ratio.C:

Go to the source code of this file.

Functions

void plot_ratio (std::vector< TH2F * > Map_prop, std::vector< TH2F * > Map_geant, const sinfo &surface_info, const std::string &name)
 Draw and save the ratio plots.
 
void Mat_map_surface_plot_ratio (std::string input_file_prop="", std::string input_file_geant="", int nbprocess=-1, std::string name="", std::string name_prop="", std::string name_geant="")
 

Function Documentation

void Mat_map_surface_plot_ratio ( std::string  input_file_prop = "",
std::string  input_file_geant = "",
int  nbprocess = -1,
std::string  name = "",
std::string  name_prop = "",
std::string  name_geant = "" 
)

Plot the material ratio between the geantino scan and the map validation for each surface. nbprocess : number of parameter to be processed name : name of the output directory. name_prop : name of the output directory for the map valdation. name_geant : name of the output directory for the geantino scan. The map valdation and geantino scan plots are only saved if name_prop and name_geant are defined.

Definition at line 93 of file Mat_map_surface_plot_ratio.C.

View newest version in sPHENIX GitHub at line 93 of file Mat_map_surface_plot_ratio.C

References Fill(), add_histos::hist, perf_headwind::name, plot(), and plot_ratio().

+ Here is the call graph for this function:

void plot_ratio ( std::vector< TH2F * >  Map_prop,
std::vector< TH2F * >  Map_geant,
const sinfo surface_info,
const std::string &  name 
)

Draw and save the ratio plots.

Definition at line 13 of file Mat_map_surface_plot_ratio.C.

View newest version in sPHENIX GitHub at line 13 of file Mat_map_surface_plot_ratio.C

References sinfo::id, sinfo::idname, sinfo::name, sinfo::pos, writeMapConfig::surface, to_string(), and sinfo::type.

+ Here is the call graph for this function: