#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 170 of file HcalTBTDCUnpacker.cc.
References lcBeamCoincidence, lcBeamHalo1, lcBeamHalo2, lcBeamHalo3, lcBeamHalo4, lcLaserFlash, lcMuon1, lcMuon2, lcMuon3, lcQIEPhase, lcScint1, lcScint2, lcScint3, lcScint4, lcTOF1J, lcTOF1S, lcTOF2J, lcTOF2S, lcTriggerTime, lcTTCL1ATime, PLANECOUNT, HcalTBTiming::setHits(), HcalTBTiming::setTimes(), tdc_ped, and WC_CHANNELIDS.
Referenced by unpack().
|
private |
Definition at line 270 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b0, hcaltb::HcalTBTDCUnpacker::WireChamberRecoData::b1, relativeConstraints::chamber, dumpObs_, cuy::ii, includeUnmatchedHits_, findQualityFiles::jj, RecoTauDiscriminantConfiguration::mean, PLANECOUNT, HcalTBEventPosition::setChamberHits(), ctppsDiamondLocalTracks_cfi::sigma, 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 36 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, 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 83 of file HcalTBTDCUnpacker.cc.
References hfClusterShapes_cfi::hits, reconstructTiming(), reconstructWC(), and unpackHits().
Referenced by HcalTBObjectUnpacker::produce().
|
private |
Definition at line 111 of file HcalTBTDCUnpacker.cc.
References hcaltb::HcalTBTDCUnpacker::Hit::channel, FEDRawData::data(), Exception, h, 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, HcalTBTiming::setV775(), FEDRawData::size(), tdc_convers, and hcaltb::HcalTBTDCUnpacker::Hit::time.
Referenced by unpack().
|
private |
Definition at line 41 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
private |
Definition at line 38 of file HcalTBTDCUnpacker.h.
Referenced by reconstructWC().
|
staticprivate |
Definition at line 32 of file HcalTBTDCUnpacker.h.
Referenced by reconstructTiming(), and reconstructWC().
|
private |
Definition at line 40 of file HcalTBTDCUnpacker.h.
Referenced by setCalib(), and unpackHits().
|
private |
Definition at line 39 of file HcalTBTDCUnpacker.h.
Referenced by reconstructTiming(), and setCalib().
|
private |
Referenced by reconstructWC(), and setCalib().
|
staticprivate |
Definition at line 33 of file HcalTBTDCUnpacker.h.
Referenced by reconstructTiming(), and reconstructWC().