Main Page
Namespaces
Classes
Package Documentation
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,
const
std::vector<bool>& fineGrain,
EcalTriggerPrimitiveDigi
& digi)
const
;
16
EcalTriggerPrimitiveSample
compress
(
const
EcalTrigTowerDetId
&
id
,
unsigned
int
sample
,
bool
fineGrain)
const
;
17
private
:
18
const
CaloTPGTranscoder
*
coder_
;
19
};
20
21
#endif
EcalTriggerPrimitiveDigi.h
EcalTriggerPrimitiveDigi
Definition:
EcalTriggerPrimitiveDigi.h:18
EcalTPGCompressor::EcalTPGCompressor
EcalTPGCompressor(const CaloTPGTranscoder *coder)
Definition:
EcalTPGCompressor.cc:4
IntegerCaloSamples
Definition:
IntegerCaloSamples.h:16
simplePhotonAnalyzer_cfi.sample
sample
Definition:
simplePhotonAnalyzer_cfi.py:12
EcalTPGCompressor
Definition:
EcalTPGCompressor.h:12
EcalTrigTowerDetId
Definition:
EcalTrigTowerDetId.h:16
EcalTriggerPrimitiveSample
Definition:
EcalTriggerPrimitiveSample.h:14
EcalTPGCompressor::compress
void compress(const IntegerCaloSamples &ics, const std::vector< bool > &fineGrain, EcalTriggerPrimitiveDigi &digi) const
Definition:
EcalTPGCompressor.cc:7
IntegerCaloSamples.h
EcalTPGCompressor::coder_
const CaloTPGTranscoder * coder_
Definition:
EcalTPGCompressor.h:18
CaloTPGTranscoder
Definition:
CaloTPGTranscoder.h:24
Generated for CMSSW Reference Manual by
1.8.11