Hall-D Software
alpha
|
#include <time.h>
Go to the source code of this file.
Macros | |
#define | rs_SetFlag(A) cout<<"rs_SetFlag ignored outside of RootSpy context"<<endl |
#define | rs_GetFlag(A) 0 |
#define | rs_ResetHisto(A) cout<<"rs_ResetHisto ignored outside of RootSpy context"<<endl |
#define | rs_RestoreHisto(A) cout<<"rs_RestoreHisto ignored outside of RootSpy context"<<endl |
#define | InsertSeriesData(A) cout<<"InsertSeriesData ignored outside of RootSpy context"<<endl |
#define | InsertSeriesMassFit(A, B, C, D, E, F) cout<<"InsertSeriesMassFit ignored outside of RootSpy context"<<endl |
Enumerations | |
enum | { NORM_pi0_trig = 1, NORM_rho_trig, NORM_phi_trig, NORM_omega_trig, NORM_pi0_ps, NORM_rho_ps, NORM_phi_ps, NORM_omega_ps, NORM_NUM } |
Functions | |
vector< bool > | trig (34, false) |
if (!locDirectory) return | |
locDirectory | cd () |
locCanvas | Divide (2, 2) |
if (L1bits_gtp) | |
if (PSPairEnergy) | |
if (EventInfo) | |
locCanvas | cd (1) |
gPad | SetTicks () |
gPad | SetGrid () |
if (TwoGammaMass!=NULL) | |
locCanvas | cd (2) |
if (KPlusKMinus!=NULL) | |
locCanvas | cd (3) |
if (PiPlusPiMinus!=NULL) | |
locCanvas | cd (4) |
if (PiPlusPiMinusPiZero!=NULL) | |
Variables | |
trig [33-1] = true | |
TDirectory * | locTopDirectory = gDirectory |
TDirectory * | locDirectory = (TDirectory*)gDirectory->FindObjectAny("highlevel") |
TH1 * | EventInfo = (TH1*)gDirectory->Get("EventInfo") |
TH1 * | TwoGammaMass = (TH1*)gDirectory->Get("TwoGammaMass") |
TH1 * | PiPlusPiMinus = (TH1*)gDirectory->Get("PiPlusPiMinus") |
TH1 * | KPlusKMinus = (TH1*)gDirectory->Get("KPlusKMinus") |
TH1 * | PiPlusPiMinusPiZero = (TH1*)gDirectory->Get("PiPlusPiMinusPiZero") |
TH1 * | L1bits_gtp = (TH1*)gDirectory->Get("L1bits_gtp") |
TH1 * | PSPairEnergy = (TH1*)gDirectory->Get("PSPairEnergy") |
TH1 * | PIDNorms = (TH1*)gDirectory->Get("PIDNorms") |
double | Ntrig_tot_pi0 = PIDNorms->GetBinContent(NORM_pi0_trig) |
double | Ntrig_tot_rho = PIDNorms->GetBinContent(NORM_rho_trig) |
double | Ntrig_tot_phi = PIDNorms->GetBinContent(NORM_phi_trig) |
double | Ntrig_tot_omega = PIDNorms->GetBinContent(NORM_omega_trig) |
double | Nps_pi0 = PIDNorms->GetBinContent(NORM_pi0_trig) |
double | Nps_rho = PIDNorms->GetBinContent(NORM_rho_ps) |
double | Nps_phi = PIDNorms->GetBinContent(NORM_phi_ps) |
double | Nps_omega = PIDNorms->GetBinContent(NORM_omega_ps) |
TCanvas * | locCanvas = NULL |
double | Ntrig_tot = 0.0 |
double | Ntrig_phys = 0.0 |
double | Ntrig_ps = 0.0 |
double | Nps = 0.0 |
double | unix_time = 0 |
TLatex | latex |
#define InsertSeriesData | ( | A | ) | cout<<"InsertSeriesData ignored outside of RootSpy context"<<endl |
Referenced by if().
#define InsertSeriesMassFit | ( | A, | |
B, | |||
C, | |||
D, | |||
E, | |||
F | |||
) | cout<<"InsertSeriesMassFit ignored outside of RootSpy context"<<endl |
Referenced by if().
#define rs_GetFlag | ( | A | ) | 0 |
Referenced by if().
#define rs_ResetHisto | ( | A | ) | cout<<"rs_ResetHisto ignored outside of RootSpy context"<<endl |
Referenced by if().
#define rs_RestoreHisto | ( | A | ) | cout<<"rs_RestoreHisto ignored outside of RootSpy context"<<endl |
#define rs_SetFlag | ( | A | ) | cout<<"rs_SetFlag ignored outside of RootSpy context"<<endl |
anonymous enum |
Enumerator | |
---|---|
NORM_pi0_trig | |
NORM_rho_trig | |
NORM_phi_trig | |
NORM_omega_trig | |
NORM_pi0_ps | |
NORM_rho_ps | |
NORM_phi_ps | |
NORM_omega_ps | |
NORM_NUM |
Definition at line 528 of file HistMacro_PID.C.
locDirectory cd | ( | ) |
locCanvas cd | ( | 1 | ) |
locCanvas cd | ( | 2 | ) |
locCanvas cd | ( | 3 | ) |
locCanvas cd | ( | 4 | ) |
locCanvas Divide | ( | 2 | , |
2 | |||
) |
if | ( | ! | locDirectory | ) |
Definition at line 32 of file bcal_hist_eff.C.
if | ( | L1bits_gtp | ) |
Definition at line 561 of file HistMacro_PID.C.
References trig.
if | ( | PSPairEnergy | ) |
Definition at line 571 of file HistMacro_PID.C.
if | ( | EventInfo | ) |
Definition at line 577 of file HistMacro_PID.C.
if | ( | TwoGammaMass! | = NULL | ) |
Definition at line 594 of file HistMacro_PID.C.
References I, InsertSeriesData, InsertSeriesMassFit, NORM_pi0_ps, NORM_pi0_trig, Nps_pi0, Ntrig_phys, Ntrig_ps, Ntrig_tot_pi0, rs_GetFlag, rs_ResetHisto, sprintf(), and sqrt().
if | ( | KPlusKMinus! | = NULL | ) |
Definition at line 732 of file HistMacro_PID.C.
References I, InsertSeriesData, InsertSeriesMassFit, NORM_phi_ps, NORM_phi_trig, Nps_phi, Ntrig_phys, Ntrig_ps, Ntrig_tot_phi, rs_GetFlag, rs_ResetHisto, and sprintf().
if | ( | PiPlusPiMinus! | = NULL | ) |
Definition at line 809 of file HistMacro_PID.C.
References I, InsertSeriesData, InsertSeriesMassFit, NORM_rho_ps, NORM_rho_trig, Nps_rho, Ntrig_phys, Ntrig_ps, Ntrig_tot_rho, rs_GetFlag, rs_ResetHisto, and sprintf().
if | ( | PiPlusPiMinusPiZero! | = NULL | ) |
Definition at line 885 of file HistMacro_PID.C.
References I, InsertSeriesData, InsertSeriesMassFit, NORM_omega_ps, NORM_omega_trig, Nps_omega, Ntrig_phys, Ntrig_ps, Ntrig_tot_omega, rs_GetFlag, rs_ResetHisto, and sprintf().
gPad SetGrid | ( | ) |
gPad SetTicks | ( | ) |
vector<bool> trig | ( | 34 | , |
false | |||
) |
TH1* EventInfo = (TH1*)gDirectory->Get("EventInfo") |
Definition at line 516 of file HistMacro_PID.C.
TH1* KPlusKMinus = (TH1*)gDirectory->Get("KPlusKMinus") |
Definition at line 519 of file HistMacro_PID.C.
TH1* L1bits_gtp = (TH1*)gDirectory->Get("L1bits_gtp") |
Definition at line 521 of file HistMacro_PID.C.
TLatex latex |
Definition at line 587 of file HistMacro_PID.C.
else locCanvas = NULL |
Definition at line 551 of file HistMacro_PID.C.
TDirectory* locDirectory = (TDirectory*)gDirectory->FindObjectAny("highlevel") |
Definition at line 512 of file HistMacro_PID.C.
TDirectory* locTopDirectory = gDirectory |
Definition at line 509 of file HistMacro_PID.C.
double Nps = 0.0 |
Definition at line 570 of file HistMacro_PID.C.
double Nps_omega = PIDNorms->GetBinContent(NORM_omega_ps) |
Definition at line 548 of file HistMacro_PID.C.
Referenced by if().
double Nps_phi = PIDNorms->GetBinContent(NORM_phi_ps) |
Definition at line 547 of file HistMacro_PID.C.
Referenced by if().
double Nps_pi0 = PIDNorms->GetBinContent(NORM_pi0_trig) |
Definition at line 545 of file HistMacro_PID.C.
Referenced by if().
double Nps_rho = PIDNorms->GetBinContent(NORM_rho_ps) |
Definition at line 546 of file HistMacro_PID.C.
Referenced by if().
double Ntrig_phys = 0.0 |
Definition at line 559 of file HistMacro_PID.C.
Referenced by if().
double Ntrig_ps = 0.0 |
Definition at line 560 of file HistMacro_PID.C.
Referenced by if().
double Ntrig_tot = 0.0 |
Definition at line 558 of file HistMacro_PID.C.
double Ntrig_tot_omega = PIDNorms->GetBinContent(NORM_omega_trig) |
Definition at line 544 of file HistMacro_PID.C.
Referenced by if().
double Ntrig_tot_phi = PIDNorms->GetBinContent(NORM_phi_trig) |
Definition at line 543 of file HistMacro_PID.C.
Referenced by if().
double Ntrig_tot_pi0 = PIDNorms->GetBinContent(NORM_pi0_trig) |
Definition at line 541 of file HistMacro_PID.C.
Referenced by if().
double Ntrig_tot_rho = PIDNorms->GetBinContent(NORM_rho_trig) |
Definition at line 542 of file HistMacro_PID.C.
Referenced by if().
TH1* PIDNorms = (TH1*)gDirectory->Get("PIDNorms") |
Definition at line 539 of file HistMacro_PID.C.
TH1* PiPlusPiMinus = (TH1*)gDirectory->Get("PiPlusPiMinus") |
Definition at line 518 of file HistMacro_PID.C.
TH1* PiPlusPiMinusPiZero = (TH1*)gDirectory->Get("PiPlusPiMinusPiZero") |
Definition at line 520 of file HistMacro_PID.C.
TH1* PSPairEnergy = (TH1*)gDirectory->Get("PSPairEnergy") |
Definition at line 522 of file HistMacro_PID.C.
trig[33-1] = true |
Definition at line 507 of file HistMacro_PID.C.
Referenced by JEventProcessor_BCAL_ADC_4ns::evnt(), JEventProcessor_DIRC_online::evnt(), JEventProcessor_BCAL_LEDonline::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_saturation::evnt(), JEventProcessor_BCAL_online::evnt(), JEventProcessor_CCAL_online::evnt(), JEventProcessor_FCAL_online::evnt(), JEventProcessor_trigger_skims::evnt(), JEventProcessor_randomtrigger_skim::evnt(), DMCTrigger_factory::evnt(), JEventProcessor_BCAL_LED::evnt(), JEventProcessor_BCAL_LED_time::evnt(), JEventProcessor_event_size::evnt(), DEventProcessor_pid_dirc::evnt(), JEventProcessor_occupancy_online::evnt(), JEventProcessor_L3BDTtree::evnt(), and if().
TH1* TwoGammaMass = (TH1*)gDirectory->Get("TwoGammaMass") |
Definition at line 517 of file HistMacro_PID.C.
double unix_time = 0 |
Definition at line 576 of file HistMacro_PID.C.
Referenced by JEventProcessor_syncskim::evnt(), JEventProcessor_highlevel_online::evnt(), DCODAControlEvent::toStrings(), and DL1Info::toStrings().