![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <iostream>#include <cstdlib>#include <memory>#include <string>#include <cstring>#include <vector>#include <set>#include <cmath>#include <utility>#include <cassert>#include "TFile.h"#include "TTree.h"#include "TCanvas.h"#include "TLegend.h"#include "TROOT.h"#include "TH1F.h"#include "TColor.h"#include "TImage.h"#include "TApplication.h"#include "TGraphErrors.h"#include "/sphenix/user/gregtom3/SBU/research/macros/macros/sPHENIXStyle/sPhenixStyle.C"
Include dependency graph for Plot-Hits_vs_Eta.C:Go to the source code of this file.
Macros | |
| #define | STR(X) #X |
| #define | XSTR(X) STR(X) |
| #define | NELEMS(a) (sizeof(a)/sizeof(a[0])) |
Functions | |
| TTree * | load_tree (const char *const file_name, const char *const tree_name) |
| void | Plot_Hit_Count () |
| int | main (int argc, char *argv[]) |
Variables | |
| const char *const | hitcount_file_path {"/sphenix/user/gregtom3/data/Summer2018/SVTX_studies/hits-per-eta/hitcount.root"} |
| const char *const | hit_containers [] |
| static const Color_t | plot_colors [] |
| #define NELEMS | ( | a | ) | (sizeof(a)/sizeof(a[0])) |
Definition at line 26 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 26 of file Plot-Hits_vs_Eta.C
Referenced by Plot_Hit_Count().
Definition at line 24 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 24 of file Plot-Hits_vs_Eta.C
Definition at line 25 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 25 of file Plot-Hits_vs_Eta.C
| TTree* load_tree | ( | const char *const | file_name, |
| const char *const | tree_name | ||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 111 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 111 of file Plot-Hits_vs_Eta.C
References release::app, and Plot_Hit_Count().
Here is the call graph for this function:| void Plot_Hit_Count | ( | ) |
Definition at line 40 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 40 of file Plot-Hits_vs_Eta.C
References assert, Acts::PhysicalConstants::c, eta, h, hit_containers, hitcount_file_path, i, j, load_tree(), nbins, NELEMS, plot_colors, and SetsPhenixStyle().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| const char* const hit_containers[] |
Definition at line 33 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 33 of file Plot-Hits_vs_Eta.C
Referenced by Plot_Hit_Count().
| const char* const hitcount_file_path {"/sphenix/user/gregtom3/data/Summer2018/SVTX_studies/hits-per-eta/hitcount.root"} |
Definition at line 31 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 31 of file Plot-Hits_vs_Eta.C
Referenced by Plot_Hit_Count().
|
static |
Definition at line 36 of file Plot-Hits_vs_Eta.C.
View newest version in sPHENIX GitHub at line 36 of file Plot-Hits_vs_Eta.C
Referenced by Plot_Hit_Count().