#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 19 of file MatacqDataFormatter.cc.
References gather_cfg::cout, std::data(), mps_fire::i, createfilelist::int, and SiStripPI::max.
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 35 of file MatacqDataFormatter.cc.
References EcalMatacqDigi::attenuation_dB(), edm::SortedCollection< T, SORT >::back(), EcalMatacqDigi::bxId(), filterCSVwithJSON::copy, gather_cfg::cout, EcalMatacqDigi::delayA(), std::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(), SiStripPI::max, PresampleTask_cfi::nSamples, EcalMatacqDigi::orbitId(), EcalMatacqDigi::postTrig(), edm::SortedCollection< T, SORT >::push_back(), EgammaValidation_cff::samples, OrderedSet::t, EcalMatacqDigi::timeStamp(), EcalMatacqDigi::triggerType(), EcalMatacqDigi::trigRec(), dttriganalyzer_cfi::tTrig, EcalMatacqDigi::vernier(), and BeamSplash_cfg::version.
|
private |
Definition at line 81 of file MatacqDataFormatter.cc.
References ecalMGPA::adc(), ewkTauDQM_cfi::channels, 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.