Analysis Software
Documentation for sPHENIX simulation software
|
#include <TROOT.h>
#include "materialPlotHelper.cpp"
#include <fstream>
#include <iostream>
#include <sstream>
Go to the source code of this file.
Functions | |
void | plot (std::vector< TH1F * > Map, const sinfo &surface_info, const std::string &name) |
void | Initialise_hist (std::vector< TH1F * > &surface_hist, const sinfo &surface_info) |
Initialise the two 1D histograms for each surface. | |
void | Fill (std::map< uint64_t, std::vector< TH1F * >> &surface_hist, std::map< uint64_t, sinfo > &surface_info, const std::string &input_file, const int &nbprocess) |
Fill the two 1D histograms for each surfaces. | |
void | Mat_map_surface_plot_1D (std::string input_file="", int nbprocess=-1, std::string name="") |
void Fill | ( | std::map< uint64_t, std::vector< TH1F * >> & | surface_hist, |
std::map< uint64_t, sinfo > & | surface_info, | ||
const std::string & | input_file, | ||
const int & | nbprocess | ||
) |
Fill the two 1D histograms for each surfaces.
Definition at line 162 of file Mat_map_surface_plot_1D.C.
View newest version in sPHENIX GitHub at line 162 of file Mat_map_surface_plot_1D.C
References i, Initialise_hist(), Initialise_info(), j, Acts::Test::pos, tfile, and tree.
void Initialise_hist | ( | std::vector< TH1F * > & | surface_hist, |
const sinfo & | surface_info | ||
) |
Initialise the two 1D histograms for each surface.
Definition at line 111 of file Mat_map_surface_plot_1D.C.
View newest version in sPHENIX GitHub at line 111 of file Mat_map_surface_plot_1D.C
References sinfo::idname, sinfo::range_max, sinfo::range_min, and sinfo::type.
void Mat_map_surface_plot_1D | ( | std::string | input_file = "" , |
int | nbprocess = -1 , |
||
std::string | name = "" |
||
) |
Plot the material on each surface as function of Phi and Eta (two 1D plots). nbprocess : number of parameter to be processed. name : name of the output directory.
Definition at line 265 of file Mat_map_surface_plot_1D.C.
View newest version in sPHENIX GitHub at line 265 of file Mat_map_surface_plot_1D.C
References Fill(), add_histos::hist, perf_headwind::input_file, perf_headwind::name, and plot().
void plot | ( | std::vector< TH1F * > | Map, |
const sinfo & | surface_info, | ||
const std::string & | name | ||
) |
Definition at line 19 of file Mat_map_surface_plot_1D.C.
View newest version in sPHENIX GitHub at line 19 of file Mat_map_surface_plot_1D.C
References c2, sinfo::id, sinfo::idname, sinfo::name, sinfo::pos, writeMapConfig::surface, to_string(), and sinfo::type.