#include <MatacqDataFormatter.h>
Public Member Functions | |
void | interpretRawData (const FEDRawData &data, EcalMatacqDigiCollection &matacqDigiCollection) |
void | interpretRawData (const MatacqRawEvent &data, EcalMatacqDigiCollection &matacqDigiCollection) |
MatacqDataFormatter () | |
Private Member Functions | |
void | printData (std::ostream &out, const MatacqRawEvent &event) const |
Class to interpret ECAL MATACQ raw data and produce the MATACQ digis. This class is used by the MatacqProducer module.
Definition at line 16 of file MatacqDataFormatter.h.
|
inline |
Definition at line 18 of file MatacqDataFormatter.h.
References data, interpretRawData(), MillePedeFileConverter_cfg::out, and printData().
void MatacqDataFormatter::interpretRawData | ( | const FEDRawData & | data, |
EcalMatacqDigiCollection & | matacqDigiCollection | ||
) |
Callback method for decoding raw data
data | raw data |
matacqDigiCollection | [out] digi collection object to fill with the decoded data |
Definition at line 20 of file MatacqDataFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), mps_fire::i, createfilelist::int, hpstanc_transforms::max, and FEDRawData::size().
Referenced by MatacqProducer::addMatacqData(), and MatacqDataFormatter().
void MatacqDataFormatter::interpretRawData | ( | const MatacqRawEvent & | data, |
EcalMatacqDigiCollection & | matacqDigiCollection | ||
) |
Callback method for decoding raw data
data | raw data |
matacqDigiCollection | [out] digi collection object to fill with the decoded data |
Definition at line 39 of file MatacqDataFormatter.cc.
References EcalMatacqDigi::attenuation_dB(), edm::SortedCollection< T, SORT >::back(), EcalMatacqDigi::bxId(), popcon2dropbox::copy(), gather_cfg::cout, EcalMatacqDigi::delayA(), relativeConstraints::empty, EcalMatacqDigi::emtcDelay(), EcalMatacqDigi::emtcPhase(), MatacqRawEvent::getAttenuation_dB(), MatacqRawEvent::getBxId(), MatacqRawEvent::getChannelData(), MatacqRawEvent::getDelayA(), MatacqRawEvent::getEmtcDelay(), MatacqRawEvent::getEmtcPhase(), MatacqRawEvent::getEventId(), MatacqRawEvent::getFreqGHz(), MatacqRawEvent::getLaserPower(), MatacqRawEvent::getMatacqDataFormatVersion(), MatacqRawEvent::getOrbitId(), MatacqRawEvent::getPostTrig(), MatacqRawEvent::getTimeStamp(), MatacqRawEvent::getTriggerType(), MatacqRawEvent::getTrigRec(), MatacqRawEvent::getTTrigPs(), MatacqRawEvent::getVernier(), EcalMatacqDigi::l1a(), EcalMatacqDigi::laserPower(), hpstanc_transforms::max, hgc_digi::nSamples, EcalMatacqDigi::orbitId(), EcalMatacqDigi::postTrig(), edm::SortedCollection< T, SORT >::push_back(), hcalTTPDigis_cfi::samples, lumiQTWidget::t, EcalMatacqDigi::timeStamp(), EcalMatacqDigi::triggerType(), EcalMatacqDigi::trigRec(), EcalMatacqDigi::vernier(), and jetIDSelector_cfi::version.
|
private |
Definition at line 86 of file MatacqDataFormatter.cc.
References ecalMGPA::adc(), gather_cfg::cout, TauDecayModes::dec, MatacqRawEvent::getBxId(), MatacqRawEvent::getChannelCount(), MatacqRawEvent::getChannelData(), MatacqRawEvent::getDccErrors(), MatacqRawEvent::getDccLen(), MatacqRawEvent::getEventId(), MatacqRawEvent::getFedId(), MatacqRawEvent::getFov(), MatacqRawEvent::getFreqGHz(), MatacqRawEvent::getMatacqDataFormatVersion(), MatacqRawEvent::getRunNum(), MatacqRawEvent::getStatus(), MatacqRawEvent::getTimeStamp(), MatacqRawEvent::getTriggerType(), and mps_fire::i.
Referenced by MatacqDataFormatter().