![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <TROOT.h>#include "materialPlotHelper.cpp"#include <fstream>#include <iostream>#include <sstream>
Include dependency graph for Mat_map_surface_plot_dist.C:Go to the source code of this file.
Functions | |
| void | plot (TGraph *Dist, const sinfo &surface_info, const std::string &name) |
| void | Initialise_hist (TGraph *&surface_hist, const std::pair< std::vector< float >, std::vector< float >> &surface_pos, const sinfo &surface_info) |
| Create the Tgraphs from each surface based on a vector of positions. | |
| void | Fill (std::map< uint64_t, TGraph * > &surface_hist, std::map< uint64_t, sinfo > &surface_info, const std::string &input_file, const int &nbprocess) |
| Fill the histograms for each surfaces. | |
| void | Mat_map_surface_plot_dist (std::string input_file="", int nbprocess=-1, std::string name="") |
| void Fill | ( | std::map< uint64_t, TGraph * > & | surface_hist, |
| std::map< uint64_t, sinfo > & | surface_info, | ||
| const std::string & | input_file, | ||
| const int & | nbprocess | ||
| ) |
Fill the histograms for each surfaces.
Definition at line 99 of file Mat_map_surface_plot_dist.C.
View newest version in sPHENIX GitHub at line 99 of file Mat_map_surface_plot_dist.C
References i, Initialise_hist(), Initialise_info(), j, Acts::Test::pos, tfile, and tree.
Here is the call graph for this function:| void Initialise_hist | ( | TGraph *& | surface_hist, |
| const std::pair< std::vector< float >, std::vector< float >> & | surface_pos, | ||
| const sinfo & | surface_info | ||
| ) |
Create the Tgraphs from each surface based on a vector of positions.
Definition at line 85 of file Mat_map_surface_plot_dist.C.
View newest version in sPHENIX GitHub at line 85 of file Mat_map_surface_plot_dist.C
References sinfo::type.
| void Mat_map_surface_plot_dist | ( | std::string | input_file = "", |
| int | nbprocess = -1, |
||
| std::string | name = "" |
||
| ) |
Plot the position of material interaction with respect with the associated surface. nbprocess : number of parameter to be processed. name : name of the output directory.
Definition at line 182 of file Mat_map_surface_plot_dist.C.
View newest version in sPHENIX GitHub at line 182 of file Mat_map_surface_plot_dist.C
References Fill(), perf_headwind::input_file, perf_headwind::name, and plot().
Here is the call graph for this function:| void plot | ( | TGraph * | Dist, |
| const sinfo & | surface_info, | ||
| const std::string & | name | ||
| ) |
Definition at line 18 of file Mat_map_surface_plot_dist.C.
View newest version in sPHENIX GitHub at line 18 of file Mat_map_surface_plot_dist.C
References Acts::PhysicalConstants::c, sinfo::id, sinfo::idname, sinfo::name, sinfo::pos, sinfo::range_max, sinfo::range_min, writeMapConfig::surface, to_string(), and sinfo::type.
Here is the call graph for this function: