Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
HcalUpgradeDataFrame
& digi)
const
;
26
private
:
27
int
threshold_
,
firstsample_
,
samplecount_
;
28
bool
twosided_
;
29
const
HcalDbService
*
db_
;
30
};
31
32
#endif
HcalZeroSuppressionAlgo
Definition:
HcalZeroSuppressionAlgo.h:15
HcalZSAlgoEnergy::twosided_
bool twosided_
Definition:
HcalZSAlgoEnergy.h:28
HODataFrame
Definition:
HODataFrame.h:16
HcalZSAlgoEnergy::shouldKeep
virtual bool shouldKeep(const HBHEDataFrame &digi) const
Definition:
HcalZSAlgoEnergy.cc:58
dqm_diff.start
tuple start
Check for commandline option errors.
Definition:
dqm_diff.py:58
HcalZSAlgoEnergy::firstsample_
int firstsample_
Definition:
HcalZSAlgoEnergy.h:27
EcalCondDB.db
tuple db
Definition:
EcalCondDB.py:151
HcalDbService
Definition:
HcalDbService.h:29
HcalZeroSuppressionAlgo.h
HcalZSAlgoEnergy::threshold_
int threshold_
Definition:
HcalZSAlgoEnergy.h:27
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:71
HcalZSAlgoEnergy::done
void done()
Definition:
HcalZSAlgoEnergy.cc:72
HFDataFrame
Definition:
HFDataFrame.h:15
HcalZSAlgoEnergy
Definition:
HcalZSAlgoEnergy.h:16
HcalZSAlgoEnergy::samplecount_
int samplecount_
Definition:
HcalZSAlgoEnergy.h:27
HcalZSAlgoEnergy::db_
const HcalDbService * db_
Definition:
HcalZSAlgoEnergy.h:29
HBHEDataFrame
Definition:
HBHEDataFrame.h:15
testEve_cfg.level
tuple level
Definition:
testEve_cfg.py:34
HcalUpgradeDataFrame
Definition:
HcalUpgradeDataFrame.h:15
HcalDbService.h
Generated for CMSSW Reference Manual by
1.8.5