EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#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< TH2F * > Map, std::vector< int > detectors, const std::string &name) |
Draw and save the histograms. | |
void | Initialise_hist (std::vector< TH2F * > &detector_hist) |
Initialise the histograms for the detector. | |
void | Fill (std::vector< TH2F * > &detector_hist, const std::string &input_file, std::vector< int > detectors, const int &nbprocess) |
Fill the histograms for the detector. | |
void | Mat_map_detector_plot (std::string input_file="", std::vector< int > detectors=vector< int >(), int nbprocess=-1, std::string name="") |
void Fill | ( | std::vector< TH2F * > & | detector_hist, |
const std::string & | input_file, | ||
std::vector< int > | detectors, | ||
const int & | nbprocess | ||
) |
Fill the histograms for the detector.
Definition at line 100 of file Mat_map_detector_plot.C.
View newest version in sPHENIX GitHub at line 100 of file Mat_map_detector_plot.C
References Initialise_hist(), v_phi, and Acts::GeometryIdentifier::volume().
Referenced by analysis_resolution(), Mat_map_detector_plot(), Mat_map_detector_plot_ratio(), Mat_map_surface_plot(), Mat_map_surface_plot_1D(), Mat_map_surface_plot_dist(), Mat_map_surface_plot_ratio(), and CaloCalibEmc_Pi0::process_event().
void Initialise_hist | ( | std::vector< TH2F * > & | detector_hist | ) |
Initialise the histograms for the detector.
Definition at line 73 of file Mat_map_detector_plot.C.
View newest version in sPHENIX GitHub at line 73 of file Mat_map_detector_plot.C
Referenced by Fill().
void Mat_map_detector_plot | ( | std::string | input_file = "" , |
std::vector< int > | detectors = vector<int>() , |
||
int | nbprocess = -1 , |
||
std::string | name = "" |
||
) |
Plot the material as function of eta and phi for a given detector/sub-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.
Definition at line 179 of file Mat_map_detector_plot.C.
View newest version in sPHENIX GitHub at line 179 of file Mat_map_detector_plot.C
References Fill(), name, and plot().
void plot | ( | std::vector< TH2F * > | Map, |
std::vector< int > | detectors, | ||
const std::string & | name | ||
) |
Draw and save the histograms.
Definition at line 19 of file Mat_map_detector_plot.C.
View newest version in sPHENIX GitHub at line 19 of file Mat_map_detector_plot.C
References c1, c2, c3, and nlohmann::to_string().
Referenced by GeneratePlot(), Mat_map_detector_plot(), Mat_map_detector_plot_ratio(), Mat_map_surface_plot(), Mat_map_surface_plot_1D(), Mat_map_surface_plot_dist(), Mat_map_surface_plot_ratio(), and viewer().