#include <HFSimpleTimeCheck.h>
Public Member Functions | |
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 | 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 | |
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 |
||
) |
Definition at line 39 of file HFSimpleTimeCheck.cc.
References HFPhase1Reconstructor_cfi::energyWeights, energyWeights_, and tlimits_.
|
inlineoverride |
Definition at line 62 of file HFSimpleTimeCheck.h.
|
protectedvirtual |
Reimplemented in HFFlexibleTimeCheck.
Definition at line 63 of file HFSimpleTimeCheck.cc.
References HFAnodeStatus::FAILED_TIMING, plotBeamSpotDB::first, HFAnodeStatus::HARDWARE_ERROR, HFQIE10Info::isDataframeOK(), HcalSpecialTimes::isSpecial(), HFAnodeStatus::OK, edm::second(), HFQIE10Info::timeRising(), timeShift_, and tlimits_.
Referenced by reconstruct(), and rejectingAllFailures().
|
inlineoverridevirtual |
Implements AbsHFPhase1Algo.
Definition at line 64 of file HFSimpleTimeCheck.h.
References reconstruct().
|
private |
Definition at line 81 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(), and rejectingAllFailures().
|
inline |
Definition at line 76 of file HFSimpleTimeCheck.h.
References minChargeForOvershoot_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
Definition at line 75 of file HFSimpleTimeCheck.h.
References minChargeForUndershoot_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
overridevirtual |
Implements AbsHFPhase1Algo.
Definition at line 99 of file HFSimpleTimeCheck.cc.
References determineAnodeStatus(), 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 create_public_lumi_plots::weights.
Referenced by isConfigurable(), and HFFlexibleTimeCheck::reconstruct().
|
inline |
Definition at line 77 of file HFSimpleTimeCheck.h.
References determineAnodeStatus(), mapStatusIntoIndex(), and rejectAllFailures_.
|
inline |
|
inline |
|
inline |
Definition at line 72 of file HFSimpleTimeCheck.h.
References timeShift_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
|
private |
Definition at line 88 of file HFSimpleTimeCheck.h.
Referenced by HFSimpleTimeCheck(), and reconstruct().
|
private |
Definition at line 94 of file HFSimpleTimeCheck.h.
Referenced by minChargeForOvershoot().
|
private |
Definition at line 93 of file HFSimpleTimeCheck.h.
Referenced by minChargeForUndershoot().
|
private |
Definition at line 95 of file HFSimpleTimeCheck.h.
Referenced by mapStatusIntoIndex(), and rejectingAllFailures().
|
private |
Definition at line 89 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and soiPhase().
|
private |
Definition at line 92 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and tfallIfNoTDC().
|
private |
Definition at line 90 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), reconstruct(), and timeShift().
|
private |
Definition at line 87 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), and HFSimpleTimeCheck().
|
private |
Definition at line 91 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and triseIfNoTDC().