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 | DrawPrototype2EMCalTower (const TString infile="/phenix/u/jinhuang/links/sPHENIX_work/Prototype_2016/Production_0715_EMCalSet2_HCalPR12/beam_00002237-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=100) |
void | EMCDistribution_SUM (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 DrawPrototype2EMCalTower | ( | const TString | infile = "/phenix/u/jinhuang/links/sPHENIX_work/Prototype_2016/Production_0715_EMCalSet2_HCalPR12/beam_00002237-0000_DSTReader.root" , |
bool | plot_all = false , |
||
const double | momentum = -16 |
||
) |
Definition at line 31 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 31 of file DrawPrototype2EMCalTower.C
References _file0, assert, beam_momentum_selection, cuts, EMCDistribution_ADC(), EMCDistribution_Fast(), EMCDistribution_HCalCalibration(), EMCDistribution_PeakSample_Fast(), EMCDistribution_ShowShape(), EMCDistribution_SUM(), 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 848 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 848 of file DrawPrototype2EMCalTower.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 921 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 921 of file DrawPrototype2EMCalTower.C
References _file0, cuts, gain, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
Referenced by DrawPrototype2EMCalTower(), DrawPrototype2MIPAnalysis(), DrawPrototype3EMCalTower(), and DrawPrototype4EMCalTower().
void EMCDistribution_Fast | ( | TString | gain = "CALIB" , |
bool | full_gain = false |
||
) |
Definition at line 621 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 621 of file DrawPrototype2EMCalTower.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 289 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 289 of file DrawPrototype2EMCalTower.C
References _file0, assert, beam_momentum_selection, cuts, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
Referenced by DrawPrototype2EMCalTower(), DrawPrototype3EMCalTower(), and DrawPrototype4EMCalTower().
void EMCDistribution_PeakSample_Fast | ( | bool | full_gain = false | ) |
Definition at line 743 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 743 of file DrawPrototype2EMCalTower.C
References _file0, cuts, fit(), gain, h, h2, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, Acts::UnitConstants::T, and QAHistManagerDef::useLogBins().
Referenced by DrawPrototype2EMCalTower(), and DrawPrototype2MIPAnalysis().
void EMCDistribution_ShowShape | ( | TString | CherenkovSignal = "C2_Inner" , |
const double | che_cut = 100 |
||
) |
Definition at line 390 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 390 of file DrawPrototype2EMCalTower.C
References _file0, cuts, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
Referenced by DrawPrototype2EMCalTower(), DrawPrototype3EMCalTower(), and DrawPrototype4EMCalTower().
void EMCDistribution_SUM | ( | TString | sTOWER = "Energy_Sum_col1_row2_5x5" , |
TString | CherenkovSignal = "C2_Inner" |
||
) |
Definition at line 477 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 477 of file DrawPrototype2EMCalTower.C
References _file0, c2, cuts, h, ambiguity_solver_full_chain::idx, merge_hashes::p, SaveCanvas(), t, and Acts::UnitConstants::T.
TFile* _file0 = NULL |
Definition at line 25 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 25 of file DrawPrototype2EMCalTower.C
double beam_momentum_selection = -16 |
Definition at line 28 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 28 of file DrawPrototype2EMCalTower.C
Referenced by DrawPrototype2EMCalTower(), DrawPrototype2MIPAnalysis(), DrawPrototype3EMCalTower(), DrawPrototype4EMCalTower(), EMC_HodoScope_Calibration(), and EMCDistribution_HCalCalibration().
TString cuts = "" |
Definition at line 27 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 27 of file DrawPrototype2EMCalTower.C
TTree* T = NULL |
Definition at line 26 of file DrawPrototype2EMCalTower.C.
View newest version in sPHENIX GitHub at line 26 of file DrawPrototype2EMCalTower.C