#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, bool rejectAllFailures=true) | |
virtual bool | isConfigurable () const override |
virtual 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 |
virtual | ~HFSimpleTimeCheck () |
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] |
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, | ||
bool | rejectAllFailures = true |
||
) |
Definition at line 39 of file HFSimpleTimeCheck.cc.
References HFPhase1Reconstructor_cfi::energyWeights, energyWeights_, and tlimits_.
|
inlinevirtual |
Definition at line 61 of file HFSimpleTimeCheck.h.
|
protectedvirtual |
Reimplemented in HFFlexibleTimeCheck.
Definition at line 59 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.
Reimplemented in HFFlexibleTimeCheck.
Definition at line 63 of file HFSimpleTimeCheck.h.
References reconstruct().
|
private |
Definition at line 77 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().
|
overridevirtual |
Implements AbsHFPhase1Algo.
Reimplemented in HFFlexibleTimeCheck.
Definition at line 95 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 74 of file HFSimpleTimeCheck.h.
References determineAnodeStatus(), mapStatusIntoIndex(), and rejectAllFailures_.
|
inline |
|
inline |
|
inline |
Definition at line 71 of file HFSimpleTimeCheck.h.
References timeShift_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
|
private |
Definition at line 85 of file HFSimpleTimeCheck.h.
Referenced by HFSimpleTimeCheck(), and reconstruct().
|
private |
Definition at line 90 of file HFSimpleTimeCheck.h.
Referenced by mapStatusIntoIndex(), and rejectingAllFailures().
|
private |
Definition at line 86 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and soiPhase().
|
private |
Definition at line 89 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and tfallIfNoTDC().
|
private |
Definition at line 87 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), reconstruct(), and timeShift().
|
private |
Definition at line 84 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), and HFSimpleTimeCheck().
|
private |
Definition at line 88 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and triseIfNoTDC().