#include <HcalTBTDCUnpacker.h>
Classes | |
struct | Hit |
struct | WireChamberRecoData |
Public Member Functions | |
HcalTBTDCUnpacker (bool) | |
void | setCalib (const std::vector< std::vector< std::string > > &calibLines_) |
void | unpack (const FEDRawData &raw, HcalTBEventPosition &pos, HcalTBTiming &timing) const |
Private Member Functions | |
void | reconstructTiming (const std::vector< Hit > &hits, HcalTBTiming &timing) const |
void | reconstructWC (const std::vector< Hit > &hits, HcalTBEventPosition &pos) const |
void | unpackHits (const FEDRawData &raw, std::vector< Hit > &hits, HcalTBTiming &timing) const |
Private Attributes | |
FILE * | dumpObs_ |
bool | includeUnmatchedHits_ |
double | tdc_convers [161] |
double | tdc_ped [161] |
struct hcaltb::HcalTBTDCUnpacker::WireChamberRecoData | wc_ [PLANECOUNT] |
Static Private Attributes | |
static const int | PLANECOUNT = 16 |
static const int | WC_CHANNELIDS [PLANECOUNT *3] |
Definition at line 12 of file HcalTBTDCUnpacker.h.
hcaltb::HcalTBTDCUnpacker::HcalTBTDCUnpacker | ( | bool | include_unmatched_hits | ) |
Definition at line 30 of file HcalTBTDCUnpacker.cc.
|
private |
Definition at line 157 of file HcalTBTDCUnpacker.cc.
References hfClusterShapes_cfi::hits, dqmiolumiharvest::j, lcBeamCoincidence, lcBeamHalo1, lcBeamHalo2, lcBeamHalo3, lcBeamHalo4, lcLaserFlash, lcMuon1, lcMuon2, lcMuon3, lcQIEPhase, lcScint1, lcScint2, lcScint3, lcScint4, lcTOF1J, lcTOF1S, lcTOF2J, lcTOF2S, lcTriggerTime, lcTTCL1ATime, tdc_ped, and ecalMatacq_cfi::timing.
Referenced by unpack().
|
private |
Definition at line 297 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b0, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b1, relativeConstraints::chamber, dumpObs_, SiStripBadComponentsDQMServiceTemplate_cfg::ep, hfClusterShapes_cfi::hits, cuy::ii, includeUnmatchedHits_, dqmiolumiharvest::j, findQualityFiles::jj, SiStripPI::mean, hcaltb::N_SIGMA, PLANECOUNT, hcaltb::TDC_OFFSET_CONSTANT, wc_, WC_CHANNELIDS, and x.
Referenced by unpack().
void hcaltb::HcalTBTDCUnpacker::setCalib | ( | const std::vector< std::vector< std::string > > & | calibLines_ | ) |
Definition at line 35 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b0, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b1, Exception, mps_fire::i, cuy::ii, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::mean, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::sigma, tdc_convers, tdc_ped, and wc_.
Referenced by HcalTBObjectUnpacker::HcalTBObjectUnpacker().
void hcaltb::HcalTBTDCUnpacker::unpack | ( | const FEDRawData & | raw, |
HcalTBEventPosition & | pos, | ||
HcalTBTiming & | timing | ||
) | const |
Definition at line 73 of file HcalTBTDCUnpacker.cc.
References hfClusterShapes_cfi::hits, reconstructTiming(), reconstructWC(), ecalMatacq_cfi::timing, and unpackHits().
Referenced by HcalTBObjectUnpacker::produce().
|
private |
Definition at line 98 of file HcalTBTDCUnpacker.cc.
References FEDRawData::data(), Exception, h, hfClusterShapes_cfi::hits, hcaltb::ClassicTDCDataFormat::hits, mps_fire::i, hcaltb::ClassicTDCDataFormat::n_hits, hcaltb::ClassicTDCDataFormat::n_max_hits, hcaltb::CombinedTDCQDCDataFormat::n_qdc_hits, hcaltb::CombinedTDCQDCDataFormat::n_tdc_hits, FEDRawData::size(), tdc_convers, and ecalMatacq_cfi::timing.
Referenced by unpack().
|
private |
Definition at line 38 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
private |
Definition at line 35 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
staticprivate |
Definition at line 29 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
private |
Definition at line 37 of file HcalTBTDCUnpacker.h.
Referenced by setCalib(), and unpackHits().
|
private |
Definition at line 36 of file HcalTBTDCUnpacker.h.
Referenced by reconstructTiming(), and setCalib().
|
private |
Referenced by reconstructWC(), and setCalib().
|
staticprivate |
Definition at line 30 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().