EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mat_map.C File Reference
#include <TROOT.h>
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
+ Include dependency graph for Mat_map.C:

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="")
 

Function Documentation

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 max, and min.

Referenced by Mat_map().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function: