#include <RawDataUtil.h>
Definition at line 5 of file RawDataUtil.h.
◆ EmcCharge()
static double RawDataUtil::EmcCharge |
( |
int |
measure, |
|
|
int |
chargeChannel |
|
) |
| |
|
inlinestatic |
◆ EmcChargeChannel()
static int RawDataUtil::EmcChargeChannel |
( |
double |
charge | ) |
|
|
inlinestatic |
◆ EmcChargeMeasure()
static int RawDataUtil::EmcChargeMeasure |
( |
double |
charge | ) |
|
|
inlinestatic |
◆ EmcTime()
static double RawDataUtil::EmcTime |
( |
int |
timeChannel | ) |
|
|
inlinestatic |
◆ EmcTimeChannel()
static int RawDataUtil::EmcTimeChannel |
( |
double |
time | ) |
|
|
inlinestatic |
◆ MdcCharge()
static double RawDataUtil::MdcCharge |
( |
int |
chargeChannel | ) |
|
|
inlinestatic |
◆ MdcChargeChannel()
static int RawDataUtil::MdcChargeChannel |
( |
double |
charge | ) |
|
|
inlinestatic |
◆ MdcTime()
static double RawDataUtil::MdcTime |
( |
int |
timeChannel | ) |
|
|
inlinestatic |
◆ MdcTimeChannel()
static int RawDataUtil::MdcTimeChannel |
( |
double |
time | ) |
|
|
inlinestatic |
◆ TofCharge()
static double RawDataUtil::TofCharge |
( |
unsigned int |
chargeChannel | ) |
|
|
inlinestatic |
◆ TofChargeChannel()
static unsigned int RawDataUtil::TofChargeChannel |
( |
double |
charge, |
|
|
double |
time |
|
) |
| |
|
inlinestatic |
Definition at line 72 of file RawDataUtil.h.
73 {
74 unsigned int ADC = (unsigned) (charge/TOF_CHARGE_FACTOR);
75 unsigned int TDC = (unsigned) (
time/TOF_TIME_FACTOR);
76 if(ADC>=8192)
77 {
78 ADC = (ADC | 0x080000);
79
80 }
81 ADC = ( (TDC & 0x07e000) | ADC) ;
82
83
84
85
86
87
88 return ADC;
89 }
◆ TofTime()
static double RawDataUtil::TofTime |
( |
unsigned int |
timeChannel | ) |
|
|
inlinestatic |
◆ TofTimeChannel()
static unsigned int RawDataUtil::TofTimeChannel |
( |
double |
time | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: