Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DrawFluence.C File Reference
#include <TFile.h>
#include <TGraphAsymmErrors.h>
#include <TGraphErrors.h>
#include <TH1.h>
#include <TH2.h>
#include <TH3.h>
#include <TLatex.h>
#include <TLegend.h>
#include <TString.h>
#include <TTree.h>
#include <cassert>
#include <cmath>
#include "SaveCanvas.C"
#include "sPhenixStyle.C"
+ Include dependency graph for DrawFluence.C:

Go to the source code of this file.

Functions

void DrawFluence (const TString infile="/phenix/u/jinhuang/links/sPHENIX_work/Fluence/AuAu200_25k_Iter4_FTFP/AuAu200_25k_Iter4_FTFP_SUM.xml_g4score.root", const TString config="FTFP_BERT_HP", const TString disc="Au+Au #sqrt{s_{NN}}=200 GeV, sHIJING 0-20fm", const double nTarget=1.5e12, const TString projection_desc="5-year run plan (1.5 Trillion Collisions)")
 
void VertexCyl (const double normalization, const TString projection_desc)
 
void FullCyl (const double normalization, const TString projection_desc)
 
void FullCylEIC (const double normalization, const TString projection_desc)
 
void FullCylRProj (const double normalization, const TString projection_desc, const double z_range=100)
 
void FullCylRProjPHENIXComparison (const double normalization, const TString projection_desc)
 
TGraph * GetPHENIXDose ()
 
TGraph * GetPHENIXNeutron ()
 
void FullCylZProj (const double normalization, const TString projection_desc, const int r_bin=2)
 
void dNchdEta ()
 
double Check ()
 
TH1 * GetZProjection (const TH3 *h3, const double z_range_min, const double z_range_max, const double normalization)
 
TH1 * GetRProjection (const TH3 *h3, const int r_bin, const double normalization)
 

Variables

TFile * _file0 = NULL
 
TString description
 
TString configuration
 

Function Documentation

double Check ( )

Definition at line 830 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 830 of file DrawFluence.C

References _file0, assert, hNormalization, ambiguity_solver_full_chain::idx, merge_hashes::p, and SaveCanvas().

Referenced by DrawFluence(), DrawTPCIntegratedCharge(), main(), and OccupancySim().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dNchdEta ( )

Definition at line 804 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 804 of file DrawFluence.C

References _file0, assert, hNormalization, ambiguity_solver_full_chain::idx, merge_hashes::p, and SaveCanvas().

Referenced by DrawFluence().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DrawFluence ( const TString  infile = "/phenix/u/jinhuang/links/sPHENIX_work/Fluence/AuAu200_25k_Iter4_FTFP/AuAu200_25k_Iter4_FTFP_SUM.xml_g4score.root",
const TString  config = "FTFP_BERT_HP",
const TString  disc = "Au+Au #sqrt{s_{NN}}=200 GeV, sHIJING 0-20fm",
const double  nTarget = 1.5e12,
const TString  projection_desc = "5-year run plan (1.5 Trillion Collisions)" 
)

Definition at line 21 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 21 of file DrawFluence.C

References _file0, assert, Check(), filter::config, configuration, description, dNchdEta(), FullCyl(), FullCylRProj(), FullCylZProj(), hNormalization, infile, and SetsPhenixStyle().

+ Here is the call graph for this function:

void FullCyl ( const double  normalization,
const TString  projection_desc 
)

Definition at line 238 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 238 of file DrawFluence.C

References _file0, assert, configuration, description, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

Referenced by DrawFluence().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FullCylEIC ( const double  normalization,
const TString  projection_desc 
)

Definition at line 333 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 333 of file DrawFluence.C

References _file0, assert, description, Acts::UnitConstants::e, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

+ Here is the call graph for this function:

void FullCylRProj ( const double  normalization,
const TString  projection_desc,
const double  z_range = 100 
)

Definition at line 428 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 428 of file DrawFluence.C

References _file0, assert, configuration, description, Acts::UnitConstants::e, GetZProjection(), ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

Referenced by DrawFluence().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FullCylRProjPHENIXComparison ( const double  normalization,
const TString  projection_desc 
)

Definition at line 517 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 517 of file DrawFluence.C

References _file0, assert, configuration, description, Acts::UnitConstants::e, GetPHENIXDose(), GetPHENIXNeutron(), GetZProjection(), ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

+ Here is the call graph for this function:

void FullCylZProj ( const double  normalization,
const TString  projection_desc,
const int  r_bin = 2 
)

Definition at line 712 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 712 of file DrawFluence.C

References _file0, assert, configuration, description, Acts::UnitConstants::e, GetRProjection(), ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

Referenced by DrawFluence().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TGraph* GetPHENIXDose ( )

Definition at line 620 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 620 of file DrawFluence.C

References Acts::UnitConstants::g.

Referenced by FullCylRProjPHENIXComparison().

+ Here is the caller graph for this function:

TGraph* GetPHENIXNeutron ( )

Definition at line 673 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 673 of file DrawFluence.C

References Acts::UnitConstants::g.

Referenced by FullCylRProjPHENIXComparison().

+ Here is the caller graph for this function:

TH1* GetRProjection ( const TH3 *  h3,
const int  r_bin,
const double  normalization 
)

Definition at line 908 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 908 of file DrawFluence.C

References assert.

Referenced by FullCylZProj().

+ Here is the caller graph for this function:

TH1* GetZProjection ( const TH3 *  h3,
const double  z_range_min,
const double  z_range_max,
const double  normalization 
)

Definition at line 882 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 882 of file DrawFluence.C

References assert, and nbins.

Referenced by FullCylRProj(), and FullCylRProjPHENIXComparison().

+ Here is the caller graph for this function:

void VertexCyl ( const double  normalization,
const TString  projection_desc 
)

Definition at line 82 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 82 of file DrawFluence.C

References _file0, assert, configuration, description, Acts::UnitConstants::e, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

+ Here is the call graph for this function:

Variable Documentation

TFile* _file0 = NULL

Definition at line 17 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 17 of file DrawFluence.C

TString configuration

Definition at line 19 of file DrawFluence.C.

View newest version in sPHENIX GitHub at line 19 of file DrawFluence.C

Referenced by DrawFluence(), FullCyl(), FullCylRProj(), FullCylRProjPHENIXComparison(), FullCylZProj(), Hydroinfo_MUSIC::readHydroData(), and VertexCyl().