EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plot_matscan.C File Reference

Go to the source code of this file.

Functions

void LoadData (const char *datfile)
 
void PrepareVariables ()
 
void CreatePlots ()
 
void PrettyTGraphErrors (TGraphErrors *gP, int color, int marker, float xmin, float xmax, float ymin, float ymax, TString xtit, TString ytit, TString tit)
 
void material_scan ()
 

Variables

vector< float > thetavec [5]
 
vector< float > phivec [5]
 
vector< float > x0vec_max [5]
 
vector< float > x0vec_min [5]
 
vector< float > lamda0vec [5]
 
int loaded = 0
 
float ** thetaarr
 
float ** etaarr
 
float ** phiarr
 
float ** x0arr
 
float ** x0arr_copy
 
float ** x0Earr
 
float ** lamda0arr
 
TGraphErrors ** gr_th = new TGraphErrors*[5]
 
TGraphErrors ** gr_et = new TGraphErrors*[5]
 
int color [] = {1,6,2,62,8,13}
 
TString part [] = {"total","beampipe","barrel","forward","backward"}
 
const int size_part = sizeof(part)/sizeof(*part)
 

Function Documentation

void CreatePlots ( )

Definition at line 177 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 177 of file plot_matscan.C

References color, etaarr, gr_et, gr_th, loaded, part, PrettyTGraphErrors(), thetaarr, thetavec, x0arr, x0arr_copy, and x0Earr.

Referenced by material_scan().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LoadData ( const char *  datfile)

Definition at line 77 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 77 of file plot_matscan.C

References lamda0vec, loaded, phi, phimin, phivec, theta(), thetamin, thetavec, x0vec_max, and x0vec_min.

Referenced by material_scan().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void material_scan ( )

Definition at line 20 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 20 of file plot_matscan.C

References AddEntry(), c1, c2, c3, c4, c5, c6, CreatePlots(), Draw(), gr_et, gr_th, leg(), LoadData(), loaded, part, PrepareVariables(), Print(), SetLineColor(), SetRightMargin(), and size_part.

+ Here is the call graph for this function:

void PrepareVariables ( )

Definition at line 142 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 142 of file plot_matscan.C

References etaarr, lamda0arr, lamda0vec, loaded, phiarr, phivec, thetaarr, thetavec, x0arr, x0arr_copy, x0Earr, x0vec_max, and x0vec_min.

Referenced by material_scan().

+ Here is the caller graph for this function:

void PrettyTGraphErrors ( TGraphErrors *  gP,
int  color,
int  marker,
float  xmin,
float  xmax,
float  ymin,
float  ymax,
TString  xtit,
TString  ytit,
TString  tit 
)

Definition at line 192 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 192 of file plot_matscan.C

References GetXaxis(), GetYaxis(), SetLineColor(), SetLineWidth(), and SetMinimum().

Referenced by CreatePlots().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

int color[] = {1,6,2,62,8,13}

Definition at line 8 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 8 of file plot_matscan.C

float** etaarr

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by CreatePlots(), and PrepareVariables().

TGraphErrors** gr_et = new TGraphErrors*[5]

Definition at line 6 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 6 of file plot_matscan.C

Referenced by CreatePlots(), and material_scan().

TGraphErrors** gr_th = new TGraphErrors*[5]

Definition at line 5 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 5 of file plot_matscan.C

Referenced by CreatePlots(), and material_scan().

float** lamda0arr

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

vector<float> lamda0vec[5]

Definition at line 1 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 1 of file plot_matscan.C

Referenced by LoadData(), plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

int loaded = 0

Definition at line 2 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 2 of file plot_matscan.C

Referenced by CreatePlots(), LoadData(), material_scan(), PrepareVariables(), and CbmMCStage::SetLoaded().

float** phiarr

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

vector<float> phivec[5]

Definition at line 1 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 1 of file plot_matscan.C

Referenced by LoadData(), plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

const int size_part = sizeof(part)/sizeof(*part)

Definition at line 11 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 11 of file plot_matscan.C

Referenced by material_scan().

float** thetaarr

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by CreatePlots(), plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

vector<float> thetavec[5]

Definition at line 1 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 1 of file plot_matscan.C

Referenced by CreatePlots(), LoadData(), plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

float** x0arr

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by CreatePlots(), plot_matscan(), plot_matscan_tdr(), and PrepareVariables().

float** x0arr_copy

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by CreatePlots(), and PrepareVariables().

float** x0Earr

Definition at line 3 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 3 of file plot_matscan.C

Referenced by CreatePlots(), and PrepareVariables().

vector<float> x0vec_max[5]

Definition at line 1 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 1 of file plot_matscan.C

Referenced by LoadData(), and PrepareVariables().

vector<float> x0vec_min[5]

Definition at line 1 of file plot_matscan.C.

View newest version in sPHENIX GitHub at line 1 of file plot_matscan.C

Referenced by LoadData(), and PrepareVariables().