#include <HcalPacker.h>
Classes | |
struct | Collections |
Public Member Functions | |
void | pack (int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const Collections &inputs, const HcalElectronicsMap &emap, FEDRawData &output) const |
Private Member Functions | |
int | findSamples (const DetId &did, const Collections &inputs, unsigned short *buffer, int &presamples, bool &zsUS, bool &zsMP) const |
Definition at line 12 of file HcalPacker.h.
|
private |
Definition at line 64 of file HcalPacker.cc.
References edmScanValgrind::buffer, DetId::Calo, DetId::det(), HcalGenericDetId::genericSubdet(), DetId::Hcal, HcalGenericDetId::HcalGenBarrel, HcalGenericDetId::HcalGenCalibration, HcalGenericDetId::HcalGenEndcap, HcalGenericDetId::HcalGenForward, HcalGenericDetId::HcalGenOuter, HcalGenericDetId::HcalGenZDC, PixelMapPlotter::inputs, hcalTTPDigis_cfi::presamples, findQualityFiles::size, HcalZDCDetId::SubdetectorId, and DetId::subdetId().
Referenced by pack().
void HcalPacker::pack | ( | int | fedid, |
int | dccnumber, | ||
int | nl1a, | ||
int | orbitn, | ||
int | bcn, | ||
const Collections & | inputs, | ||
const HcalElectronicsMap & | emap, | ||
FEDRawData & | output | ||
) | const |
pack into HcalHTRData
Definition at line 99 of file HcalPacker.cc.
References HcalHTRData::allocate(), HcalHTRData::CHANNELS_PER_SPIGOT, evf::compute_crc(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), PixelSLinkDataInputSource_cfi::fedid, findSamples(), HcalHTRData::getRawLength(), HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), cuy::ii, PixelMapPlotter::inputs, linear(), HcalElectronicsMap::lookup(), HcalHTRData::MAXIMUM_SAMPLES_PER_CHANNEL, DetId::null(), HcalHTRData::pack(), HcalHTRData::packHeaderTrailer(), HcalHTRData::packUnsuppressed(), hcalTTPDigis_cfi::presamples, processTrig(), submitPVResolutionJobs::q, HcalTriggerPrimitiveSample::raw(), HcalQIESample::raw(), HcalElectronicsId::readoutVMECrateId(), EgammaValidation_cff::samples, FEDTrailer::set(), and slb().
Referenced by HcalDigiToRaw::produce().