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
void
prepare
(
const
HcalDbService
* db);
20
void
done
();
21
protected
:
22
virtual
bool
shouldKeep
(
const
HBHEDataFrame
& digi)
const
;
23
virtual
bool
shouldKeep
(
const
HODataFrame
& digi)
const
;
24
virtual
bool
shouldKeep
(
const
HFDataFrame
& digi)
const
;
25
virtual
bool
shouldKeep
(
const
QIE10DataFrame
& digi)
const
;
26
virtual
bool
shouldKeep
(
const
QIE11DataFrame
& digi)
const
;
27
private
:
28
int
threshold_
,
firstsample_
,
samplecount_
;
29
bool
twosided_
;
30
const
HcalDbService
*
db_
;
31
};
32
33
#endif
HcalZeroSuppressionAlgo
Definition:
HcalZeroSuppressionAlgo.h:15
start
Definition:
start.py:1
HcalZSAlgoEnergy::twosided_
bool twosided_
Definition:
HcalZSAlgoEnergy.h:29
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:28
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:28
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:15
HcalZSAlgoEnergy
Definition:
HcalZSAlgoEnergy.h:16
HcalZSAlgoEnergy::samplecount_
int samplecount_
Definition:
HcalZSAlgoEnergy.h:28
HcalZSAlgoEnergy::db_
const HcalDbService * db_
Definition:
HcalZSAlgoEnergy.h:30
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