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
CaloTPGTranscoder
Definition:
CaloTPGTranscoder.h:24
HcalTPGCompressor::coder_
const CaloTPGTranscoder * coder_
Definition:
HcalTPGCompressor.h:19
simplePhotonAnalyzer_cfi.sample
sample
Definition:
simplePhotonAnalyzer_cfi.py:12
HcalTriggerPrimitiveSample
Definition:
HcalTriggerPrimitiveSample.h:11
HcalTPGCompressor::compress
void compress(const IntegerCaloSamples &ics, const std::vector< int > &fineGrain, HcalTriggerPrimitiveDigi &digi) const
Definition:
HcalTPGCompressor.cc:6
IntegerCaloSamples
Definition:
IntegerCaloSamples.h:16
HcalTPGCompressor
Definition:
HcalTPGCompressor.h:12
HcalTriggerPrimitiveDigi.h
IntegerCaloSamples.h
HcalTPGCompressor::HcalTPGCompressor
HcalTPGCompressor(const CaloTPGTranscoder *coder)
Definition:
HcalTPGCompressor.cc:4
HcalTriggerPrimitiveDigi
Definition:
HcalTriggerPrimitiveDigi.h:13
Ecal07UnpackerData_cfi.ics
ics
Definition:
Ecal07UnpackerData_cfi.py:55
HcalTrigTowerDetId
Definition:
HcalTrigTowerDetId.h:14
Generated for CMSSW Reference Manual by
1.8.16