Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plot_checks.C File Reference
#include "get_runstr.h"
#include <iostream>
#include <fstream>
#include <TGraphErrors.h>
#include <TString.h>
+ Include dependency graph for plot_checks.C:

Go to the source code of this file.

Functions

void fit_across_runs (TGraphErrors *gainvals[], const char *flist)
 
void plot_checks (const char *flistname="c.list")
 

Variables

int do_zdc = 0
 
int do_emcal = 0
 
int do_ohcal = 0
 
int do_ihcal = 0
 
int calc_gain_corr = 1
 
const int MAXRUNS = 20000
 
Double_t bqmeansum [MAXRUNS]
 
Double_t bqmeansumerr [MAXRUNS]
 
Double_t bqmeantot [2][MAXRUNS]
 
Double_t bqmeantoterr [2][MAXRUNS]
 
Double_t bqmean [128][MAXRUNS]
 
Double_t bqmeanerr [128][MAXRUNS]
 
Double_t runindex [MAXRUNS]
 
TGraphErrors * g_meansum {nullptr}
 
TGraphErrors * g_meantot [2] {nullptr}
 
TGraphErrors * g_mean [128] {nullptr}
 
TFile * tfile [MAXRUNS]
 
TH1 * h_bbcqsum [MAXRUNS]
 
TH1 * h_bbcqtot [2][MAXRUNS]
 
TH1 * h_bbcq [MAXRUNS][128]
 
TH2 * h2_bbcq [128]
 
TH1 * h_zdce [MAXRUNS]
 
TH1 * h_emcale [MAXRUNS]
 
TH1 * h_ohcale [MAXRUNS]
 
TH1 * h_ihcale [MAXRUNS]
 

Function Documentation

void fit_across_runs ( TGraphErrors *  gainvals[],
const char *  flist 
)

Definition at line 38 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 38 of file plot_checks.C

References perf_headwind::name.

void plot_checks ( const char *  flistname = "c.list")

Definition at line 62 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 62 of file plot_checks.C

References ac(), bqmean, bqmeanerr, bqmeansum, bqmeansumerr, bqmeantot, bqmeantoterr, calc_gain_corr, corr, do_emcal, do_ihcal, do_ohcal, do_zdc, Acts::UnitConstants::e, g_mean, g_meansum, g_meantot, h2_bbcq, h_bbcq, h_bbcqsum, h_bbcqtot, h_emcale, h_ihcale, h_ohcale, h_zdce, configureMap::ibin, perf_headwind::name, Acts::Test::nbinsx, runindex, tfile, title, xmax, and xmin.

+ Here is the call graph for this function:

Variable Documentation

Double_t bqmean[128][MAXRUNS]

Definition at line 18 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 18 of file plot_checks.C

Referenced by plot_checks().

Double_t bqmeanerr[128][MAXRUNS]

Definition at line 19 of file plot_checks.C.

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

Referenced by plot_checks().

Double_t bqmeansum[MAXRUNS]

Definition at line 14 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 14 of file plot_checks.C

Referenced by plot_checks().

Double_t bqmeansumerr[MAXRUNS]

Definition at line 15 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 15 of file plot_checks.C

Referenced by plot_checks().

Double_t bqmeantot[2][MAXRUNS]

Definition at line 16 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 16 of file plot_checks.C

Referenced by plot_checks().

Double_t bqmeantoterr[2][MAXRUNS]

Definition at line 17 of file plot_checks.C.

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

Referenced by plot_checks().

int calc_gain_corr = 1

Definition at line 11 of file plot_checks.C.

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

Referenced by plot_checks().

int do_emcal = 0

Definition at line 8 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 8 of file plot_checks.C

Referenced by plot_checks().

int do_ihcal = 0

Definition at line 10 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 10 of file plot_checks.C

Referenced by plot_checks().

int do_ohcal = 0

Definition at line 9 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 9 of file plot_checks.C

Referenced by plot_checks().

int do_zdc = 0

Definition at line 7 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 7 of file plot_checks.C

Referenced by plot_checks().

TGraphErrors* g_mean[128] {nullptr}

Definition at line 23 of file plot_checks.C.

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

Referenced by plot_checks().

TGraphErrors* g_meansum {nullptr}

Definition at line 21 of file plot_checks.C.

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

Referenced by plot_checks().

TGraphErrors* g_meantot[2] {nullptr}

Definition at line 22 of file plot_checks.C.

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

Referenced by plot_checks().

TH2* h2_bbcq[128]

Definition at line 29 of file plot_checks.C.

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

Referenced by plot_checks().

TH1* h_bbcq[MAXRUNS][128]

Definition at line 28 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 28 of file plot_checks.C

Referenced by plot_checks().

TH1* h_bbcqsum[MAXRUNS]

Definition at line 26 of file plot_checks.C.

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

Referenced by plot_checks().

TH1* h_bbcqtot[2][MAXRUNS]

Definition at line 27 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 27 of file plot_checks.C

Referenced by plot_checks().

TH1* h_emcale[MAXRUNS]

Definition at line 32 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 32 of file plot_checks.C

Referenced by plot_checks().

TH1* h_ihcale[MAXRUNS]

Definition at line 34 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 34 of file plot_checks.C

Referenced by plot_checks().

TH1* h_ohcale[MAXRUNS]

Definition at line 33 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 33 of file plot_checks.C

Referenced by plot_checks().

TH1* h_zdce[MAXRUNS]

Definition at line 31 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 31 of file plot_checks.C

Referenced by plot_checks().

const int MAXRUNS = 20000

Definition at line 13 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 13 of file plot_checks.C

Double_t runindex[MAXRUNS]

Definition at line 20 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 20 of file plot_checks.C

Referenced by plot_checks().

TFile* tfile[MAXRUNS]

Definition at line 25 of file plot_checks.C.

View newest version in sPHENIX GitHub at line 25 of file plot_checks.C

Referenced by AcceptanceMRP(), ana_hijbkg(), Draw_BDiJetImbalance(), Fill(), plot_acceptance(), and plot_checks().