8 #ifndef _JEventProcessor_ST_online_efficiency_
9 #define _JEventProcessor_ST_online_efficiency_
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 #include <JANA/JFactory.h>
26 #include <TDirectory.h>
36 #include "TObjArray.h"
76 const char*
className(
void){
return "JEventProcessor_ST_online_efficiency";}
80 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
81 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
135 #endif // _JEventProcessor_ST_online_efficiency_
jerror_t fini(void)
Called after last event of last event source has been processed.
vector< DSCHitMatchParams > st_params
static TH1D * h_ST_Eff_ss
static TH1D * h_ST_Eff_All
static TH1D * h_N_trck_prd_ss
vector< vector< DVector3 > > sc_pos
uint32_t N_recd_hit_All_nearby_plus[NCHANNELS]
uint32_t N_trck_prd_bs[NCHANNELS]
static TH1D * h_N_recd_hit_ns
bool theta_momentum_cut_ss[Nof_ss_intervals]
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
DSCHitMatchParams locSCHitMatchParams
double theta_bs_min_left[Nof_bs_intervals]
const uint32_t Nof_ss_intervals
double theta_ss_small[Nof_ss_intervals]
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
double theta_ss_max_left[Nof_ss_intervals]
uint32_t N_recd_hit_bs[NCHANNELS]
double theta_bs_max_left[Nof_bs_intervals]
JEventProcessor_ST_online_efficiency()
static TH1D * h_ST_Eff_bs
double smallest_ns_left[Nof_ns_intervals]
static TH1D * h_N_recd_hit_ss
uint32_t N_recd_hit_ns[NCHANNELS]
double theta_bs_large[Nof_bs_intervals]
double z_ss[Nof_ss_intervals]
double smallest_bs_left[Nof_bs_intervals]
double theta_ns_min_left[Nof_ns_intervals]
static TH1D * h_N_trck_prd_All
double theta_ss_max_right[Nof_ss_intervals]
uint32_t N_recd_hit_ss[NCHANNELS]
const DParticleID * dParticleID
vector< vector< DVector3 > > sc_norm
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
double locSCzIntersection
double z_ns[Nof_ss_intervals]
double locSCrIntersection
uint32_t N_trck_prd_ns[NCHANNELS]
~JEventProcessor_ST_online_efficiency()
const char * className(void)
uint32_t N_recd_hit_All_nearby_minus[NCHANNELS]
const uint32_t Nof_ns_intervals
double theta_ss_large[Nof_ss_intervals]
double theta_ns_max_right[Nof_ns_intervals]
double theta_ss_min_left[Nof_ss_intervals]
double theta_bs_min_right[Nof_bs_intervals]
uint32_t N_recd_hit_All[NCHANNELS]
double theta_ns_small[Nof_ns_intervals]
jerror_t init(void)
Called once at program start.
double smallest_ss_left[Nof_ss_intervals]
double theta_ss_min_right[Nof_ss_intervals]
uint32_t N_trck_prd_All[NCHANNELS]
double theta_ns_max_left[Nof_ns_intervals]
DVector3 IntersectionPoint
static TH1D * h_N_recd_hit_bs
double theta_bs_max_right[Nof_bs_intervals]
static TH1D * h_N_trck_prd_ns
bool theta_momentum_cut_bs[Nof_bs_intervals]
double z_bs[Nof_bs_intervals]
static TH1D * h_ST_Eff_ns
uint32_t N_trck_prd_ss[NCHANNELS]
static TH1D * h_N_recd_hit_All
double theta_ns_large[Nof_ns_intervals]
static TH1D * h_N_trck_prd_bs
uint32_t N_recd_hit_All_nearby[NCHANNELS]
const uint32_t Nof_bs_intervals
double theta_ns_min_right[Nof_ns_intervals]
double theta_bs_small[Nof_bs_intervals]