Main Page
Namespaces
Classes
Package Documentation
SimCalorimetry
HcalZeroSuppressionProducers
src
HcalZSAlgoEnergy.h
Go to the documentation of this file.
1
#ifndef SIMCALORIMETRY_HCALZEROSUPPRESSIONALGOS_HCALZSALGOENERGY_H
2
#define SIMCALORIMETRY_HCALZEROSUPPRESSIONALGOS_HCALZSALGOENERGY_H 1
3
4
#include "
HcalZeroSuppressionAlgo.h
"
5
#include "
CalibFormats/HcalObjects/interface/HcalDbService.h
"
6
16
class
HcalZSAlgoEnergy
:
public
HcalZeroSuppressionAlgo
{
17
public
:
18
HcalZSAlgoEnergy
(
bool
markAndPass
,
int
level
,
int
start
,
int
samples
,
bool
twosided);
19
~HcalZSAlgoEnergy
()
override
=
default
;
20
void
prepare
(
const
HcalDbService
* db);
21
void
done
();
22
protected
:
23
bool
shouldKeep
(
const
HBHEDataFrame
& digi)
const override
;
24
bool
shouldKeep
(
const
HODataFrame
& digi)
const override
;
25
bool
shouldKeep
(
const
HFDataFrame
& digi)
const override
;
26
bool
shouldKeep
(
const
QIE10DataFrame
& digi)
const override
;
27
bool
shouldKeep
(
const
QIE11DataFrame
& digi)
const override
;
28
private
:
29
int
threshold_
,
firstsample_
,
samplecount_
;
30
bool
twosided_
;
31
const
HcalDbService
*
db_
;
32
};
33
34
#endif
HcalZeroSuppressionAlgo
Definition:
HcalZeroSuppressionAlgo.h:15
start
Definition:
start.py:1
HcalZSAlgoEnergy::twosided_
bool twosided_
Definition:
HcalZSAlgoEnergy.h:30
HODataFrame
Definition:
HODataFrame.h:15
HcalZSAlgoEnergy::firstsample_
int firstsample_
Definition:
HcalZSAlgoEnergy.h:29
hcalDigis_cfi.level
level
Definition:
hcalDigis_cfi.py:18
QIE10DataFrame
Definition:
QIE10DataFrame.h:11
HcalDbService
Definition:
HcalDbService.h:27
QIE11DataFrame
Definition:
QIE11DataFrame.h:11
HcalZeroSuppressionAlgo.h
HcalZSAlgoEnergy::threshold_
int threshold_
Definition:
HcalZSAlgoEnergy.h:29
hcalTTPDigis_cfi.samples
samples
Definition:
hcalTTPDigis_cfi.py:8
HcalZSAlgoEnergy::HcalZSAlgoEnergy
HcalZSAlgoEnergy(bool markAndPass, int level, int start, int samples, bool twosided)
Definition:
HcalZSAlgoEnergy.cc:7
HcalZSAlgoEnergy::prepare
void prepare(const HcalDbService *db)
Definition:
HcalZSAlgoEnergy.cc:74
HcalZSAlgoEnergy::done
void done()
Definition:
HcalZSAlgoEnergy.cc:75
HFDataFrame
Definition:
HFDataFrame.h:14
HcalZSAlgoEnergy
Definition:
HcalZSAlgoEnergy.h:16
HcalZSAlgoEnergy::samplecount_
int samplecount_
Definition:
HcalZSAlgoEnergy.h:29
HcalZSAlgoEnergy::db_
const HcalDbService * db_
Definition:
HcalZSAlgoEnergy.h:31
HBHEDataFrame
Definition:
HBHEDataFrame.h:14
hcalDigis_cfi.markAndPass
markAndPass
Definition:
hcalDigis_cfi.py:15
HcalZSAlgoEnergy::shouldKeep
bool shouldKeep(const HBHEDataFrame &digi) const override
Definition:
HcalZSAlgoEnergy.cc:58
HcalZSAlgoEnergy::~HcalZSAlgoEnergy
~HcalZSAlgoEnergy() override=default
HcalDbService.h
Generated for CMSSW Reference Manual by
1.8.11