CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HcalTPGCompressor Class Reference

#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 CaloTPGTranscodercoder_
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 12 of file HcalTPGCompressor.h.

Constructor & Destructor Documentation

◆ HcalTPGCompressor()

HcalTPGCompressor::HcalTPGCompressor ( const CaloTPGTranscoder coder)

Definition at line 4 of file HcalTPGCompressor.cc.

4 : coder_(coder) {}

Member Function Documentation

◆ compress() [1/2]

HcalTriggerPrimitiveSample HcalTPGCompressor::compress ( const HcalTrigTowerDetId id,
unsigned int  sample,
bool  fineGrain 
) const

Definition at line 15 of file HcalTPGCompressor.cc.

17  {
18  return coder_->hcalCompress(id, sample, fineGrain);
19 }

References coder_, CaloTPGTranscoder::hcalCompress(), and simplePhotonAnalyzer_cfi::sample.

◆ compress() [2/2]

void HcalTPGCompressor::compress ( const IntegerCaloSamples ics,
const std::vector< int > &  fineGrain,
HcalTriggerPrimitiveDigi digi 
) const

Member Data Documentation

◆ coder_

const CaloTPGTranscoder* HcalTPGCompressor::coder_
private

Definition at line 19 of file HcalTPGCompressor.h.

Referenced by compress().

mps_fire.i
i
Definition: mps_fire.py:428
HcalTPGCompressor::coder_
const CaloTPGTranscoder * coder_
Definition: HcalTPGCompressor.h:19
simplePhotonAnalyzer_cfi.sample
sample
Definition: simplePhotonAnalyzer_cfi.py:12
HcalTriggerPrimitiveDigi::setSample
void setSample(int i, const HcalTriggerPrimitiveSample &sam)
Definition: HcalTriggerPrimitiveDigi.h:43
HcalTriggerPrimitiveDigi::setPresamples
void setPresamples(int ps)
Definition: HcalTriggerPrimitiveDigi.cc:15
Ecal07UnpackerData_cfi.ics
ics
Definition: Ecal07UnpackerData_cfi.py:55
CaloTPGTranscoder::hcalCompress
virtual HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, int fineGrain) const =0
Compression from linear samples+fine grain in the HTR.
HcalTriggerPrimitiveDigi::setSize
void setSize(int size)
Definition: HcalTriggerPrimitiveDigi.cc:7