#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 | |
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] |
hcaltb::HcalTBTDCUnpacker::HcalTBTDCUnpacker | ( | bool | include_unmatched_hits | ) |
Definition at line 30 of file HcalTBTDCUnpacker.cc.
|
private |
Definition at line 168 of file HcalTBTDCUnpacker.cc.
References j, lcBeamCoincidence, lcBeamHalo1, lcBeamHalo2, lcBeamHalo3, lcBeamHalo4, lcLaserFlash, lcMuon1, lcMuon2, lcMuon3, lcQIEPhase, lcScint1, lcScint2, lcScint3, lcScint4, lcTOF1J, lcTOF1S, lcTOF2J, lcTOF2S, lcTriggerTime, lcTTCL1ATime, HcalTBTiming::setHits(), HcalTBTiming::setTimes(), and tdc_ped.
Referenced by unpack().
|
private |
Definition at line 268 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b0, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b1, includeUnmatchedHits_, j, plotscripts::mean(), hcaltb::N_SIGMA, PLANECOUNT, HcalTBEventPosition::setChamberHits(), ExpressReco_HICollisions_FallBack::sigma, hcaltb::TDC_OFFSET_CONSTANT, wc_, WC_CHANNELIDS, and ExpressReco_HICollisions_FallBack::x.
Referenced by unpack().
void hcaltb::HcalTBTDCUnpacker::setCalib | ( | const std::vector< std::vector< std::string > > & | calibLines_ | ) |
Definition at line 34 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b0, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b1, edm::hlt::Exception, i, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::mean, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::sigma, findQualityFiles::size, 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 81 of file HcalTBTDCUnpacker.cc.
References reconstructTiming(), reconstructWC(), and unpackHits().
Referenced by HcalTBObjectUnpacker::produce().
|
private |
Definition at line 109 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::Hit::channel, FEDRawData::data(), edm::hlt::Exception, h, hcaltb::ClassicTDCDataFormat::hits, i, hcaltb::ClassicTDCDataFormat::n_hits, hcaltb::ClassicTDCDataFormat::n_max_hits, hcaltb::CombinedTDCQDCDataFormat::n_qdc_hits, hcaltb::CombinedTDCQDCDataFormat::n_tdc_hits, HcalTBTiming::setV775(), FEDRawData::size(), tdc_convers, and hcaltb::HcalTBTDCUnpacker::Hit::time.
Referenced by unpack().
|
private |
Definition at line 40 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
staticprivate |
Definition at line 34 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
private |
Definition at line 42 of file HcalTBTDCUnpacker.h.
Referenced by setCalib(), and unpackHits().
|
private |
Definition at line 41 of file HcalTBTDCUnpacker.h.
Referenced by reconstructTiming(), and setCalib().
|
private |
Referenced by reconstructWC(), and setCalib().
|
staticprivate |
Definition at line 35 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().