Analysis Software
Documentation for sPHENIX simulation software
|
#include <TROOT.h>
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
Go to the source code of this file.
Functions | |
void | Draw_ratio (TCanvas *c, TProfile *h1, TProfile *h2, TLegend *leg, std::string name) |
Function used to make ratio plot. | |
void | Mat_map (std::string Val="", std::string geantino="", std::string name="") |
void Draw_ratio | ( | TCanvas * | c, |
TProfile * | h1, | ||
TProfile * | h2, | ||
TLegend * | leg, | ||
std::string | name | ||
) |
Function used to make ratio plot.
Definition at line 20 of file Mat_map.C.
View newest version in sPHENIX GitHub at line 20 of file Mat_map.C
References parse_cmake_options::begin, end, line, and Acts::UnitConstants::min.
Referenced by Mat_map().
void Mat_map | ( | std::string | Val = "" , |
std::string | geantino = "" , |
||
std::string | name = "" |
||
) |
Compare two set of material tracks (for example one obtain with propagator and material map and one with geantino scan). Draw the ammont of material (in X0) encounter by tracks as function of eta and phi. Plot the ratio between the two set to help identify inconsistency.
Definition at line 97 of file Mat_map.C.
View newest version in sPHENIX GitHub at line 97 of file Mat_map.C
References Draw_ratio(), i, leg, perf_headwind::name, material_mapping_optimisation::score, t, and to_string().