EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include "Mat_map_detector_plot.C"
Go to the source code of this file.
Functions | |
void | plot_ratio (std::vector< TH2F * > Map_prop, std::vector< TH2F * > Map_geant, std::vector< int > detectors, const std::string &name) |
Draw and save the ratio plots. | |
void | Mat_map_detector_plot_ratio (std::string input_file_prop="", std::string input_file_geant="", std::vector< int > detectors=vector< int >(), int nbprocess=-1, std::string name="", std::string name_prop="", std::string name_geant="") |
void Mat_map_detector_plot_ratio | ( | std::string | input_file_prop = "" , |
std::string | input_file_geant = "" , |
||
std::vector< int > | detectors = vector<int>() , |
||
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 detector. detectors : list of the ID of the volume constitutive of the detector/sub-detector 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 91 of file Mat_map_detector_plot_ratio.C.
View newest version in sPHENIX GitHub at line 91 of file Mat_map_detector_plot_ratio.C
References Fill(), name, plot(), and plot_ratio().
void plot_ratio | ( | std::vector< TH2F * > | Map_prop, |
std::vector< TH2F * > | Map_geant, | ||
std::vector< int > | detectors, | ||
const std::string & | name | ||
) |
Draw and save the ratio plots.
Definition at line 13 of file Mat_map_detector_plot_ratio.C.
View newest version in sPHENIX GitHub at line 13 of file Mat_map_detector_plot_ratio.C
References c1, c2, c3, and nlohmann::to_string().
Referenced by Mat_map_detector_plot_ratio(), and Mat_map_surface_plot_ratio().