#include <HcalZSAlgoEnergy.h>
Public Member Functions | |
void | done () |
HcalZSAlgoEnergy (bool markAndPass, int level, int start, int samples, bool twosided) | |
void | prepare (const HcalDbService *db) |
Public Member Functions inherited from HcalZeroSuppressionAlgo | |
void | clearDbService () |
void | setDbService (const HcalDbService *db) |
void | suppress (const HBHEDigiCollection &input, HBHEDigiCollection &output) |
void | suppress (const HODigiCollection &input, HODigiCollection &output) |
void | suppress (const HFDigiCollection &input, HFDigiCollection &output) |
void | suppress (const HcalUpgradeDigiCollection &input, HcalUpgradeDigiCollection &output) |
void | suppress (const QIE10DigiCollection &input, QIE10DigiCollection &output) |
Protected Member Functions | |
virtual bool | shouldKeep (const HBHEDataFrame &digi) const |
virtual bool | shouldKeep (const HODataFrame &digi) const |
virtual bool | shouldKeep (const HFDataFrame &digi) const |
virtual bool | shouldKeep (const QIE10DataFrame &digi) const |
virtual bool | shouldKeep (const HcalUpgradeDataFrame &digi) const |
Protected Member Functions inherited from HcalZeroSuppressionAlgo | |
HcalZeroSuppressionAlgo (bool markAndPass) | |
Private Attributes | |
const HcalDbService * | db_ |
int | firstsample_ |
int | samplecount_ |
int | threshold_ |
bool | twosided_ |
Additional Inherited Members | |
Protected Attributes inherited from HcalZeroSuppressionAlgo | |
const HcalDbService * | m_dbService |
Simple amplitude-based zero suppression algorithm. For each digi, add up (samples) samples beginning with (start) sample. Subtract the average pedestal, and compare with digital threshold (in ADC counts). The algorithm can keep both positive and negative side fluctuations if "two sided" is enabled.
Definition at line 16 of file HcalZSAlgoEnergy.h.
HcalZSAlgoEnergy::HcalZSAlgoEnergy | ( | bool | markAndPass, |
int | level, | ||
int | start, | ||
int | samples, | ||
bool | twosided | ||
) |
Definition at line 7 of file HcalZSAlgoEnergy.cc.
void HcalZSAlgoEnergy::done | ( | ) |
void HcalZSAlgoEnergy::prepare | ( | const HcalDbService * | db | ) |
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 58 of file HcalZSAlgoEnergy.cc.
References db_, firstsample_, samplecount_, threshold_, and twosided_.
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 61 of file HcalZSAlgoEnergy.cc.
References db_, firstsample_, samplecount_, threshold_, and twosided_.
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 64 of file HcalZSAlgoEnergy.cc.
References db_, firstsample_, samplecount_, threshold_, and twosided_.
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 67 of file HcalZSAlgoEnergy.cc.
References db_, firstsample_, samplecount_, threshold_, and twosided_.
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 70 of file HcalZSAlgoEnergy.cc.
References db_, firstsample_, samplecount_, threshold_, and twosided_.
|
private |
Definition at line 30 of file HcalZSAlgoEnergy.h.
Referenced by done(), prepare(), and shouldKeep().
|
private |
Definition at line 28 of file HcalZSAlgoEnergy.h.
Referenced by shouldKeep().
|
private |
Definition at line 28 of file HcalZSAlgoEnergy.h.
Referenced by shouldKeep().
|
private |
Definition at line 28 of file HcalZSAlgoEnergy.h.
Referenced by shouldKeep().
|
private |
Definition at line 29 of file HcalZSAlgoEnergy.h.
Referenced by shouldKeep().