#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.
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(), i, bookConverter::max, and FEDRawData::size().
Referenced by MatacqProducer::addMatacqData().
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(), filterCSVwithJSON::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(), bookConverter::max, EcalMatacqDigi::orbitId(), EcalMatacqDigi::postTrig(), edm::SortedCollection< T, SORT >::push_back(), edmStreamStallGrapher::t, EcalMatacqDigi::timeStamp(), EcalMatacqDigi::triggerType(), EcalMatacqDigi::trigRec(), EcalMatacqDigi::vernier(), and relval_steps::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 i.