Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_BCAL_TimeCalibration.cc File Reference
#include "JEventProcessor_BCAL_TimeCalibration.h"
#include <TLorentzVector.h>
#include "TMath.h"
#include "BCAL/DBCALHit.h"
#include "BCAL/DBCALTDCHit.h"
#include "BCAL/DBCALCluster.h"
#include "BCAL/DBCALPoint.h"
#include "BCAL/DBCALUnifiedHit.h"
#include "BCAL/DBCALGeometry.h"
#include "PID/DChargedTrack.h"
#include "TRACKING/DTrackTimeBased.h"
#include "PID/DEventRFBunch.h"
#include "PID/DDetectorMatches.h"
#include "DAQ/Df250PulsePedestal.h"
#include "DAQ/Df250PulseIntegral.h"
#include "BCAL/DBCALDigiHit.h"
#include "DANA/DApplication.h"
#include "BCAL/DBCALShower.h"
#include "BCAL/DBCALTruthShower.h"
#include "FCAL/DFCALShower.h"
#include "TRACKING/DMCThrown.h"
#include "ANALYSIS/DAnalysisUtilities.h"
#include "PID/DVertex.h"
#include "TAGGER/DTAGHHit.h"
#include "TAGGER/DTAGMHit.h"
#include "TRIGGER/DL1Trigger.h"
#include <TFile.h>
#include <TH1.h>
#include <TH2.h>
#include <TCanvas.h>
#include <TF1.h>
#include <TStyle.h>
#include <TChain.h>
#include <TPostScript.h>
#include <TLatex.h>
#include <TPaveLabel.h>
#include <TGraphErrors.h>
#include <TLine.h>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "TROOT.h"
#include <mutex>
#include <vector>
#include <deque>
#include <string>
#include <algorithm>
#include <JANA/JApplication.h>
#include <JANA/JFactory.h>

Go to the source code of this file.

Functions

static Double_t tzfunc (Double_t *x, Double_t *par)
 
static Double_t twfunc2 (Double_t *x, Double_t *par)
 
static Double_t gfunc (Double_t *x, Double_t *par)
 
void InitPlugin (JApplication *app)
 

Variables

static mutex mtx
 
static int ievent
 
static int iRunNumber
 
static double R0 [5] ={0., 65.089, 67.1464, 71.2612, 77.4334}
 
static double DD [5] ={0., 2.0574, 4.1148, 6.1722, 8.23}
 
static int busyShower [1000]
 
static double cvel = 29.9792458
 
static unsigned short int aU [48][4][3][5000]
 
static unsigned short int aD [48][4][3][5000]
 
static unsigned short int tU [48][4][3][5000]
 
static unsigned short int tD [48][4][3][5000]
 
static unsigned short int Z0 [48][4][3][5000]
 
static unsigned short int zH [48][4][3][5000]
 
static unsigned short int RUD [48][4][3][5000]
 
static float Ene [48][4][3][5000]
 
static double r2U
 
static double r2D
 
static double rUD
 
static double zUD
 
static double cosPHI
 
static double sinPHI
 
static double PHIp
 
static double PHIs
 
static double PHIdiff
 
static unsigned short int ipo [48][4][3]
 
static double itU
 
static double itD
 
static double Ze [2] ={17.,407.}
 
static int imo
 
static int ise
 
static int ila
 
static int ip
 
static int pdfps = 0
 
static TGraphErrors * gr01
 
static TGraphErrors * gr11
 
static TGraphErrors * gr02
 
static TGraphErrors * gr12
 
static TGraph * gr1
 
static TGraph * gr2
 
static TGraph * gr3
 
static TH1F * h1
 
static TH1F * h2
 
static TH1F * h3
 
static TH1F * h4
 
static TH1F * his4
 
static TH1F * his44
 
static TF1 * fgg10
 
static TF1 * fgg20
 
static TF1 * fgau
 
static TF1 * fgau2
 
static TF1 * fz1
 
static TF1 * fz2
 
static char * ftxt
 
static char * ftxt2
 
static char * ftxt3
 
static char * ftxt4
 
static char * hisname
 
static char * hisname2
 
static TLatex * txt1
 
static TLatex * txt2
 
static TLatex * txt3
 
static TLatex * txt4
 
static TLine * lin1
 
static double tADC_U
 
static double tADC_D
 
static double E1 [100]
 
static double E3 [100]
 
static double E13 [100]
 
static double dZs1 [3] ={-11., -9.5, -23.}
 
static double dZs2 [3] ={ 9.0, 10.5, 37.}
 

Function Documentation

static Double_t gfunc ( Double_t *  x,
Double_t *  par 
)
static
void InitPlugin ( JApplication *  app)

Definition at line 169 of file JEventProcessor_BCAL_TimeCalibration.cc.

static Double_t twfunc2 ( Double_t *  x,
Double_t *  par 
)
static
static Double_t tzfunc ( Double_t *  x,
Double_t *  par 
)
static

Variable Documentation

unsigned short int aD[48][4][3][5000]
static
unsigned short int aU[48][4][3][5000]
static
int busyShower[1000]
static
double cosPHI
static
double cvel = 29.9792458
static
double DD[5] ={0., 2.0574, 4.1148, 6.1722, 8.23}
static
double dZs1[3] ={-11., -9.5, -23.}
static
double dZs2[3] ={ 9.0, 10.5, 37.}
static
double E13[100]
static
float Ene[48][4][3][5000]
static
TF1* fgau
static
TF1* fgau2
static
TF1* fgg10
static
TF1* fgg20
static
char* ftxt
static
char* ftxt2
static
char* ftxt3
static
char* ftxt4
static
TF1* fz1
static
TF1* fz2
static
TGraphErrors* gr01
static
TGraphErrors* gr02
static
TGraph* gr1
static
TGraphErrors* gr11
static
TGraphErrors* gr12
static
TH1F* his4
static
TH1F* his44
static
char* hisname
static
char* hisname2
static
double itD
static
double itU
static
TLine* lin1
static
int pdfps = 0
static
double PHIdiff
static
double PHIp
static
double PHIs
static
double R0[5] ={0., 65.089, 67.1464, 71.2612, 77.4334}
static
double r2D
static
double r2U
static
unsigned short int RUD[48][4][3][5000]
static
double rUD
static
double sinPHI
static
double tADC_D
static
double tADC_U
static
unsigned short int tD[48][4][3][5000]
static
unsigned short int tU[48][4][3][5000]
static
TLatex* txt1
static
TLatex* txt2
static
TLatex* txt3
static
TLatex* txt4
static
unsigned short int Z0[48][4][3][5000]
static
unsigned short int zH[48][4][3][5000]
static
double zUD
static