#include <CastorPacker.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 CastorPacker.h.
|
staticprivate |
Definition at line 27 of file CastorPacker.cc.
References edmScanValgrind::buffer, DetId::Calo, CastorCollections::castorCont, DetId::det(), hcalTTPDigis_cfi::presamples, and findQualityFiles::size.
Referenced by pack().
|
static |
pack into HcalHTRData
Definition at line 41 of file CastorPacker.cc.
References HcalHTRData::allocate(), HcalHTRData::CHANNELS_PER_SPIGOT, HcalDCCHeader::clear(), evf::compute_crc(), constexpr, HcalDCCHeader::copySpigotData(), FEDRawData::data(), findSamples(), HcalHTRData::getRawLength(), CastorElectronicsId::htrSlot(), CastorElectronicsId::htrTopBottom(), cuy::ii, linear(), CastorElectronicsMap::lookup(), HcalHTRData::MAXIMUM_SAMPLES_PER_CHANNEL, HcalHTRData::pack(), HcalHTRData::packHeaderTrailer(), hcalTTPDigis_cfi::presamples, HcalQIESample::raw(), CastorElectronicsId::readoutVMECrateId(), FEDRawData::resize(), EgammaValidation_cff::samples, FEDTrailer::set(), HcalDCCHeader::setHeader(), and FEDRawData::size().
Referenced by CastorDigiToRaw::produce().