#include <HcalTPGCompressor.h>
Public Member Functions | |
void | compress (const IntegerCaloSamples &ics, const std::vector< int > &fineGrain, HcalTriggerPrimitiveDigi &digi) const |
HcalTriggerPrimitiveSample | compress (const HcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const |
HcalTPGCompressor (const CaloTPGTranscoder *coder) | |
Private Attributes | |
const CaloTPGTranscoder * | coder_ |
Definition at line 12 of file HcalTPGCompressor.h.
HcalTPGCompressor::HcalTPGCompressor | ( | const CaloTPGTranscoder * | coder | ) |
Definition at line 4 of file HcalTPGCompressor.cc.
void HcalTPGCompressor::compress | ( | const IntegerCaloSamples & | ics, |
const std::vector< int > & | fineGrain, | ||
HcalTriggerPrimitiveDigi & | digi | ||
) | const |
Definition at line 6 of file HcalTPGCompressor.cc.
References coder_, CaloTPGTranscoder::hcalCompress(), mps_fire::i, IntegerCaloSamples::id(), IntegerCaloSamples::presamples(), HcalTriggerPrimitiveDigi::setPresamples(), HcalTriggerPrimitiveDigi::setSample(), HcalTriggerPrimitiveDigi::setSize(), and IntegerCaloSamples::size().
Referenced by HcalTriggerPrimitiveAlgo::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), HcalTriggerPrimitiveAlgo::analyzeHF2016(), HcalTriggerPrimitiveAlgo::analyzeHFQIE10(), and HcalTriggerPrimitiveAlgo::analyzeQIE11().
HcalTriggerPrimitiveSample HcalTPGCompressor::compress | ( | const HcalTrigTowerDetId & | id, |
unsigned int | sample, | ||
bool | fineGrain | ||
) | const |
Definition at line 15 of file HcalTPGCompressor.cc.
References coder_, and CaloTPGTranscoder::hcalCompress().
|
private |
Definition at line 19 of file HcalTPGCompressor.h.
Referenced by compress().