#include <EcalTPGCompressor.h>
Public Member Functions | |
void | compress (const IntegerCaloSamples &ics, const std::vector< bool > &fineGrain, EcalTriggerPrimitiveDigi &digi) const |
EcalTriggerPrimitiveSample | compress (const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const |
EcalTPGCompressor (const CaloTPGTranscoder *coder) | |
Private Attributes | |
const CaloTPGTranscoder * | coder_ |
Definition at line 12 of file EcalTPGCompressor.h.
EcalTPGCompressor::EcalTPGCompressor | ( | const CaloTPGTranscoder * | coder | ) |
Definition at line 4 of file EcalTPGCompressor.cc.
void EcalTPGCompressor::compress | ( | const IntegerCaloSamples & | ics, |
const std::vector< bool > & | fineGrain, | ||
EcalTriggerPrimitiveDigi & | digi | ||
) | const |
Definition at line 6 of file EcalTPGCompressor.cc.
References coder_, CaloTPGTranscoder::ecalCompress(), mps_fire::i, IntegerCaloSamples::id(), EcalTriggerPrimitiveDigi::setSample(), EcalTriggerPrimitiveDigi::setSize(), and IntegerCaloSamples::size().
EcalTriggerPrimitiveSample EcalTPGCompressor::compress | ( | const EcalTrigTowerDetId & | id, |
unsigned int | sample, | ||
bool | fineGrain | ||
) | const |
Definition at line 14 of file EcalTPGCompressor.cc.
References coder_, and CaloTPGTranscoder::ecalCompress().
|
private |
Definition at line 21 of file EcalTPGCompressor.h.
Referenced by compress().