Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_PS_E_calib.cc File Reference
#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
 

Macro Definition Documentation

#define CORRECTIONS   false

Definition at line 26 of file JEventProcessor_PS_E_calib.cc.

Function Documentation

void InitPlugin ( JApplication *  app)

Definition at line 74 of file JEventProcessor_PS_E_calib.cc.

Variable Documentation

int counter = 0

Definition at line 47 of file JEventProcessor_PS_E_calib.cc.

TH1F* h_dt
static
TH2F* h_psE_vs_psEl_th[MAX_COUNTERS]
static
TH2F* h_psE_vs_psEl_tm[MAX_COLUMNS]
static
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().

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().

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