#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_, mps_fire::i, qadcraw_, and selector_.
void HcalLaserDigi::addTDCHit | ( | int | channel, |
int | hittime | ||
) |
Definition at line 16 of file HcalLaserDigi.cc.
References tdcraw_.
Referenced by qadc(), and 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 |
Definition at line 28 of file HcalLaserDigi.cc.
References tdcraw_.
Referenced by hitNS(), and tdcHits().
|
inline |
|
inline |
void HcalLaserDigi::setLaserControl | ( | int | att1, |
int | att2, | ||
int | select | ||
) |
Definition at line 37 of file HcalLaserDigi.cc.
References attenuator1_, attenuator2_, singleTopDQM_cfi::select, and selector_.
Referenced by tdcHits().
void HcalLaserDigi::setQADC | ( | const std::vector< uint16_t > & | values | ) |
Definition at line 11 of file HcalLaserDigi.cc.
References mps_fire::i, and qadcraw_.
Referenced by HcalLaserUnpacker::unpack().
|
inline |
Definition at line 13 of file HcalLaserDigi.h.
References hitChannel(), hitNS(), hitRaw(), singleTopDQM_cfi::select, setLaserControl(), and tdcraw_.
|
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().