#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 39 of file HFSimpleTimeCheck.cc.
References HFPhase1Reconstructor_cfi::energyWeights, energyWeights_, and tlimits_.
|
inlineoverride |
Definition at line 69 of file HFSimpleTimeCheck.h.
|
inline |
Definition at line 85 of file HFSimpleTimeCheck.h.
References alwaysQAsym_, determineAnodeStatus(), and mapStatusIntoIndex().
Referenced by HFFlexibleTimeCheck::reconstruct().
|
protectedvirtual |
Reimplemented in HFFlexibleTimeCheck.
Definition at line 65 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 alwaysCalculatingQAsym(), and reconstruct().
|
inlineoverridevirtual |
Implements AbsHFPhase1Algo.
Definition at line 71 of file HFSimpleTimeCheck.h.
References reconstruct().
|
private |
Definition at line 83 of file HFSimpleTimeCheck.cc.
References HFAnodeStatus::FAILED_OTHER, HFAnodeStatus::FAILED_TIMING, mps_fire::i, HFAnodeStatus::N_POSSIBLE_STATES, HFAnodeStatus::OK, and rejectAllFailures_.
Referenced by alwaysCalculatingQAsym(), and reconstruct().
|
inline |
Definition at line 83 of file HFSimpleTimeCheck.h.
References minChargeForOvershoot_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
Definition at line 82 of file HFSimpleTimeCheck.h.
References minChargeForUndershoot_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
overridevirtual |
Implements AbsHFPhase1Algo.
Definition at line 101 of file HFSimpleTimeCheck.cc.
References determineAnodeStatus(), randomXiThetaGunProducer_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 HGCalRecHit_cfi::weights.
Referenced by isConfigurable(), and HFFlexibleTimeCheck::reconstruct().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 79 of file HFSimpleTimeCheck.h.
References timeShift_.
Referenced by HFFlexibleTimeCheck::determineAnodeStatus().
|
inline |
|
private |
Definition at line 104 of file HFSimpleTimeCheck.h.
Referenced by alwaysCalculatingQAsym().
|
private |
Definition at line 96 of file HFSimpleTimeCheck.h.
Referenced by HFSimpleTimeCheck(), and reconstruct().
|
private |
Definition at line 102 of file HFSimpleTimeCheck.h.
Referenced by minChargeForOvershoot().
|
private |
Definition at line 101 of file HFSimpleTimeCheck.h.
Referenced by minChargeForUndershoot().
|
private |
Definition at line 103 of file HFSimpleTimeCheck.h.
Referenced by mapStatusIntoIndex(), and rejectingAllFailures().
|
private |
Definition at line 97 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and soiPhase().
|
private |
Definition at line 100 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and tfallIfNoTDC().
|
private |
Definition at line 98 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), reconstruct(), and timeShift().
|
private |
Definition at line 95 of file HFSimpleTimeCheck.h.
Referenced by determineAnodeStatus(), and HFSimpleTimeCheck().
|
private |
Definition at line 99 of file HFSimpleTimeCheck.h.
Referenced by reconstruct(), and triseIfNoTDC().