Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_BCAL_gainmatrix Class Reference

#include <DEventProcessor_BCAL_gainmatrix.h>

+ Inheritance diagram for DEventProcessor_BCAL_gainmatrix:

Public Member Functions

 DEventProcessor_BCAL_gainmatrix ()
 
 ~DEventProcessor_BCAL_gainmatrix ()
 
const char * className (void)
 

Public Attributes

TTree * BCAL_Neutrals
 
uint32_t eventnum
 
Float_t E1
 
Float_t E1_raw
 
Float_t E2
 
Float_t E2_raw
 
Float_t t1
 
Float_t t2
 
Float_t z1
 
Float_t z2
 
Float_t x1
 
Float_t x2
 
Float_t y1
 
Float_t y2
 
Float_t psi
 
Float_t vertexz
 
Float_t vertexZ
 
Float_t vertexX
 
Float_t vertexY
 
uint32_t Run_Number
 
Int_t num_tracks
 
Int_t num_showers
 
Float_t inv_mass
 
Float_t inv_mass_raw
 
uint32_t logical1
 
uint32_t logical2
 
vector< double > point_energy
 
vector< double > point1_energy_calib
 
vector< double > point2_energy_calib
 
vector< double > point1_channel
 
vector< double > point2_channel
 
vector< pair< double, int > > frac_en
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *locEventLoop, int32_t locRunNumber)
 Called every time a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *locEventLoop, uint64_t locEventNumber)
 Called every event. More...
 
jerror_t erun (void)
 Called every time run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 

Private Attributes

const DAnalysisUtilitiesdAnalysisUtilities
 
double m_massbias
 
TMatrixD m_mC
 
TMatrixD m_mD
 
TMatrixD m_mL
 
TMatrix m_nhits
 
TH2F * h2D_mC
 
TH1F * h1D_mL
 
TH1F * h1D_mD
 
TH1F * h1D_massbias
 
TH1F * h1D_nhits
 
const DEventWriterROOTdEventWriterROOT
 
const DEventWriterRESTdEventWriterREST
 

Detailed Description

Definition at line 27 of file DEventProcessor_BCAL_gainmatrix.h.

Constructor & Destructor Documentation

DEventProcessor_BCAL_gainmatrix::DEventProcessor_BCAL_gainmatrix ( )
inline

Definition at line 30 of file DEventProcessor_BCAL_gainmatrix.h.

DEventProcessor_BCAL_gainmatrix::~DEventProcessor_BCAL_gainmatrix ( )
inline

Definition at line 31 of file DEventProcessor_BCAL_gainmatrix.h.

Member Function Documentation

jerror_t DEventProcessor_BCAL_gainmatrix::brun ( jana::JEventLoop *  locEventLoop,
int32_t  locRunNumber 
)
private

Called every time a new run number is detected.

Definition at line 105 of file DEventProcessor_BCAL_gainmatrix.cc.

References Run_Number.

const char* DEventProcessor_BCAL_gainmatrix::className ( void  )
inline

Definition at line 32 of file DEventProcessor_BCAL_gainmatrix.h.

jerror_t DEventProcessor_BCAL_gainmatrix::erun ( void  )
private

Called every time run number changes, provided brun has been called.

Definition at line 327 of file DEventProcessor_BCAL_gainmatrix.cc.

References h1D_massbias, h1D_mD, h1D_mL, h1D_nhits, h2D_mC, japp, m_massbias, m_mC, m_mD, m_mL, and m_nhits.

jerror_t DEventProcessor_BCAL_gainmatrix::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 361 of file DEventProcessor_BCAL_gainmatrix.cc.

jerror_t DEventProcessor_BCAL_gainmatrix::init ( void  )
private

Member Data Documentation

TTree* DEventProcessor_BCAL_gainmatrix::BCAL_Neutrals

Definition at line 33 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

const DAnalysisUtilities* DEventProcessor_BCAL_gainmatrix::dAnalysisUtilities
private

Definition at line 67 of file DEventProcessor_BCAL_gainmatrix.h.

