Analysis Software
Documentation for sPHENIX simulation software
|
#include <cmath>
#include <TFile.h>
#include <TString.h>
#include <TLine.h>
#include <TTree.h>
#include <TLatex.h>
#include <TGraphErrors.h>
#include <cassert>
#include "SaveCanvas.C"
#include "SetOKStyle.C"
Go to the source code of this file.
Functions | |
void | DrawEMCalTower (const TString infile="/phenix/u/jinhuang/links/sPHENIX_work/Prototype_2016/EMCal_sim/./0Degree_1Col_LightCollectionSeanStoll_CrackScan/Prototype_e-_8_SegALL_DSTReader.root") |
void | EMCDistribution_Fast (TString gain="LG", bool log_scale=false) |
void | EMCDistribution (TString gain="LG", bool log_scale=false) |
void | EMCDistribution_SUM (TString sTOWER="TOWER_CEMC") |
void | EMCDistributionVSBeam_SUM (TString sTOWER="TOWER_CEMC", const double z_shift=0, const int n_div=1) |
TGraphErrors * | FitProfile (const TH2 *h2) |
Variables | |
TFile * | _file0 = NULL |
TTree * | T = NULL |
TString | cuts = "" |
void DrawEMCalTower | ( | const TString | infile = "/phenix/u/jinhuang/links/sPHENIX_work/Prototype_2016/EMCal_sim/./0Degree_1Col_LightCollectionSeanStoll_CrackScan/Prototype_e-_8_SegALL_DSTReader.root" | ) |
Definition at line 28 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 28 of file DrawEMCalTower.C
References _file0, assert, cuts, EMCDistributionVSBeam_SUM(), event_sel, infile, n, SetOKStyle(), t, and Acts::UnitConstants::T.
void EMCDistribution | ( | TString | gain = "LG" , |
bool | log_scale = false |
||
) |
Definition at line 178 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 178 of file DrawEMCalTower.C
References _file0, cuts, Acts::UnitConstants::e, gain, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, Acts::UnitConstants::T, and QAHistManagerDef::useLogBins().
void EMCDistribution_Fast | ( | TString | gain = "LG" , |
bool | log_scale = false |
||
) |
Definition at line 100 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 100 of file DrawEMCalTower.C
References _file0, cuts, Acts::UnitConstants::e, gain, h, h2, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, Acts::UnitConstants::T, and QAHistManagerDef::useLogBins().
Referenced by DrawEMCalTower(), DrawPrototype2EMCalTower(), DrawPrototype2MIPAnalysis(), DrawPrototype3EMCalTower(), and DrawPrototype4EMCalTower().
void EMCDistribution_SUM | ( | TString | sTOWER = "TOWER_CEMC" | ) |
Definition at line 248 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 248 of file DrawEMCalTower.C
References _file0, cuts, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
Referenced by DrawPrototype2EMCalTower(), DrawPrototype3EMCalTower(), and DrawPrototype4EMCalTower().
void EMCDistributionVSBeam_SUM | ( | TString | sTOWER = "TOWER_CEMC" , |
const double | z_shift = 0 , |
||
const int | n_div = 1 |
||
) |
Definition at line 344 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 344 of file DrawEMCalTower.C
References _file0, cuts, FitProfile(), h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
Referenced by DrawEMCalTower().
TGraphErrors* FitProfile | ( | const TH2 * | h2 | ) |
Definition at line 446 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 446 of file DrawEMCalTower.C
References std::tr1::f2, h1, i, n, ambiguity_solver_full_chain::x, and y.
TFile* _file0 = NULL |
Definition at line 23 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 23 of file DrawEMCalTower.C
TString cuts = "" |
Definition at line 25 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 25 of file DrawEMCalTower.C
TTree* T = NULL |
Definition at line 24 of file DrawEMCalTower.C.
View newest version in sPHENIX GitHub at line 24 of file DrawEMCalTower.C