#include <HcalADCSaturationFlag.h>
Public Member Functions | |
HcalADCSaturationFlag () | |
HcalADCSaturationFlag (int level) | |
void | setSaturationFlag (HBHERecHit &rechit, const HBHEDataFrame &digi) |
void | setSaturationFlag (HFRecHit &rechit, const HFDataFrame &digi) |
void | setSaturationFlag (HORecHit &rechit, const HODataFrame &digi) |
void | setSaturationFlag (ZDCRecHit &rechit, const ZDCDataFrame &digi) |
~HcalADCSaturationFlag () | |
Private Attributes | |
int | SaturationLevel_ |
HcalADCSaturationFlag Class sets the Saturation status bit if the ADC count for any time slice within a digi is >= a certain value (SaturationLevel_). This value is user-configurable, but perhaps it should be hard-coded, as we know the QIE's have 7 bits (for a maximum ADC value of 2^7=127).
Is it better to hard-code to 127, or to allow the user to change it?
Definition at line 23 of file HcalADCSaturationFlag.h.
HcalADCSaturationFlag::HcalADCSaturationFlag | ( | ) |
Definition at line 23 of file HcalADCSaturationFlag.cc.
HcalADCSaturationFlag::HcalADCSaturationFlag | ( | int | level | ) |
Definition at line 27 of file HcalADCSaturationFlag.cc.
References personalPlayback::level.
HcalADCSaturationFlag::~HcalADCSaturationFlag | ( | ) |
Definition at line 31 of file HcalADCSaturationFlag.cc.
void HcalADCSaturationFlag::setSaturationFlag | ( | HBHERecHit & | rechit, |
const HBHEDataFrame & | digi | ||
) |
Definition at line 33 of file HcalADCSaturationFlag.cc.
Referenced by ZdcHitReconstructor::produce(), and HcalHitReconstructor::produce().
void HcalADCSaturationFlag::setSaturationFlag | ( | HFRecHit & | rechit, |
const HFDataFrame & | digi | ||
) |
Definition at line 43 of file HcalADCSaturationFlag.cc.
void HcalADCSaturationFlag::setSaturationFlag | ( | HORecHit & | rechit, |
const HODataFrame & | digi | ||
) |
Definition at line 38 of file HcalADCSaturationFlag.cc.
void HcalADCSaturationFlag::setSaturationFlag | ( | ZDCRecHit & | rechit, |
const ZDCDataFrame & | digi | ||
) |
Definition at line 48 of file HcalADCSaturationFlag.cc.
|
private |
Definition at line 35 of file HcalADCSaturationFlag.h.