Hall-D Software
alpha
|
#include "JEventProcessor_PS_E_calib.h"
#include <iostream>
#include <iomanip>
#include <sstream>
#include <math.h>
#include <TTree.h>
#include <TBranch.h>
#include <TDirectory.h>
#include <TProfile.h>
#include <TH2.h>
#include <TAGGER/DTAGMHit.h>
#include <TAGGER/DTAGHHit.h>
#include <TAGGER/DTAGMGeometry.h>
#include <PAIR_SPECTROMETER/DPSCPair.h>
#include <PAIR_SPECTROMETER/DPSPair.h>
#include <JANA/JApplication.h>
#include <JANA/JFactory.h>
Go to the source code of this file.
Macros | |
#define | CORRECTIONS false |
Functions | |
void | InitPlugin (JApplication *app) |
Variables | |
const float | Ebw_PS = 0.013 |
const float | Ebl_PS = 2.3 |
const float | Ebh_PS = 4.9 |
const float | NEb_PS = (Ebh_PS - Ebl_PS)/Ebw_PS |
const int | MAX_COLUMNS = 102 |
const int | MAX_COUNTERS = 274 |
double | p0 = 0 |
double | p1 = 0 |
double | p2 = 0 |
int | column = 0 |
double | tm_E = 0 |
double | tm_t = 0 |
double | tdiff_tm = 0 |
int | counter = 0 |
double | th_E = 0 |
double | th_t = 0 |
double | tdiff_th = 0 |
double | ps_E = 0 |
double | ps_El = 0 |
double | ps_Er = 0 |
double | ps_t = 0 |
double | ps_tl = 0 |
double | ps_tr = 0 |
int | run = 0 |
static TH2F * | h_psE_vs_psEl_tm [MAX_COLUMNS] |
static TH2F * | h_psE_vs_psEl_th [MAX_COUNTERS] |
static TH1F * | h_dt |
#define CORRECTIONS false |
Definition at line 26 of file JEventProcessor_PS_E_calib.cc.
void InitPlugin | ( | JApplication * | app | ) |
Definition at line 74 of file JEventProcessor_PS_E_calib.cc.
int column = 0 |
Definition at line 42 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_FCALgains::AbsNumtoXY(), AdjustTiming(), DCCALShower_factory::cleanHitPattern(), DTAGMGeometry::DTAGMGeometry(), DTAGMGeometry::E_to_column(), JEventProcessor_PS_E_calib::evnt(), JEventProcessor_TAGM_clusters::evnt(), JEventProcessor_TAGM_online::evnt(), DCCALShower_factory::evnt(), DEventProcessor_fcal_led::evnt(), DEventProcessor_ccal_hits::evnt(), DEventProcessor_ccal_display::evnt(), DTAGMHit_factory_Calib::evnt(), DPSPair_factory::evnt(), JEventProcessor_occupancy_online::evnt(), DL1MCTrigger_factory::evnt(), DEventSourceHDDM::Extract_DCCALHit(), DEventSourceHDDM::Extract_DFCALHit(), ExtractTDCADCTiming(), ExtractTrackBasedTiming(), DPSHit_factory::FillCalibTable(), DPSCHit_factory::FillCalibTable(), GetCCDBConstants(), JEventProcessor_HLDetectorTiming::GetCCDBIndexTAGM(), DTAGMGeometry::getEhigh(), DTAGMGeometry::getElow(), hdv_mainframe::GetFCALPolyLine(), DEventProcessor_fcal_led::init(), DEventProcessor_ccal_hits::init(), DEventProcessor_ccal_display::init(), main(), OffsetCorrections(), StartElement(), DFCALHit::toStrings(), DCCALHit::toStrings(), and DEventWriterHDDM::Write_HDDMEvent().
int counter = 0 |
Definition at line 47 of file JEventProcessor_PS_E_calib.cc.
const float Ebh_PS = 4.9 |
Definition at line 31 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PSPair_online::brun(), JEventProcessor_PS_flux::brun(), JEventProcessor_PSPair_online::init(), JEventProcessor_PS_E_calib::init(), and JEventProcessor_PS_flux::init().
const float Ebl_PS = 2.3 |
Definition at line 30 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PSPair_online::brun(), JEventProcessor_PS_flux::brun(), JEventProcessor_PSPair_online::init(), JEventProcessor_PS_E_calib::init(), and JEventProcessor_PS_flux::init().
const float Ebw_PS = 0.013 |
Definition at line 29 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PSPair_online::brun(), JEventProcessor_PS_flux::brun(), JEventProcessor_PSPair_online::init(), and JEventProcessor_PS_flux::init().
|
static |
Definition at line 68 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt(), and JEventProcessor_PS_E_calib::init().
|
static |
Definition at line 66 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt(), JEventProcessor_PS_E_calib::init(), and PSEcorr().
|
static |
Definition at line 64 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt(), JEventProcessor_PS_E_calib::init(), and PSEcorr().
const int MAX_COLUMNS = 102 |
Definition at line 34 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::init(), and PSEcorr().
const int MAX_COUNTERS = 274 |
Definition at line 35 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::init(), and PSEcorr().
Definition at line 32 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PSPair_online::brun(), JEventProcessor_PS_flux::brun(), JEventProcessor_PSPair_online::init(), JEventProcessor_PS_E_calib::init(), JEventProcessor_PS_flux::init(), and PSEcorr().
double p0 = 0 |
Definition at line 38 of file JEventProcessor_PS_E_calib.cc.
Referenced by AdjustTiming(), JEventProcessor_PS_E_calib::brun(), JEventProcessor_PS_E_calib::evnt(), ExtractTrackBasedTiming(), JEventProcessor_BCAL_attenlength_gainratio::fini(), fit_ADC_4ns(), and PSEcorr().
double p1 = 0 |
Definition at line 39 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::brun(), JEventProcessor_PS_E_calib::evnt(), DEventProcessor_bcal_hists::evnt(), DEventProcessor_BCAL_Shower::evnt(), JEventProcessor_BCAL_attenlength_gainratio::fini(), fit_ADC_4ns(), if(), main(), PSEcorr(), ST_Monitoring_Eff(), and trkeff().
double p2 = 0 |
Definition at line 40 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::brun(), JEventProcessor_PS_E_calib::evnt(), DEventProcessor_bcal_hists::evnt(), DEventProcessor_BCAL_Shower::evnt(), DTrackFitterRiemann::GetProcessNoise(), if(), main(), PSEcorr(), and trkeff().
double ps_E = 0 |
Definition at line 52 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double ps_El = 0 |
Definition at line 53 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double ps_Er = 0 |
Definition at line 54 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double ps_t = 0 |
Definition at line 55 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double ps_tl = 0 |
Definition at line 56 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double ps_tr = 0 |
Definition at line 57 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
int run = 0 |
Definition at line 60 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::brun(), drawWaveform(), drawWaveforms(), JEventProcessor_PS_E_calib::evnt(), extract_photon_energy_spectrum(), ExtractTimeOffsets(), ExtractTimeOffsetsAndCEff(), FitTimeToDistance(), GetCCDBConstants(), GetCCDBConstants1(), GetCCDBConstants2(), GetCCDBConstants2D(), mergeTrees(), OffsetCorrections(), plot_bcal_hadronic_eff(), Plot_BCAL_LED_Ratio_high_down(), Plot_BCAL_LED_Ratio_high_down_quadavg(), Plot_BCAL_LED_Ratio_high_up(), Plot_BCAL_LED_Ratio_high_up_quadavg(), Plot_BCAL_LED_Ratio_low_down(), Plot_BCAL_LED_Ratio_low_down_quadavg(), Plot_BCAL_LED_Ratio_low_up(), Plot_BCAL_LED_Ratio_low_up_quadavg(), Plot_BCAL_LED_Ratio_stack(), and Plot_BCAL_LED_Ratio_stack_quadavg().
double tdiff_th = 0 |
Definition at line 50 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double tdiff_tm = 0 |
Definition at line 45 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double th_E = 0 |
Definition at line 48 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double th_t = 0 |
Definition at line 49 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double tm_E = 0 |
Definition at line 43 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt().
double tm_t = 0 |
Definition at line 44 of file JEventProcessor_PS_E_calib.cc.
Referenced by JEventProcessor_PS_E_calib::evnt(), and JEventProcessor_TAGM_TW::evnt().