#include <CastorCtdcPacker.h>
Static Public Member Functions | |
static void | pack (int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output) |
Static Private Member Functions | |
static int | findSamples (const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples) |
Definition at line 13 of file CastorCtdcPacker.h.
|
staticprivate |
Definition at line 30 of file CastorCtdcPacker.cc.
References edmScanValgrind::buffer, DetId::Calo, CastorCollections::castorCont, DetId::det(), hcalTTPDigis_cfi::presamples, and findQualityFiles::size.
|
static |
pack into CastorCORData
Definition at line 42 of file CastorCtdcPacker.cc.
References CastorCORData::allocate(), CastorCORData::CHANNELS_PER_SPIGOT, CastorCTDCHeader::clear(), evf::compute_crc(), constexpr, CastorCTDCHeader::copyMergerData(), CastorCTDCHeader::copySpigotData(), FEDRawData::data(), CastorCORData::getRawLength(), CastorMergerData::getRawLength(), CastorElectronicsId::htrSlot(), CastorElectronicsId::htrTopBottom(), linear(), CastorElectronicsMap::lookup(), CastorCORData::MAXIMUM_SAMPLES_PER_CHANNEL, CastorCORData::pack(), CastorCORData::packHeaderTrailer(), hcalTTPDigis_cfi::presamples, CastorElectronicsId::readoutVMECrateId(), FEDRawData::resize(), hcalTTPDigis_cfi::samples, FEDTrailer::set(), CastorCTDCHeader::setHeader(), FEDRawData::size(), and CastorCTDCHeader::SPIGOT_COUNT.
Referenced by pyrootRender.interactiveRender::draw(), and CastorDigiToRaw::produce().