#include <HFSimpleTimeCheck.h>
Public Member Functions | |
bool | alwaysCalculatingQAsym () const |
HFSimpleTimeCheck (const std::pair< float, float > tlimits[2], const float energyWeights[2 *HFAnodeStatus::N_POSSIBLE_STATES - 1][2], unsigned soiPhase, float timeShift, float triseIfNoTDC, float tfallIfNoTDC, float minChargeForUndershoot, float minChargeForOvershoot, bool rejectAllFailures=true, bool alwaysCalculateChargeAsymmetry=true) | |
bool | isConfigurable () const override |
float | minChargeForOvershoot () const |
float | minChargeForUndershoot () const |
HFRecHit | reconstruct (const HFPreRecHit &prehit, const HcalCalibrations &calibs, const bool flaggedBadInDB[2], bool expectSingleAnodePMT) override |
bool | rejectingAllFailures () const |
unsigned | soiPhase () const |
float | tfallIfNoTDC () const |
float | timeShift () const |
float | triseIfNoTDC () const |
~HFSimpleTimeCheck () override | |
Public Member Functions inherited from AbsHFPhase1Algo | |
virtual bool | configure (const AbsHcalAlgoData *) |
virtual | ~AbsHFPhase1Algo () |
Protected Member Functions | |
virtual unsigned | determineAnodeStatus (unsigned anodeNumber, const HFQIE10Info &anode, bool *isTimingReliable) const |
Private Member Functions | |
unsigned | mapStatusIntoIndex (const unsigned states[2]) const |
Private Attributes | |
bool | alwaysQAsym_ |
float | energyWeights_ [2 *HFAnodeStatus::N_POSSIBLE_STATES - 1][2] |
float | minChargeForOvershoot_ |
float | minChargeForUndershoot_ |
bool | rejectAllFailures_ |
unsigned | soiPhase_ |
float | tfallIfNoTDC_ |
float | timeShift_ |
std::pair< float, float > | tlimits_ [2] |
float | triseIfNoTDC_ |
Definition at line 9 of file HFSimpleTimeCheck.h.
HFSimpleTimeCheck::HFSimpleTimeCheck | ( | const std::pair< float, float > | tlimits[2], |
const float | energyWeights[2 *HFAnodeStatus::N_POSSIBLE_STATES - 1][2], | ||
unsigned | soiPhase, | ||
float | timeShift, | ||
float | triseIfNoTDC, | ||
float | tfallIfNoTDC, | ||
float | minChargeForUndershoot, | ||
float | minChargeForOvershoot, | ||
bool | rejectAllFailures = true , |
||
bool | alwaysCalculateChargeAsymmetry = true |
||
) |
Definition at line 32 of file HFSimpleTimeCheck.cc.
References HLT_FULL_cff::energyWeights, energyWeights_, HLT_FULL_cff::tlimits, and tlimits_.
|
inlineoverride |
Definition at line 71 of file HFSimpleTimeCheck.h.
|
inline |
Definition at line 87 of file HFSimpleTimeCheck.h.
References alwaysQAsym_.
Referenced by HFFlexibleTimeCheck::reconstruct().
|
protectedvirtual |
Reimplemented in HFFlexibleTimeCheck.
Definition at line 57 of file HFSimpleTimeCheck.cc.
References HFAnodeStatus::FAILED_TIMING, first, HFAnodeStatus::HARDWARE_ERROR, HFQIE10Info::isDataframeOK(), HcalSpecialTimes::isSpecial(), HFAnodeStatus::OK, edm::second(), HFQIE10Info::timeRising(), timeShift_, and tlimits_.
Referenced by reconstruct().
|
inlineoverridevirtual |
|
private |
Definition at line 72 of file HFSimpleTimeCheck.cc.
References HFAnodeStatus::FAILED_OTHER, HFAnodeStatus::FAILED_TIMING, mps_fire::i, HFAnodeStatus::N_POSSIBLE_STATES, HFAnodeStatus::OK, and rejectAllFailures_.
Referenced by reconstruct().
|
inline |
Definition at line 85 of file HFSimpleTimeCheck.h.
References minChargeForOvershoot_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
Definition at line 84 of file HFSimpleTimeCheck.h.
References minChargeForUndershoot_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
overridevirtual |
Implements AbsHFPhase1Algo.
Definition at line 88 of file HFSimpleTimeCheck.cc.
References determineAnodeStatus(), HCALHighEnergyHPDFilter_cfi::energy, HFQIE10Info::energy(), energyWeights_, f, HFAnodeStatus::FAILED_TIMING, RemoveAddSevLevel::flag, HFAnodeStatus::FLAGGED_BAD, HFPreRecHit::getHFQIE10Info(), HFPreRecHit::id(), HcalSpecialTimes::isSpecial(), mapStatusIntoIndex(), HFAnodeStatus::NOT_DUAL, HFAnodeStatus::NOT_READ_OUT, HFRecHitAuxSetter::setAux(), CaloRecHit::setFlagField(), soiPhase_, tfallIfNoTDC_, HFQIE10Info::timeFalling(), HFQIE10Info::timeRising(), timeShift_, HcalPhase1FlagLabels::TimingFromTDC, triseIfNoTDC_, mitigatedMETSequence_cff::U, and HLT_FULL_cff::weights.
Referenced by HFFlexibleTimeCheck::reconstruct().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 81 of file HFSimpleTimeCheck.h.
References timeShift_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
|
private |
Definition at line 105 of file HFSimpleTimeCheck.h.
Referenced by alwaysCalculatingQAsym().
|
private |
Definition at line 97 of file HFSimpleTimeCheck.h.
Referenced by HFSimpleTimeCheck(), and reconstruct().
|
private |
Definition at line 103 of file HFSimpleTimeCheck.h.
Referenced by minChargeForOvershoot().
|
private |
Definition at line 102 of file HFSimpleTimeCheck.h.
Referenced by minChargeForUndershoot().
|
private |
Definition at line 104 of file HFSimpleTimeCheck.h.
Referenced by mapStatusIntoIndex(), and rejectingAllFailures().
|
private |
Definition at line 98 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and soiPhase().
|
private |
Definition at line 101 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and tfallIfNoTDC().
|
private |
Definition at line 99 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), reconstruct(), and timeShift().
|
private |
Definition at line 96 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), and HFSimpleTimeCheck().
|
private |
Definition at line 100 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and triseIfNoTDC().