Analysis Software
Documentation for sPHENIX simulation software
|
#include <TFile.h>
#include <TGraphErrors.h>
#include <TLatex.h>
#include <TLine.h>
#include <TString.h>
#include <TTree.h>
#include <cassert>
#include <cmath>
#include "SaveCanvas.C"
#include "SetOKStyle.C"
Go to the source code of this file.
Functions | |
void | DrawPrototype3EMCalTower (const TString infile="/phenix/u/jinhuang/links/sPHENIX_work/Prototype_2017/Production_0216_UpdateCalib/beam_00003672-0000_DSTReader.root", bool plot_all=false, const double momentum=-16) |
void | EMCDistribution_HCalCalibration () |
void | EMCDistribution_ShowShape (TString CherenkovSignal="C2_Inner", const double che_cut=10) |
void | EMCDistribution_SUM (TString sTOWER="Energy_Sum_col1_row2_5x5", TString CherenkovSignal="C2_Inner") |
void | EMCDistribution_SUM_RawADC (TString sTOWER="Energy_Sum_col1_row2_5x5", TString CherenkovSignal="C2_Inner") |
void | EMCDistribution_Fast (TString gain="CALIB", bool full_gain=false) |
void | EMCDistribution_PeakSample_Fast (bool full_gain=false) |
void | EMCDistribution (TString gain="CALIB", bool log_scale=false) |
void | EMCDistribution_ADC (bool log_scale=true) |
Variables | |
TFile * | _file0 = NULL |
TTree * | T = NULL |
TString | cuts = "" |
double | beam_momentum_selection = -16 |
void DrawPrototype3EMCalTower | ( | const TString | infile = "/phenix/u/jinhuang/links/sPHENIX_work/Prototype_2017/Production_0216_UpdateCalib/beam_00003672-0000_DSTReader.root" , |
bool | plot_all = false , |
||
const double | momentum = -16 |
||
) |
Definition at line 30 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 30 of file DrawPrototype3EMCalTower.C
References _file0, assert, beam_momentum_selection, cuts, EMCDistribution_ADC(), EMCDistribution_Fast(), EMCDistribution_HCalCalibration(), EMCDistribution_ShowShape(), EMCDistribution_SUM(), EMCDistribution_SUM_RawADC(), event_sel, infile, momentum, n, physmon_simulation::rnd, SetOKStyle(), t, and Acts::UnitConstants::T.
void EMCDistribution | ( | TString | gain = "CALIB" , |
bool | log_scale = false |
||
) |
Definition at line 978 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 978 of file DrawPrototype3EMCalTower.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_ADC | ( | bool | log_scale = true | ) |
Definition at line 1047 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 1047 of file DrawPrototype3EMCalTower.C
References _file0, cuts, gain, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
void EMCDistribution_Fast | ( | TString | gain = "CALIB" , |
bool | full_gain = false |
||
) |
Definition at line 774 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 774 of file DrawPrototype3EMCalTower.C
References _file0, cuts, fit(), gain, h, h2, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, Acts::UnitConstants::T, and QAHistManagerDef::useLogBins().
void EMCDistribution_HCalCalibration | ( | ) |
Definition at line 295 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 295 of file DrawPrototype3EMCalTower.C
References _file0, assert, beam_momentum_selection, cuts, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
void EMCDistribution_PeakSample_Fast | ( | bool | full_gain = false | ) |
Definition at line 885 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 885 of file DrawPrototype3EMCalTower.C
References _file0, cuts, fit(), gain, h, h2, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, Acts::UnitConstants::T, and QAHistManagerDef::useLogBins().
void EMCDistribution_ShowShape | ( | TString | CherenkovSignal = "C2_Inner" , |
const double | che_cut = 10 |
||
) |
Definition at line 396 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 396 of file DrawPrototype3EMCalTower.C
References _file0, cuts, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
void EMCDistribution_SUM | ( | TString | sTOWER = "Energy_Sum_col1_row2_5x5" , |
TString | CherenkovSignal = "C2_Inner" |
||
) |
Definition at line 493 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 493 of file DrawPrototype3EMCalTower.C
References _file0, c2, cuts, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
void EMCDistribution_SUM_RawADC | ( | TString | sTOWER = "Energy_Sum_col1_row2_5x5" , |
TString | CherenkovSignal = "C2_Inner" |
||
) |
Definition at line 634 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 634 of file DrawPrototype3EMCalTower.C
References _file0, c2, cuts, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
Referenced by DrawPrototype3EMCalTower(), and DrawPrototype4EMCalTower().
TFile* _file0 = NULL |
Definition at line 25 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 25 of file DrawPrototype3EMCalTower.C
double beam_momentum_selection = -16 |
Definition at line 28 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 28 of file DrawPrototype3EMCalTower.C
TString cuts = "" |
Definition at line 27 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 27 of file DrawPrototype3EMCalTower.C
TTree* T = NULL |
Definition at line 26 of file DrawPrototype3EMCalTower.C.
View newest version in sPHENIX GitHub at line 26 of file DrawPrototype3EMCalTower.C