#include <HcalTBQADCUnpacker.h>
Public Member Functions | |
HcalTBQADCUnpacker () | |
void | setCalib (const std::vector< std::vector< std::string > > &calibLines_) |
void | unpack (const FEDRawData &raw, HcalTBBeamCounters &beamadc, bool is04_=true) const |
Private Attributes | |
bool | isTB04_ |
double | qdc_gain [192] |
double | qdc_ped [192] |
Definition at line 7 of file HcalTBQADCUnpacker.h.
hcaltb::HcalTBQADCUnpacker::HcalTBQADCUnpacker | ( | ) |
Definition at line 56 of file HcalTBQADCUnpacker.cc.
void hcaltb::HcalTBQADCUnpacker::setCalib | ( | const std::vector< std::vector< std::string > > & | calibLines_ | ) |
Definition at line 72 of file HcalTBQADCUnpacker.cc.
References Exception, mps_fire::i, cuy::ii, N_QADCS_ALLOWED, qdc_gain, qdc_ped, and findQualityFiles::size.
Referenced by HcalTBObjectUnpacker::HcalTBObjectUnpacker().
void hcaltb::HcalTBQADCUnpacker::unpack | ( | const FEDRawData & | raw, |
HcalTBBeamCounters & | beamadc, | ||
bool | is04_ = true |
||
) | const |
this is TB04
this is TB06
Definition at line 99 of file HcalTBQADCUnpacker.cc.
References aCerenkov2, aCerenkov3, aMuonV, aMuonV3, aMuonV6, aMuonVH1, aMuonVH2, aMuonVH3, aMuonVH4, aSCI_521, aSCI_528, aSCI_VLE, aScint1, aScint2, aScint3, aScint4, bCerenkov1, bCerenkov2, bCerenkov3, bMuonV1, bMuonV2, bMuonV3, bMuonV4, bMuonV5, bMuonV6, bMuonV7, bMuonV8, bMuonVB, bMuonVF, bSCI_521, bSCI_528, bScint1, bScint2, bScint3, bScint4, bTOF1J, bTOF1S, bTOF2J, bTOF2S, bVH1, bVH2, bVH3, bVH4, FEDRawData::data(), hcaltb::ClassicQADCDataFormat::data, Exception, mps_fire::i, N_QADCS_ALLOWED, hcaltb::CombinedTDCQDCDataFormat::n_qdc_hits, qdc_gain, qdc_ped, hcaltb::CombinedTDCQDCDataFormat::qdc_values, HcalTBBeamCounters::setADCs04(), HcalTBBeamCounters::setADCs06(), and FEDRawData::size().
Referenced by HcalTBObjectUnpacker::produce().
|
private |
Definition at line 14 of file HcalTBQADCUnpacker.h.
|
private |
Definition at line 16 of file HcalTBQADCUnpacker.h.
Referenced by setCalib(), and unpack().
|
private |
Definition at line 15 of file HcalTBQADCUnpacker.h.
Referenced by setCalib(), and unpack().