#include <TofData.h>
◆ PmtData() [1/2]
Definition at line 246 of file TofData.cxx.
246 {
247 m_iden_value = 0;
248 m_times = 0;
249 m_quality = 0;
250 m_adc = 0;
251 m_tdc = 0;
252}
◆ ~PmtData() [1/2]
◆ PmtData() [2/2]
◆ ~PmtData() [2/2]
◆ adc() [1/2]
Definition at line 293 of file TofData.cxx.
293 {
294 double value = -999.0;
295 if( m_adc ) {
296
298 if( m_tdc ) {
299 double tleading = m_tdc->
value();
300 if( tleading>0.0 ) {
301 int qchannel = m_adc->
channel();
302 if( qchannel!=10000 && qchannel!=-999 ) {
303 double ttrailing = m_adc->
qtc();
304 value = ttrailing - tleading;
305 }
306 }
307 }
308 }
309 else {
310 value = m_adc->
value();
311 }
312 }
313 else {
314 if( m_tdc ) {
315 value = 10000.0;
316 }
317 }
318 return value;
319}
static Identifier cell_id(int barrel_ec, int layer, int phi_module, int end)
For a single crystal.
static bool is_mrpc(const Identifier &id)
Referenced by TofData::adc(), TofData::adc1(), TofData::adc2(), TofData::data(), setAdc(), and TofRawDataProvider::tofDataMapFull().
◆ adc() [2/2]
◆ adcChannel() [1/2]
int PmtData::adcChannel |
( |
| ) |
|
◆ adcChannel() [2/2]
int PmtData::adcChannel |
( |
| ) |
|
◆ clear() [1/2]
Definition at line 499 of file TofData.cxx.
499 {
500 if( m_adc ) {
501 if( m_adc->
times() <= 1 ) {
502 delete m_adc;
503 m_adc = 0;
504 }
505 else {
507 }
508 }
509 if( m_tdc ) {
510 if( m_tdc->
times() <= 1 ) {
511 delete m_tdc;
512 m_tdc = 0;
513 }
514 else {
516 }
517 }
518 return;
519}
Referenced by ~PmtData().
◆ clear() [2/2]
◆ iden() [1/2]
unsigned int PmtData::iden |
( |
| ) |
const |
|
inline |
◆ iden() [2/2]
unsigned int PmtData::iden |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
Definition at line 260 of file TofData.cxx.
260 {
261 m_iden_value = source.m_iden_value;
262 m_times = source.m_times;
263 m_quality = source.m_quality;
264 m_adc = source.m_adc;
265 m_tdc = source.m_tdc;
266 return *this;
267}
◆ operator=() [2/2]
◆ qclock() [1/2]
◆ qclock() [2/2]
◆ qnumber() [1/2]
◆ qnumber() [2/2]
◆ qtc() [1/2]
◆ qtc() [2/2]
◆ qtimes() [1/2]
◆ qtimes() [2/2]
◆ qtimesmm() [1/2]
void PmtData::qtimesmm |
( |
| ) |
|
◆ qtimesmm() [2/2]
void PmtData::qtimesmm |
( |
| ) |
|
◆ qtimespp() [1/2]
void PmtData::qtimespp |
( |
| ) |
|
◆ qtimespp() [2/2]
void PmtData::qtimespp |
( |
| ) |
|
◆ quality() [1/2]
unsigned int PmtData::quality |
( |
| ) |
const |
|
inline |
◆ quality() [2/2]
unsigned int PmtData::quality |
( |
| ) |
const |
|
inline |
◆ qused() [1/2]
◆ qused() [2/2]
◆ setAdc() [1/2]
void PmtData::setAdc |
( |
Adc * |
adc | ) |
|
◆ setAdc() [2/2]
void PmtData::setAdc |
( |
Adc * |
adc | ) |
|
◆ setIdentify() [1/2]
void PmtData::setIdentify |
( |
unsigned int |
iden | ) |
|
|
inline |
◆ setIdentify() [2/2]
void PmtData::setIdentify |
( |
unsigned int |
iden | ) |
|
|
inline |
◆ setTdc() [1/2]
void PmtData::setTdc |
( |
Tdc * |
tdc | ) |
|
◆ setTdc() [2/2]
void PmtData::setTdc |
( |
Tdc * |
tdc | ) |
|
◆ setUsed() [1/2]
void PmtData::setUsed |
( |
| ) |
|
◆ setUsed() [2/2]
void PmtData::setUsed |
( |
| ) |
|
◆ tclock() [1/2]
◆ tclock() [2/2]
◆ tdc() [1/2]
◆ tdc() [2/2]
◆ tdcChannel() [1/2]
int PmtData::tdcChannel |
( |
| ) |
|
◆ tdcChannel() [2/2]
int PmtData::tdcChannel |
( |
| ) |
|
◆ times() [1/2]
unsigned int PmtData::times |
( |
| ) |
const |
|
inline |
◆ times() [2/2]
unsigned int PmtData::times |
( |
| ) |
const |
|
inline |
◆ timesmm() [1/2]
void PmtData::timesmm |
( |
| ) |
|
◆ timesmm() [2/2]
void PmtData::timesmm |
( |
| ) |
|
◆ timespp() [1/2]
void PmtData::timespp |
( |
| ) |
|
◆ timespp() [2/2]
void PmtData::timespp |
( |
| ) |
|
◆ tnumber() [1/2]
◆ tnumber() [2/2]
◆ ttimes() [1/2]
◆ ttimes() [2/2]
◆ ttimesmm() [1/2]
void PmtData::ttimesmm |
( |
| ) |
|
Definition at line 394 of file TofData.cxx.
394 {
395 if( m_tdc ) {
397 }
398 return;
399}
◆ ttimesmm() [2/2]
void PmtData::ttimesmm |
( |
| ) |
|
◆ ttimespp() [1/2]
void PmtData::ttimespp |
( |
| ) |
|
◆ ttimespp() [2/2]
void PmtData::ttimespp |
( |
| ) |
|
◆ tused() [1/2]
◆ tused() [2/2]
◆ used() [1/2]
◆ used() [2/2]
The documentation for this class was generated from the following files: