#include <EcalTPGCompressor.h>
Public Member Functions | |
EcalTriggerPrimitiveSample | compress (const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const |
void | compress (const IntegerCaloSamples &ics, const std::vector< bool > &fineGrain, EcalTriggerPrimitiveDigi &digi) 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.
EcalTriggerPrimitiveSample EcalTPGCompressor::compress | ( | const EcalTrigTowerDetId & | id, |
unsigned int | sample, | ||
bool | fineGrain | ||
) | const |
Definition at line 14 of file EcalTPGCompressor.cc.
References coder_, CaloTPGTranscoder::ecalCompress(), and simplePhotonAnalyzer_cfi::sample.
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, Ecal07UnpackerData_cfi::ics, EcalTriggerPrimitiveDigi::setSample(), and EcalTriggerPrimitiveDigi::setSize().
|
private |
Definition at line 21 of file EcalTPGCompressor.h.
Referenced by compress().