#include <HcalADCSaturationFlag.h>
Public Member Functions | |
HcalADCSaturationFlag () | |
HcalADCSaturationFlag (int level) | |
void | setSaturationFlag (HBHERecHit &rechit, const HBHEDataFrame &digi) |
void | setSaturationFlag (HORecHit &rechit, const HODataFrame &digi) |
void | setSaturationFlag (HFRecHit &rechit, const HFDataFrame &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 25 of file HcalADCSaturationFlag.h.
HcalADCSaturationFlag::HcalADCSaturationFlag | ( | ) |
Definition at line 29 of file HcalADCSaturationFlag.cc.
HcalADCSaturationFlag::HcalADCSaturationFlag | ( | int | level | ) |
HcalADCSaturationFlag::~HcalADCSaturationFlag | ( | ) |
Definition at line 39 of file HcalADCSaturationFlag.cc.
void HcalADCSaturationFlag::setSaturationFlag | ( | HBHERecHit & | rechit, |
const HBHEDataFrame & | digi | ||
) |
Definition at line 42 of file HcalADCSaturationFlag.cc.
Referenced by ZdcHitReconstructor::produce(), and HcalHitReconstructor::produce().
void HcalADCSaturationFlag::setSaturationFlag | ( | HORecHit & | rechit, |
const HODataFrame & | digi | ||
) |
Definition at line 48 of file HcalADCSaturationFlag.cc.
void HcalADCSaturationFlag::setSaturationFlag | ( | HFRecHit & | rechit, |
const HFDataFrame & | digi | ||
) |
Definition at line 54 of file HcalADCSaturationFlag.cc.
void HcalADCSaturationFlag::setSaturationFlag | ( | ZDCRecHit & | rechit, |
const ZDCDataFrame & | digi | ||
) |
Definition at line 60 of file HcalADCSaturationFlag.cc.
|
private |
Definition at line 37 of file HcalADCSaturationFlag.h.