Analysis Software
Documentation for sPHENIX simulation software
|
#include <fstream>
#include <iostream>
#include "stdio.h"
#include <TChain.h>
#include <TFile.h>
#include <TGraphAsymmErrors.h>
#include <TGraphErrors.h>
#include <TLatex.h>
#include <TLegend.h>
#include <TLine.h>
#include <TMath.h>
#include <TROOT.h>
#include <TString.h>
#include <TTree.h>
#include <TVectorD.h>
#include <TVirtualFitter.h>
#include <cassert>
#include <cmath>
#include <vector>
#include "SaveCanvas.C"
#include "sPhenixStyle.C"
Go to the source code of this file.
Functions | |
TGraphErrors * | GraphShiftScaling (TGraphErrors *gr_src, const double x_shift, const double err_scaling) |
void | plot_sPHENIX_A_N_dp_BUP2020 () |
Variables | |
const int | NUM_PT_BINS = 4 |
const float | BIN_CENTERS [NUM_PT_BINS] = {5.39, 6.69, 8.77, 11.9} |
const float | ASYMMETRY [NUM_PT_BINS] |
const float | STAT_ERR [NUM_PT_BINS] |
const int | NUM_QGQ_PT_BINS = 12 |
const float | PT [NUM_QGQ_PT_BINS] |
const float | QGQ [NUM_QGQ_PT_BINS] |
const float | QGQ_ERR [NUM_QGQ_PT_BINS] |
const double | pp_inelastic_crosssec = 42e-3 |
const double | pp_rec_3year = 62e12 |
const double | pp_rec_5year = pp_rec_3year + 80e12 |
const double | pp_beam_pol = 0.57 |
TGraphErrors* GraphShiftScaling | ( | TGraphErrors * | gr_src, |
const double | x_shift, | ||
const double | err_scaling | ||
) |
Definition at line 51 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 51 of file plot_sPHENIX_A_N_dp_BUP2020.C
References assert, gr, i, vx, vy, and ambiguity_solver_full_chain::x.
void plot_sPHENIX_A_N_dp_BUP2020 | ( | ) |
Definition at line 88 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 88 of file plot_sPHENIX_A_N_dp_BUP2020.C
References ASYMMETRY, BIN_CENTERS, GraphShiftScaling(), ambiguity_solver_full_chain::idx, leg, NUM_PT_BINS, NUM_QGQ_PT_BINS, merge_hashes::p, pp_beam_pol, pp_rec_3year, PT, QGQ, QGQ_ERR, SaveCanvas(), SetsPhenixStyle(), and STAT_ERR.
const float ASYMMETRY[NUM_PT_BINS] |
Definition at line 29 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 29 of file plot_sPHENIX_A_N_dp_BUP2020.C
const float BIN_CENTERS[NUM_PT_BINS] = {5.39, 6.69, 8.77, 11.9} |
Definition at line 28 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 28 of file plot_sPHENIX_A_N_dp_BUP2020.C
const int NUM_PT_BINS = 4 |
Definition at line 27 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 27 of file plot_sPHENIX_A_N_dp_BUP2020.C
const int NUM_QGQ_PT_BINS = 12 |
Definition at line 36 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 36 of file plot_sPHENIX_A_N_dp_BUP2020.C
const double pp_beam_pol = 0.57 |
Definition at line 49 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 49 of file plot_sPHENIX_A_N_dp_BUP2020.C
const double pp_inelastic_crosssec = 42e-3 |
Definition at line 46 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 46 of file plot_sPHENIX_A_N_dp_BUP2020.C
const double pp_rec_3year = 62e12 |
Definition at line 47 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 47 of file plot_sPHENIX_A_N_dp_BUP2020.C
const double pp_rec_5year = pp_rec_3year + 80e12 |
Definition at line 48 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 48 of file plot_sPHENIX_A_N_dp_BUP2020.C
const float PT[NUM_QGQ_PT_BINS] |
Definition at line 37 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 37 of file plot_sPHENIX_A_N_dp_BUP2020.C
const float QGQ[NUM_QGQ_PT_BINS] |
Definition at line 39 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 39 of file plot_sPHENIX_A_N_dp_BUP2020.C
const float QGQ_ERR[NUM_QGQ_PT_BINS] |
Definition at line 42 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 42 of file plot_sPHENIX_A_N_dp_BUP2020.C
const float STAT_ERR[NUM_PT_BINS] |
Definition at line 31 of file plot_sPHENIX_A_N_dp_BUP2020.C.
View newest version in sPHENIX GitHub at line 31 of file plot_sPHENIX_A_N_dp_BUP2020.C