#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 7 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::analyze2017(), HcalTriggerPrimitiveAlgo::analyzeHF(), HcalTriggerPrimitiveAlgo::analyzeHF2016(), and HcalTriggerPrimitiveAlgo::analyzeHF2017().
HcalTriggerPrimitiveSample HcalTPGCompressor::compress | ( | const HcalTrigTowerDetId & | id, |
unsigned int | sample, | ||
bool | fineGrain | ||
) | const |
Definition at line 14 of file HcalTPGCompressor.cc.
References coder_, and CaloTPGTranscoder::hcalCompress().
|
private |
Definition at line 18 of file HcalTPGCompressor.h.
Referenced by compress().