#include <HcalTPGCompressor.h>
Public Member Functions | |
HcalTriggerPrimitiveSample | compress (const HcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const |
void | compress (const IntegerCaloSamples &ics, const std::vector< int > &fineGrain, HcalTriggerPrimitiveDigi &digi) 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.
HcalTriggerPrimitiveSample HcalTPGCompressor::compress | ( | const HcalTrigTowerDetId & | id, |
unsigned int | sample, | ||
bool | fineGrain | ||
) | const |
Definition at line 15 of file HcalTPGCompressor.cc.
References coder_, CaloTPGTranscoder::hcalCompress(), and simplePhotonAnalyzer_cfi::sample.
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, Ecal07UnpackerData_cfi::ics, HcalTriggerPrimitiveDigi::setPresamples(), HcalTriggerPrimitiveDigi::setSample(), and HcalTriggerPrimitiveDigi::setSize().
Referenced by HcalTriggerPrimitiveAlgo::analyze(), HcalTriggerPrimitiveAlgo::analyzeHF(), HcalTriggerPrimitiveAlgo::analyzeHF2016(), HcalTriggerPrimitiveAlgo::analyzeHFQIE10(), and HcalTriggerPrimitiveAlgo::analyzeQIE11().
|
private |
Definition at line 19 of file HcalTPGCompressor.h.
Referenced by compress().