Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimCalorimetry
HcalZeroSuppressionAlgos
interface
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 "
SimCalorimetry/HcalZeroSuppressionAlgos/interface/HcalZeroSuppressionAlgo.h
"
5
#include "
CalibFormats/HcalObjects/interface/HcalDbService.h
"
6
18
class
HcalZSAlgoEnergy
:
public
HcalZeroSuppressionAlgo
{
19
public
:
20
HcalZSAlgoEnergy
(
bool
markAndPass,
int
level
,
int
start,
int
samples
,
bool
twosided);
21
void
prepare
(
const
HcalDbService
*
db
);
22
void
done
();
23
protected
:
24
virtual
bool
shouldKeep
(
const
HBHEDataFrame
& digi)
const
;
25
virtual
bool
shouldKeep
(
const
HODataFrame
& digi)
const
;
26
virtual
bool
shouldKeep
(
const
HFDataFrame
& digi)
const
;
27
private
:
28
int
threshold_
,
firstsample_
,
samplecount_
;
29
bool
twosided_
;
30
const
HcalDbService
*
db_
;
31
};
32
33
#endif
HcalZeroSuppressionAlgo
Definition:
HcalZeroSuppressionAlgo.h:17
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
EcalCondDB.db
tuple db
Definition:
EcalCondDB.py:151
HcalDbService
Definition:
HcalDbService.h:27
HcalZeroSuppressionAlgo.h
HcalZSAlgoEnergy::threshold_
int threshold_
Definition:
HcalZSAlgoEnergy.h:28
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:68
HcalZSAlgoEnergy::done
void done()
Definition:
HcalZSAlgoEnergy.cc:69
HFDataFrame
Definition:
HFDataFrame.h:15
ExpressReco_HICollisions_FallBack.samples
tuple samples
Definition:
ExpressReco_HICollisions_FallBack.py:9308
HcalZSAlgoEnergy
Definition:
HcalZSAlgoEnergy.h:18
HcalZSAlgoEnergy::samplecount_
int samplecount_
Definition:
HcalZSAlgoEnergy.h:28
HcalZSAlgoEnergy::db_
const HcalDbService * db_
Definition:
HcalZSAlgoEnergy.h:30
HBHEDataFrame
Definition:
HBHEDataFrame.h:15
testEve_cfg.level
tuple level
Definition:
testEve_cfg.py:34
HcalDbService.h
Generated for CMSSW Reference Manual by
1.8.5