#include <HBHETimingShapedFlag.h>
Public Member Functions | |
void | Clear () |
void | dumpInfo () |
HBHETimingShapedFlagSetter () | |
HBHETimingShapedFlagSetter (const std::vector< double > &tfilterEnvelope) | |
HBHETimingShapedFlagSetter (const std::vector< double > &tfilterEnvelope, bool ignorelowest, bool ignorehighest, double win_offset, double win_gain) | |
void | SetTimingShapedFlags (HBHERecHit &hbhe) |
int | timingStatus (const HBHERecHit &hbhe) |
~HBHETimingShapedFlagSetter () | |
Private Types | |
typedef std::map< int, std::pair< double, double > > | TfilterEnvelope_t |
Private Member Functions | |
void | makeTfilterEnvelope (const std::vector< double > &v_userEnvelope) |
Private Attributes | |
bool | ignorehighest_ |
bool | ignorelowest_ |
TfilterEnvelope_t | tfilterEnvelope_ |
double | win_gain_ |
double | win_offset_ |
Definition at line 9 of file HBHETimingShapedFlag.h.
|
private |
Definition at line 37 of file HBHETimingShapedFlag.h.
HBHETimingShapedFlagSetter::HBHETimingShapedFlagSetter | ( | ) |
Definition at line 13 of file HBHETimingShapedFlag.cc.
HBHETimingShapedFlagSetter::HBHETimingShapedFlagSetter | ( | const std::vector< double > & | tfilterEnvelope | ) |
Definition at line 21 of file HBHETimingShapedFlag.cc.
References ignorehighest_, ignorelowest_, makeTfilterEnvelope(), win_gain_, and win_offset_.
HBHETimingShapedFlagSetter::HBHETimingShapedFlagSetter | ( | const std::vector< double > & | tfilterEnvelope, |
bool | ignorelowest, | ||
bool | ignorehighest, | ||
double | win_offset, | ||
double | win_gain | ||
) |
Definition at line 31 of file HBHETimingShapedFlag.cc.
References ignorehighest_, ignorelowest_, makeTfilterEnvelope(), win_gain_, and win_offset_.
HBHETimingShapedFlagSetter::~HBHETimingShapedFlagSetter | ( | ) |
Definition at line 17 of file HBHETimingShapedFlag.cc.
void HBHETimingShapedFlagSetter::Clear | ( | ) |
void HBHETimingShapedFlagSetter::dumpInfo | ( | ) |
Definition at line 66 of file HBHETimingShapedFlag.cc.
References gather_cfg::cout, ignorehighest_, ignorelowest_, tfilterEnvelope_, win_gain_, and win_offset_.
|
private |
Definition at line 44 of file HBHETimingShapedFlag.cc.
References Exception, i, and tfilterEnvelope_.
Referenced by HBHETimingShapedFlagSetter().
void HBHETimingShapedFlagSetter::SetTimingShapedFlags | ( | HBHERecHit & | hbhe | ) |
Definition at line 161 of file HBHETimingShapedFlag.cc.
References HcalCaloFlagLabels::HBHETimingShapedCutsBits, CaloRecHit::setFlagField(), ntuplemaker::status, and timingStatus().
Referenced by HcalHitReconstructor::produce().
int HBHETimingShapedFlagSetter::timingStatus | ( | const HBHERecHit & | hbhe | ) |
Definition at line 80 of file HBHETimingShapedFlag.cc.
References CaloRecHit::energy(), relval_parameters_module::energy, ignorehighest_, ignorelowest_, ntuplemaker::status, tfilterEnvelope_, CaloRecHit::time(), win_gain_, and win_offset_.
Referenced by SetTimingShapedFlags().
|
private |
Definition at line 43 of file HBHETimingShapedFlag.h.
Referenced by dumpInfo(), HBHETimingShapedFlagSetter(), and timingStatus().
|
private |
Definition at line 42 of file HBHETimingShapedFlag.h.
Referenced by dumpInfo(), HBHETimingShapedFlagSetter(), and timingStatus().
|
private |
Definition at line 38 of file HBHETimingShapedFlag.h.
Referenced by dumpInfo(), makeTfilterEnvelope(), and timingStatus().
|
private |
Definition at line 45 of file HBHETimingShapedFlag.h.
Referenced by dumpInfo(), HBHETimingShapedFlagSetter(), and timingStatus().
|
private |
Definition at line 44 of file HBHETimingShapedFlag.h.
Referenced by dumpInfo(), HBHETimingShapedFlagSetter(), and timingStatus().