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

#include <DDIRCLEDRef_factory.h>

+ Inheritance diagram for DDIRCLEDRef_factory:

Public Member Functions

 DDIRCLEDRef_factory ()
 
 ~DDIRCLEDRef_factory ()
 
DDIRCLEDRefFindMatch (double T)
 

Public Attributes

double a_scale
 
double t_scale
 
double t_base
 
double t_base_tdc
 
double tdc_adc_time_offset
 

Private Member Functions

jerror_t init (void)
 
jerror_t brun (jana::JEventLoop *eventLoop, int32_t runnumber)
 
jerror_t evnt (jana::JEventLoop *eventLoop, uint64_t eventnumber)
 
jerror_t erun (void)
 
jerror_t fini (void)
 
double CalcWalkCorrIntegral (DDIRCLEDRef *hit)
 
double CalcWalkCorrAmplitude (DDIRCLEDRef *hit)
 
double CalcWalkCorrNEW (DDIRCLEDRef *hit)
 
double CalcWalkCorrNEWAMP (DDIRCLEDRef *hit)
 

Private Attributes

bool CHECK_FADC_ERRORS
 

Detailed Description

Definition at line 23 of file DDIRCLEDRef_factory.h.

Constructor & Destructor Documentation

DDIRCLEDRef_factory::DDIRCLEDRef_factory ( )
inline

Definition at line 25 of file DDIRCLEDRef_factory.h.

DDIRCLEDRef_factory::~DDIRCLEDRef_factory ( )
inline

Definition at line 26 of file DDIRCLEDRef_factory.h.

Member Function Documentation

jerror_t DDIRCLEDRef_factory::brun ( jana::JEventLoop *  eventLoop,
int32_t  runnumber 
)
private

Definition at line 45 of file DDIRCLEDRef_factory.cc.

double DDIRCLEDRef_factory::CalcWalkCorrAmplitude ( DDIRCLEDRef hit)
private
double DDIRCLEDRef_factory::CalcWalkCorrIntegral ( DDIRCLEDRef hit)
private
double DDIRCLEDRef_factory::CalcWalkCorrNEW ( DDIRCLEDRef hit)
private
double DDIRCLEDRef_factory::CalcWalkCorrNEWAMP ( DDIRCLEDRef hit)
private
jerror_t DDIRCLEDRef_factory::erun ( void  )
private

Definition at line 196 of file DDIRCLEDRef_factory.cc.

jerror_t DDIRCLEDRef_factory::evnt ( jana::JEventLoop *  eventLoop,
uint64_t  eventnumber 
)
private

Generate DDIRCLEDRef object for each DTOFDigiHit object. This is where the first set of calibration constants is applied to convert from digitzed units into natural units.

Note that this code does NOT get called for simulated data in HDDM format. The HDDM event source will copy the precalibrated values directly into the _data vector.

Definition at line 53 of file DDIRCLEDRef_factory.cc.

References DDIRCLEDRef::amp, DDAQAddress::channel, DTTabUtilities::Convert_DigiTimeToNs_CAEN1290TDC(), Df250PulseData::course_time, Df250PulseData::fine_time, DDIRCLEDRef::has_fADC, DDIRCLEDRef::has_TDC, DDIRCLEDRef::integral, Df250PulseData::integral, Df250PulseData::pulse_peak, DDAQAddress::rocid, DDAQAddress::slot, DDIRCLEDRef::t, DDIRCLEDRef::t_fADC, t_scale, and DDIRCLEDRef::t_TDC.

DDIRCLEDRef * DDIRCLEDRef_factory::FindMatch ( double  T)

Definition at line 166 of file DDIRCLEDRef_factory.cc.

References DDIRCLEDRef::t, and DDIRCLEDRef::t_fADC.

jerror_t DDIRCLEDRef_factory::fini ( void  )
private

Definition at line 204 of file DDIRCLEDRef_factory.cc.

jerror_t DDIRCLEDRef_factory::init ( void  )
private

Set basic conversion constants

Definition at line 30 of file DDIRCLEDRef_factory.cc.

References t_base, and t_scale.

Member Data Documentation

double DDIRCLEDRef_factory::a_scale

Definition at line 26 of file DDIRCLEDRef_factory.h.

bool DDIRCLEDRef_factory::CHECK_FADC_ERRORS
private

Definition at line 48 of file DDIRCLEDRef_factory.h.

double DDIRCLEDRef_factory::t_base

Definition at line 31 of file DDIRCLEDRef_factory.h.

double DDIRCLEDRef_factory::t_base_tdc

Definition at line 31 of file DDIRCLEDRef_factory.h.

double DDIRCLEDRef_factory::t_scale

Definition at line 30 of file DDIRCLEDRef_factory.h.

double DDIRCLEDRef_factory::tdc_adc_time_offset

Definition at line 32 of file DDIRCLEDRef_factory.h.


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