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

Go to the source code of this file.

Functions

void Draw_HFJetTruth_InvMass (const TString infile="/sphenix/user/jinhuang/HF-jet/event_gen/200pp_pythia8_CTEQ6L_7GeV/200pp_pythia8_CTEQ6L_7GeV_ALL.cfg_eneg_DSTReader.root", double int_lumi=891093/3.332e-02/1e9, const double dy=0.6 *2)
 
void DrawCrossSection (double int_lumi, const double dy)
 
void Draw_HFJetTruth_InvMass_DrawCrossSection_PR (const TString infile)
 
void CrossSection2RAA (const TString infile, const bool use_AA_jet_trigger=true, const double dy=.7 *2, const bool b3yr=false)
 
TGraphErrors * GetRAA (TH1 *h_pp, TH1 *h_AA)
 
TH1 * CrossSection2RelUncert (const TH1F *h_cross, const double suppression, const double deta, const double pp_quiv_int_lum)
 
void Convert2CrossSection (TH1 *h, const double int_lumi, const double dy)
 
TGraphAsymmErrors * GetSTAR2019 (const TString hepdata="/sphenix/user/jinhuang/HF-jet/event_gen/HEPData-ins1493842-v1-Table_4.root")
 
TGraph * GetRAAKang2019 (const int mass=1, const double g=1.8)
 
TGraph * GetRAARatioKang2019 (const int mass=1, const double g=1.8)
 

Variables

TFile * _file0 = NULL
 
TTree * T = NULL
 

Detailed Description

Author
Jin Huang jhuan.nosp@m.g@bn.nosp@m.l.gov
Version
Revision:
Date
Date:

Definition in file Draw_HFJetTruth_InvMass.C.

Function Documentation

void Convert2CrossSection ( TH1 *  h,
const double  int_lumi,
const double  dy 
)

Definition at line 560 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 560 of file Draw_HFJetTruth_InvMass.C

References dy, i, and Acts::UnitConstants::m2.

void CrossSection2RAA ( const TString  infile,
const bool  use_AA_jet_trigger = true,
const double  dy = .7 * 2,
const bool  b3yr = false 
)

Definition at line 278 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 278 of file Draw_HFJetTruth_InvMass.C

References assert, AuAu_Ncoll_C0_10, AuAu_Ncoll_C0_100, AuAu_Ncoll_C0_20, CrossSection2RelUncert(), dy, Acts::UnitConstants::e, f, GetRAA(), GetRAAKang2019(), GetRAARatioKang2019(), h_b, hall, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, pAu_Ncoll_C0_100, pp_inelastic_crosssec, and SaveCanvas().

+ Here is the call graph for this function:

TH1* CrossSection2RelUncert ( const TH1F *  h_cross,
const double  suppression,
const double  deta,
const double  pp_quiv_int_lum 
)

Definition at line 521 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 521 of file Draw_HFJetTruth_InvMass.C

References assert, and i.

void Draw_HFJetTruth_InvMass ( const TString  infile = "/sphenix/user/jinhuang/HF-jet/event_gen/200pp_pythia8_CTEQ6L_7GeV/200pp_pythia8_CTEQ6L_7GeV_ALL.cfg_eneg_DSTReader.root",
double  int_lumi = 891093 / 3.332e-02 / 1e9,
const double  dy = 0.6 * 2 
)

Definition at line 26 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 26 of file Draw_HFJetTruth_InvMass.C

References _file0, assert, CrossSection2RAA(), infile, n, SetsPhenixStyle(), t, and Acts::UnitConstants::T.

+ Here is the call graph for this function:

void Draw_HFJetTruth_InvMass_DrawCrossSection_PR ( const TString  infile)

Definition at line 219 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 219 of file Draw_HFJetTruth_InvMass.C

References _file0, assert, Acts::UnitConstants::e, f, GetSTAR2019(), h_b, hall, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, and SaveCanvas().

+ Here is the call graph for this function:

void DrawCrossSection ( double  int_lumi,
const double  dy 
)

Definition at line 90 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 90 of file Draw_HFJetTruth_InvMass.C

References _file0, assert, Convert2CrossSection(), h_b, hall, ambiguity_solver_full_chain::idx, leg, merge_hashes::p, SaveCanvas(), and Acts::UnitConstants::T.

+ Here is the call graph for this function:

TGraphErrors* GetRAA ( TH1 *  h_pp,
TH1 *  h_AA 
)

Definition at line 487 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 487 of file Draw_HFJetTruth_InvMass.C

References assert, and i.

TGraph* GetRAAKang2019 ( const int  mass = 1,
const double  g = 1.8 
)

Definition at line 611 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 611 of file Draw_HFJetTruth_InvMass.C

References assert, Acts::UnitConstants::g, and mass.

Referenced by CrossSection2RAA().

+ Here is the caller graph for this function:

TGraph* GetRAARatioKang2019 ( const int  mass = 1,
const double  g = 1.8 
)

Definition at line 1023 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 1023 of file Draw_HFJetTruth_InvMass.C

References assert, Acts::UnitConstants::g, and mass.

Referenced by CrossSection2RAA().

+ Here is the caller graph for this function:

TGraphAsymmErrors* GetSTAR2019 ( const TString  hepdata = "/sphenix/user/jinhuang/HF-jet/event_gen/HEPData-ins1493842-v1-Table_4.root")

Definition at line 584 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 584 of file Draw_HFJetTruth_InvMass.C

References _file0, and assert.

Referenced by Draw_HFJetTruth_InvMass_DrawCrossSection_PR().

+ Here is the caller graph for this function:

Variable Documentation

TFile* _file0 = NULL

Definition at line 23 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 23 of file Draw_HFJetTruth_InvMass.C

TTree* T = NULL

Definition at line 24 of file Draw_HFJetTruth_InvMass.C.

View newest version in sPHENIX GitHub at line 24 of file Draw_HFJetTruth_InvMass.C