EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#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 | ||
) |
void Mat_map | ( | std::string | Val = "" , |
std::string | geantino = "" , |
||
std::string | name = "" |
||
) |
Compare two set of material tracks (for exemple 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(), leg(), name, t, and nlohmann::to_string().