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