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 "
CalibFormats/HcalObjects/interface/HcalDbService.h
"
5
#include "
HcalZeroSuppressionAlgo.h
"
6
17
class
HcalZSAlgoEnergy
:
public
HcalZeroSuppressionAlgo
{
18
public
:
19
HcalZSAlgoEnergy
(
bool
markAndPass
,
int
level
,
int
start
,
int
samples
,
bool
twosided);
20
~HcalZSAlgoEnergy
()
override
=
default
;
21
void
prepare
(
const
HcalDbService
*
db
);
22
void
done
();
23
24
protected
:
25
bool
shouldKeep
(
const
HBHEDataFrame
&digi)
const override
;
26
bool
shouldKeep
(
const
HODataFrame
&digi)
const override
;
27
bool
shouldKeep
(
const
HFDataFrame
&digi)
const override
;
28
bool
shouldKeep
(
const
QIE10DataFrame
&digi)
const override
;
29
bool
shouldKeep
(
const
QIE11DataFrame
&digi)
const override
;
30
31
private
:
32
int
threshold_
,
firstsample_
,
samplecount_
;
33
bool
twosided_
;
34
const
HcalDbService
*
db_
;
35
};
36
37
#endif
HcalZeroSuppressionAlgo
Definition:
HcalZeroSuppressionAlgo.h:15
start
Definition:
start.py:1
HcalZSAlgoEnergy::twosided_
bool twosided_
Definition:
HcalZSAlgoEnergy.h:33
HODataFrame
Definition:
HODataFrame.h:14
HcalZSAlgoEnergy::firstsample_
int firstsample_
Definition:
HcalZSAlgoEnergy.h:32
QIE10DataFrame
Definition:
QIE10DataFrame.h:11
HcalDbService
Definition:
HcalDbService.h:26
QIE11DataFrame
Definition:
QIE11DataFrame.h:11
DigiNZS_cff.markAndPass
markAndPass
Definition:
DigiNZS_cff.py:6
dqmiodatasetharvest.db
db
Definition:
dqmiodatasetharvest.py:175
HcalZeroSuppressionAlgo.h
HcalZSAlgoEnergy::threshold_
int threshold_
Definition:
HcalZSAlgoEnergy.h:32
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:70
HcalZSAlgoEnergy::done
void done()
Definition:
HcalZSAlgoEnergy.cc:71
HFDataFrame
Definition:
HFDataFrame.h:14
personalPlayback.level
level
Definition:
personalPlayback.py:22
EgammaValidation_cff.samples
samples
Definition:
EgammaValidation_cff.py:19
HcalZSAlgoEnergy
Definition:
HcalZSAlgoEnergy.h:17
HcalZSAlgoEnergy::samplecount_
int samplecount_
Definition:
HcalZSAlgoEnergy.h:32
HcalZSAlgoEnergy::db_
const HcalDbService * db_
Definition:
HcalZSAlgoEnergy.h:34
HBHEDataFrame
Definition:
HBHEDataFrame.h:14
HcalZSAlgoEnergy::shouldKeep
bool shouldKeep(const HBHEDataFrame &digi) const override
Definition:
HcalZSAlgoEnergy.cc:54
HcalZSAlgoEnergy::~HcalZSAlgoEnergy
~HcalZSAlgoEnergy() override=default
HcalDbService.h
Generated for CMSSW Reference Manual by
1.8.11