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
virtual
~HcalZSAlgoEnergy
() =
default
;
20
void
prepare
(
const
HcalDbService
* db);
21
void
done
();
22
protected
:
23
virtual
bool
shouldKeep
(
const
HBHEDataFrame
& digi)
const
;
24
virtual
bool
shouldKeep
(
const
HODataFrame
& digi)
const
;
25
virtual
bool
shouldKeep
(
const
HFDataFrame
& digi)
const
;
26
virtual
bool
shouldKeep
(
const
QIE10DataFrame
& digi)
const
;
27
virtual
bool
shouldKeep
(
const
QIE11DataFrame
& digi)
const
;
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:16
HcalZSAlgoEnergy::shouldKeep
virtual bool shouldKeep(const HBHEDataFrame &digi) const
Definition:
HcalZSAlgoEnergy.cc:58
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::~HcalZSAlgoEnergy
virtual ~HcalZSAlgoEnergy()=default
HcalZSAlgoEnergy::prepare
void prepare(const HcalDbService *db)
Definition:
HcalZSAlgoEnergy.cc:74
HcalZSAlgoEnergy::done
void done()
Definition:
HcalZSAlgoEnergy.cc:75
HFDataFrame
Definition:
HFDataFrame.h:15
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:15
hcalDigis_cfi.markAndPass
markAndPass
Definition:
hcalDigis_cfi.py:15
HcalDbService.h
Generated for CMSSW Reference Manual by
1.8.11