#include <HcalTPGCompressor.h>
Public Member Functions | |
void | compress (const IntegerCaloSamples &ics, const std::vector< bool > &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< bool > & | fineGrain, | ||
HcalTriggerPrimitiveDigi & | digi | ||
) | const |
Definition at line 7 of file HcalTPGCompressor.cc.
References coder_, CaloTPGTranscoder::hcalCompress(), i, IntegerCaloSamples::id(), IntegerCaloSamples::presamples(), HcalTriggerPrimitiveDigi::setPresamples(), HcalTriggerPrimitiveDigi::setSample(), HcalTriggerPrimitiveDigi::setSize(), and IntegerCaloSamples::size().
Referenced by HcalTriggerPrimitiveAlgo::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), and HcalTriggerPrimitiveAlgo::analyzeHFV1().
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().