src
CalibFormats
CaloTPG
interface
HcalTPGCompressor.h
Go to the documentation of this file.
1
#ifndef CALIBFORMATS_CALOTPG_HCALTPGCOMPRESSOR_H
2
#define CALIBFORMATS_CALOTPG_HCALTPGCOMPRESSOR_H 1
3
4
#include "
CalibFormats/CaloObjects/interface/IntegerCaloSamples.h
"
5
#include "
DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h
"
6
class
CaloTPGTranscoder
;
7
12
class
HcalTPGCompressor
{
13
public
:
14
HcalTPGCompressor
(
const
CaloTPGTranscoder
* coder);
15
void
compress
(
const
IntegerCaloSamples
&
ics
,
const
std::vector<int>& fineGrain,
HcalTriggerPrimitiveDigi
& digi)
const
;
16
HcalTriggerPrimitiveSample
compress
(
const
HcalTrigTowerDetId
&
id
,
unsigned
int
sample
,
bool
fineGrain)
const
;
17
18
private
:
19
const
CaloTPGTranscoder
*
coder_
;
20
};
21
22
#endif
HcalTriggerPrimitiveDigi.h
IntegerCaloSamples
Definition:
IntegerCaloSamples.h:16
HcalTPGCompressor
Definition:
HcalTPGCompressor.h:12
ecalGpuTask_cfi.sample
sample
Definition:
ecalGpuTask_cfi.py:48
HcalTPGCompressor::compress
void compress(const IntegerCaloSamples &ics, const std::vector< int > &fineGrain, HcalTriggerPrimitiveDigi &digi) const
Definition:
HcalTPGCompressor.cc:6
HcalTPGCompressor::HcalTPGCompressor
HcalTPGCompressor(const CaloTPGTranscoder *coder)
Definition:
HcalTPGCompressor.cc:4
IntegerCaloSamples.h
HcalTriggerPrimitiveSample
Definition:
HcalTriggerPrimitiveSample.h:11
HcalTriggerPrimitiveDigi
Definition:
HcalTriggerPrimitiveDigi.h:13
CaloTPGTranscoder
Definition:
CaloTPGTranscoder.h:24
HcalTrigTowerDetId
Definition:
HcalTrigTowerDetId.h:14
HcalTPGCompressor::coder_
const CaloTPGTranscoder * coder_
Definition:
HcalTPGCompressor.h:19
Ecal07UnpackerData_cfi.ics
ics
Definition:
Ecal07UnpackerData_cfi.py:55
Generated for CMSSW Reference Manual by
1.8.14