Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
centProxy Namespace Reference

Functions

def Draw_1Dhist_wPercentile
 
def Draw_2Dhist_wPercentile
 

Variables

float TickSize 0.03
 
float AxisTitleSize 0.05
 
float AxisLabelSize 0.04
 
float LeftMargin 0.15
 
float RightMargin 0.08
 
float TopMargin 0.08
 
float BottomMargin 0.13
 
int NpercentileDiv 10
 
int interval 100
 
tuple parser OptionParser(usage="usage: %prog ver [options -n]")
 
 inputfile opt.inputfile
 
 plotdir opt.plotdir
 
 centralityvar opt.centralityvar
 
int maxcent 50
 
tuple df ROOT.RDataFrame('minitree', inputfile)
 
tuple np_centvar df.AsNumpy(columns=[centralityvar])
 
list CentVar_percentile []
 
list Binedge_CentVar_percentile [0]
 
list CentVar_percentile_cut [0]
 
tuple hM_NClusLayer1 TH1F('hM_NClusLayer1', 'hM_NClusLayer1', 200, 0, 4000)
 
tuple hM_MBDquantity TH1F('hM_MBDquantity', 'hM_MBDquantity', 200, 0, 25)
 
tuple hM_NClusLayer1_MBDquantity TH2F('hM_NClusLayer1_MBDquantity', 'hM_NClusLayer1_MBDquantity', 200, 0, 4000, 200, 0, 25)
 
tuple f TFile(inputfile, 'r')
 
tuple tree f.Get('minitree')
 

Function Documentation

def centProxy.Draw_1Dhist_wPercentile (   hist,
  l_percentile,
  norm1,
  logx,
  logy,
  ymaxscale,
  XaxisName,
  Ytitle_unit,
  outname 
)

Definition at line 28 of file centProxy.py.

View newest version in sPHENIX GitHub at line 28 of file centProxy.py

References Acts.enumerate(), material_mapping_optimisation.format, if(), and SetTitle().

+ Here is the call graph for this function:

def centProxy.Draw_2Dhist_wPercentile (   hist,
  centvar,
  l_percentile,
  logz,
  norm1,
  rmargin,
  XaxisName,
  YaxisName,
  drawopt,
  outname 
)

Definition at line 136 of file centProxy.py.

View newest version in sPHENIX GitHub at line 136 of file centProxy.py

References Acts.enumerate(), if(), and SetTitle().

+ Here is the call graph for this function:

Variable Documentation

float centProxy.AxisLabelSize 0.04

Definition at line 19 of file centProxy.py.

View newest version in sPHENIX GitHub at line 19 of file centProxy.py

float centProxy.AxisTitleSize 0.05

Definition at line 18 of file centProxy.py.

View newest version in sPHENIX GitHub at line 18 of file centProxy.py

list centProxy.Binedge_CentVar_percentile [0]

Definition at line 207 of file centProxy.py.

View newest version in sPHENIX GitHub at line 207 of file centProxy.py

float centProxy.BottomMargin 0.13

Definition at line 23 of file centProxy.py.

View newest version in sPHENIX GitHub at line 23 of file centProxy.py

centProxy.centralityvar opt.centralityvar

Definition at line 199 of file centProxy.py.

View newest version in sPHENIX GitHub at line 199 of file centProxy.py

list centProxy.CentVar_percentile []

Definition at line 206 of file centProxy.py.

View newest version in sPHENIX GitHub at line 206 of file centProxy.py

list centProxy.CentVar_percentile_cut [0]

Definition at line 208 of file centProxy.py.

View newest version in sPHENIX GitHub at line 208 of file centProxy.py

tuple centProxy.df ROOT.RDataFrame('minitree', inputfile)

Definition at line 204 of file centProxy.py.

View newest version in sPHENIX GitHub at line 204 of file centProxy.py

tuple centProxy.f TFile(inputfile, 'r')

Definition at line 225 of file centProxy.py.

View newest version in sPHENIX GitHub at line 225 of file centProxy.py

tuple centProxy.hM_MBDquantity TH1F('hM_MBDquantity', 'hM_MBDquantity', 200, 0, 25)

Definition at line 223 of file centProxy.py.

View newest version in sPHENIX GitHub at line 223 of file centProxy.py

tuple centProxy.hM_NClusLayer1 TH1F('hM_NClusLayer1', 'hM_NClusLayer1', 200, 0, 4000)

Definition at line 222 of file centProxy.py.

View newest version in sPHENIX GitHub at line 222 of file centProxy.py

Referenced by makehist().

tuple centProxy.hM_NClusLayer1_MBDquantity TH2F('hM_NClusLayer1_MBDquantity', 'hM_NClusLayer1_MBDquantity', 200, 0, 4000, 200, 0, 25)

Definition at line 224 of file centProxy.py.

View newest version in sPHENIX GitHub at line 224 of file centProxy.py

float centProxy.LeftMargin 0.15

Definition at line 20 of file centProxy.py.

View newest version in sPHENIX GitHub at line 20 of file centProxy.py

int centProxy.maxcent 50

Definition at line 200 of file centProxy.py.

View newest version in sPHENIX GitHub at line 200 of file centProxy.py

tuple centProxy.np_centvar df.AsNumpy(columns=[centralityvar])

Definition at line 205 of file centProxy.py.

View newest version in sPHENIX GitHub at line 205 of file centProxy.py

int centProxy.NpercentileDiv 10

Definition at line 25 of file centProxy.py.

View newest version in sPHENIX GitHub at line 25 of file centProxy.py

tuple centProxy.parser OptionParser(usage="usage: %prog ver [options -n]")

Definition at line 190 of file centProxy.py.

View newest version in sPHENIX GitHub at line 190 of file centProxy.py

centProxy.plotdir opt.plotdir

Definition at line 198 of file centProxy.py.

View newest version in sPHENIX GitHub at line 198 of file centProxy.py

float centProxy.RightMargin 0.08

Definition at line 21 of file centProxy.py.

View newest version in sPHENIX GitHub at line 21 of file centProxy.py

float centProxy.TickSize 0.03

Definition at line 17 of file centProxy.py.

View newest version in sPHENIX GitHub at line 17 of file centProxy.py

float centProxy.TopMargin 0.08

Definition at line 22 of file centProxy.py.

View newest version in sPHENIX GitHub at line 22 of file centProxy.py

tuple centProxy.tree f.Get('minitree')

Definition at line 226 of file centProxy.py.

View newest version in sPHENIX GitHub at line 226 of file centProxy.py