const DEventWriterREST* DEventProcessor_BCAL_gainmatrix::dEventWriterREST
private

Definition at line 87 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by init().

const DEventWriterROOT* DEventProcessor_BCAL_gainmatrix::dEventWriterROOT
private

Definition at line 86 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by init().

Float_t DEventProcessor_BCAL_gainmatrix::E1

Definition at line 35 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::E1_raw

Definition at line 36 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

Float_t DEventProcessor_BCAL_gainmatrix::E2

Definition at line 37 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::E2_raw

Definition at line 38 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

uint32_t DEventProcessor_BCAL_gainmatrix::eventnum

Definition at line 34 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

vector<pair < double , int > > DEventProcessor_BCAL_gainmatrix::frac_en

Definition at line 64 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

TH1F* DEventProcessor_BCAL_gainmatrix::h1D_massbias
private

Definition at line 83 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), and init().

TH1F* DEventProcessor_BCAL_gainmatrix::h1D_mD
private

Definition at line 82 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), and init().

TH1F* DEventProcessor_BCAL_gainmatrix::h1D_mL
private

Definition at line 81 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), and init().

TH1F* DEventProcessor_BCAL_gainmatrix::h1D_nhits
private

Definition at line 84 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), and init().

TH2F* DEventProcessor_BCAL_gainmatrix::h2D_mC
private

Definition at line 80 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), and init().

Float_t DEventProcessor_BCAL_gainmatrix::inv_mass

Definition at line 55 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::inv_mass_raw

Definition at line 56 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

uint32_t DEventProcessor_BCAL_gainmatrix::logical1

Definition at line 57 of file DEventProcessor_BCAL_gainmatrix.h.

uint32_t DEventProcessor_BCAL_gainmatrix::logical2

Definition at line 58 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

double DEventProcessor_BCAL_gainmatrix::m_massbias
private

Definition at line 74 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), evnt(), and init().

TMatrixD DEventProcessor_BCAL_gainmatrix::m_mC
private

Definition at line 76 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), evnt(), and init().

TMatrixD DEventProcessor_BCAL_gainmatrix::m_mD
private

Definition at line 77 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), evnt(), and init().

TMatrixD DEventProcessor_BCAL_gainmatrix::m_mL
private

Definition at line 78 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), evnt(), and init().

TMatrix DEventProcessor_BCAL_gainmatrix::m_nhits
private

Definition at line 79 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by erun(), evnt(), and init().

Int_t DEventProcessor_BCAL_gainmatrix::num_showers

Definition at line 54 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

Int_t DEventProcessor_BCAL_gainmatrix::num_tracks

Definition at line 53 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

vector<double> DEventProcessor_BCAL_gainmatrix::point1_channel

Definition at line 62 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

vector<double> DEventProcessor_BCAL_gainmatrix::point1_energy_calib

Definition at line 60 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

vector<double> DEventProcessor_BCAL_gainmatrix::point2_channel

Definition at line 63 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

vector<double> DEventProcessor_BCAL_gainmatrix::point2_energy_calib

Definition at line 61 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

vector<double> DEventProcessor_BCAL_gainmatrix::point_energy

Definition at line 59 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::psi

Definition at line 47 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

uint32_t DEventProcessor_BCAL_gainmatrix::Run_Number

Definition at line 52 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by brun(), and init().

Float_t DEventProcessor_BCAL_gainmatrix::t1

Definition at line 39 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::t2

Definition at line 40 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::vertexX

Definition at line 50 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::vertexY

Definition at line 51 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::vertexz

Definition at line 48 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

Float_t DEventProcessor_BCAL_gainmatrix::vertexZ

Definition at line 49 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::x1

Definition at line 43 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::x2

Definition at line 44 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::y1

Definition at line 45 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::y2

Definition at line 46 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt().

Float_t DEventProcessor_BCAL_gainmatrix::z1

Definition at line 41 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().

Float_t DEventProcessor_BCAL_gainmatrix::z2

Definition at line 42 of file DEventProcessor_BCAL_gainmatrix.h.

Referenced by evnt(), and init().


The documentation for this class was generated from the following files: