Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plot.C File Reference

Go to the source code of this file.

Functions

void NormByBinWidth (TH1F *inh)
 
TH1F * getHist (TString nom, TFile *fi, const char *na, int co, int mk=20, float mks=1)
 
TH2F * getHist2 (TString nom, TFile *fi, const char *na)
 
TCanvas * MakeEfficiency (TFile *fa, TString ti, float c0=0.01250, float c1=0.001858, bool plotOld=false)
 
TCanvas * MakeEfficiencyFast (TFile *fa, TString ti, TString hw, bool plotOld=false)
 
TCanvas * MakePtResolution (TFile *fa, TString ti, bool showBoth=false)
 
TCanvas * MakeDCA2DResolution (TFile *fa, TString ti)
 
TCanvas * MakeTH1F (TFile *fa, TString ti, TString wh, TString hw, bool norm=true, bool bw=false, bool log=false)
 
void plot ()
 

Function Documentation

TH1F* getHist ( TString  nom,
TFile *  fi,
const char *  na,
int  co,
int  mk = 20,
float  mks = 1 
)

Definition at line 11 of file plot.C.

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

Referenced by MakeEfficiency(), MakeEfficiencyFast(), and MakeTH1F().

+ Here is the caller graph for this function:

TH2F* getHist2 ( TString  nom,
TFile *  fi,
const char *  na 
)

Definition at line 22 of file plot.C.

View newest version in sPHENIX GitHub at line 22 of file plot.C

Referenced by MakeDCA2DResolution(), MakeEfficiency(), and MakePtResolution().

+ Here is the caller graph for this function:

TCanvas* MakeDCA2DResolution ( TFile *  fa,
TString  ti 
)

Definition at line 204 of file plot.C.

View newest version in sPHENIX GitHub at line 204 of file plot.C

References KFPMath::b, getHist2(), leg, and Acts::Test::tmp().

Referenced by plot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TCanvas* MakeEfficiency ( TFile *  fa,
TString  ti,
float  c0 = 0.01250,
float  c1 = 0.001858,
bool  plotOld = false 
)

Definition at line 29 of file plot.C.

View newest version in sPHENIX GitHub at line 29 of file plot.C

References KFPMath::b, getHist(), getHist2(), leg, physmon_track_finding_ttbar::pt, and ambiguity_solver_full_chain::x.

Referenced by plot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TCanvas* MakeEfficiencyFast ( TFile *  fa,
TString  ti,
TString  hw,
bool  plotOld = false 
)

Definition at line 79 of file plot.C.

View newest version in sPHENIX GitHub at line 79 of file plot.C

References getHist().

Referenced by plot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TCanvas* MakePtResolution ( TFile *  fa,
TString  ti,
bool  showBoth = false 
)

Definition at line 108 of file plot.C.

View newest version in sPHENIX GitHub at line 108 of file plot.C

References KFPMath::b, Acts::UnitConstants::e, getHist2(), leg, and Acts::Test::tmp().

Referenced by plot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TCanvas* MakeTH1F ( TFile *  fa,
TString  ti,
TString  wh,
TString  hw,
bool  norm = true,
bool  bw = false,
bool  log = false 
)

Definition at line 259 of file plot.C.

View newest version in sPHENIX GitHub at line 259 of file plot.C

References c2, getHist(), leg, norm, and NormByBinWidth().

Referenced by plot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void NormByBinWidth ( TH1F *  inh)

Definition at line 1 of file plot.C.

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

References check_license::err(), and i.

Referenced by MakeTH1F().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void plot ( )

Definition at line 297 of file plot.C.

View newest version in sPHENIX GitHub at line 297 of file plot.C

References Acts::UnitConstants::e, file, MakeDCA2DResolution(), MakeEfficiency(), MakeEfficiencyFast(), MakePtResolution(), and MakeTH1F().

+ Here is the call graph for this function: