#include <CastorPacker.h>
Public Member Functions | |
void | pack (int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output) |
Private Member Functions | |
int | findSamples (const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples) |
Definition at line 13 of file CastorPacker.h.
|
private |
Definition at line 24 of file CastorPacker.cc.
References DetId::Calo, CastorCollections::castorCont, DetId::det(), hcalTTPDigis_cfi::presamples, and findQualityFiles::size.
Referenced by pack().
void CastorPacker::pack | ( | int | fedid, |
int | dccnumber, | ||
int | nl1a, | ||
int | orbitn, | ||
int | bcn, | ||
const CastorCollections & | inputs, | ||
const CastorElectronicsMap & | emap, | ||
FEDRawData & | output | ||
) |
pack into HcalHTRData
Definition at line 36 of file CastorPacker.cc.
References HcalHTRData::allocate(), HcalHTRData::CHANNELS_PER_SPIGOT, HcalDCCHeader::clear(), evf::compute_crc(), 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(), hcalTTPDigis_cfi::samples, FEDTrailer::set(), HcalDCCHeader::setHeader(), and FEDRawData::size().
Referenced by pyrootRender.interactiveRender::draw(), and CastorDigiToRaw::produce().