#include <HcalLaserDigi.h>
Public Member Functions | |
void | addTDCHit (int channel, int hittime) |
int | attenuator1 () const |
int | attenuator2 () const |
HcalLaserDigi () | |
int | hitChannel (size_t ihit) const |
double | hitNS (size_t ihit) const |
int | hitRaw (size_t ihit) const |
uint16_t | qadc (int i) const |
int | selector () const |
void | setLaserControl (int att1, int att2, int select) |
void | setQADC (const std::vector< uint16_t > &values) |
size_t | tdcHits () const |
Private Attributes | |
int32_t | attenuator1_ |
int32_t | attenuator2_ |
uint16_t | qadcraw_ [32] |
int32_t | selector_ |
std::vector< uint32_t > | tdcraw_ |
Definition at line 7 of file HcalLaserDigi.h.
HcalLaserDigi::HcalLaserDigi | ( | ) |
Definition at line 3 of file HcalLaserDigi.cc.
References attenuator1_, attenuator2_, i, qadcraw_, and selector_.
void HcalLaserDigi::addTDCHit | ( | int | channel, |
int | hittime | ||
) |
Definition at line 15 of file HcalLaserDigi.cc.
References tdcraw_.
Referenced by HcalLaserUnpacker::unpack().
|
inline |
|
inline |
int HcalLaserDigi::hitChannel | ( | size_t | ihit | ) | const |
double HcalLaserDigi::hitNS | ( | size_t | ihit | ) | const |
int HcalLaserDigi::hitRaw | ( | size_t | ihit | ) | const |
|
inline |
|
inline |
void HcalLaserDigi::setLaserControl | ( | int | att1, |
int | att2, | ||
int | select | ||
) |
Definition at line 34 of file HcalLaserDigi.cc.
References attenuator1_, attenuator2_, benchmark_cfg::select, and selector_.
void HcalLaserDigi::setQADC | ( | const std::vector< uint16_t > & | values | ) |
|
inline |
|
private |
Definition at line 25 of file HcalLaserDigi.h.
Referenced by attenuator1(), HcalLaserDigi(), and setLaserControl().
|
private |
Definition at line 25 of file HcalLaserDigi.h.
Referenced by attenuator2(), HcalLaserDigi(), and setLaserControl().
|
private |
Definition at line 23 of file HcalLaserDigi.h.
Referenced by HcalLaserDigi(), qadc(), and setQADC().
|
private |
Definition at line 26 of file HcalLaserDigi.h.
Referenced by HcalLaserDigi(), selector(), and setLaserControl().
|
private |
Definition at line 24 of file HcalLaserDigi.h.
Referenced by addTDCHit(), hitChannel(), hitRaw(), and tdcHits().