#include <HcalHF_PETalgorithm.h>
Public Member Functions | |
double | bit () |
double | CalcThreshold (double abs_energy, const std::vector< double > ¶ms) |
std::vector< double > | GetLong_Energy_Thresh () |
std::vector< double > | GetLong_ET_Thresh () |
std::vector< double > | GetLong_R () |
std::vector< double > | GetShort_Energy_Thresh () |
std::vector< double > | GetShort_ET_Thresh () |
std::vector< double > | GetShort_R () |
HcalHF_PETalgorithm () | |
HcalHF_PETalgorithm (const std::vector< double > &short_R, const std::vector< double > &short_Energy, const std::vector< double > &short_ET, const std::vector< double > &long_R, const std::vector< double > &long_Energy, const std::vector< double > &long_ET, int HcalAcceptSeverityLevel, const std::vector< double > &short_R_29, const std::vector< double > &long_R_29) | |
void | HFSetFlagFromPET (HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity) |
void | SetLong_Energy_Thresh (const std::vector< double > &x) |
void | SetLong_ET_Thresh (const std::vector< double > &x) |
void | SetLong_R (const std::vector< double > &x) |
void | SetShort_Energy_Thresh (const std::vector< double > &x) |
void | SetShort_ET_Thresh (const std::vector< double > &x) |
void | SetShort_R (const std::vector< double > &x) |
~HcalHF_PETalgorithm () | |
Private Attributes | |
int | HcalAcceptSeverityLevel_ |
std::vector< double > | long_Energy_Thresh |
std::vector< double > | long_ET_Thresh |
std::vector< double > | long_R |
std::vector< double > | long_R_29 |
std::vector< double > | short_Energy_Thresh |
std::vector< double > | short_ET_Thresh |
std::vector< double > | short_R |
std::vector< double > | short_R_29 |
Class evaluates the ratio |(L-S)/(L+S)| for a given cell, and flags the cell if the threshold exceeds a given maximum value R(Energy). Each cell must also pass ieta-dependent energy and ET cuts to be considered for flagging.
Definition at line 21 of file HcalHF_PETalgorithm.h.
HcalHF_PETalgorithm::HcalHF_PETalgorithm | ( | ) |
Constructors
Definition at line 13 of file HcalHF_PETalgorithm.cc.
References HcalAcceptSeverityLevel_, long_Energy_Thresh, long_ET_Thresh, long_R, long_R_29, short_Energy_Thresh, short_ET_Thresh, short_R, and short_R_29.
HcalHF_PETalgorithm::HcalHF_PETalgorithm | ( | const std::vector< double > & | short_R, |
const std::vector< double > & | short_Energy, | ||
const std::vector< double > & | short_ET, | ||
const std::vector< double > & | long_R, | ||
const std::vector< double > & | long_Energy, | ||
const std::vector< double > & | long_ET, | ||
int | HcalAcceptSeverityLevel, | ||
const std::vector< double > & | short_R_29, | ||
const std::vector< double > & | long_R_29 | ||
) |
Definition at line 35 of file HcalHF_PETalgorithm.cc.
References HLT_2018_cff::HcalAcceptSeverityLevel, HcalAcceptSeverityLevel_, long_Energy_Thresh, long_ET_Thresh, long_R, long_R_29, HLT_2018_cff::longEnergyParams, HLT_2018_cff::longETParams, short_Energy_Thresh, short_ET_Thresh, short_R, short_R_29, HLT_2018_cff::shortEnergyParams, and HLT_2018_cff::shortETParams.
HcalHF_PETalgorithm::~HcalHF_PETalgorithm | ( | ) |
Definition at line 65 of file HcalHF_PETalgorithm.cc.
|
inline |
double HcalHF_PETalgorithm::CalcThreshold | ( | double | abs_energy, |
const std::vector< double > & | params | ||
) |
Definition at line 151 of file HcalHF_PETalgorithm.cc.
References mps_fire::i, CalibrationSummaryClient_cfi::params, funct::pow(), and remoteMonitoring_LED_IterMethod_cfg::threshold.
Referenced by HFSetFlagFromPET().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void HcalHF_PETalgorithm::HFSetFlagFromPET | ( | HFRecHit & | hf, |
HFRecHitCollection & | rec, | ||
const HcalChannelQuality * | myqual, | ||
const HcalSeverityLevelComputer * | mySeverity | ||
) |
Definition at line 67 of file HcalHF_PETalgorithm.cc.
References funct::abs(), CalcThreshold(), LEDCalibrationChannels::depth, HcalSeverityLevelComputer::dropChannel(), edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, ET, HLT_2018_cff::eta1, HLT_2018_cff::eta2, HcalTopology::etaRange(), EnergyCorrector::etas, edm::SortedCollection< T, SORT >::find(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalAcceptSeverityLevel_, HcalForward, es_hardcode_cfi::hf, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFPET, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, long_Energy_Thresh, long_ET_Thresh, long_R, long_R_29, DetId::rawId(), short_Energy_Thresh, short_ET_Thresh, short_R, short_R_29, and HcalCondObjectContainerBase::topo().
Referenced by HcalHitReconstructor::produce().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 70 of file HcalHF_PETalgorithm.h.
Referenced by HcalHF_PETalgorithm(), and HFSetFlagFromPET().
|
private |
Definition at line 69 of file HcalHF_PETalgorithm.h.
Referenced by GetLong_Energy_Thresh(), HcalHF_PETalgorithm(), HFSetFlagFromPET(), and SetLong_Energy_Thresh().
|
private |
Definition at line 68 of file HcalHF_PETalgorithm.h.
Referenced by GetLong_ET_Thresh(), HcalHF_PETalgorithm(), HFSetFlagFromPET(), and SetLong_ET_Thresh().
|
private |
Definition at line 67 of file HcalHF_PETalgorithm.h.
Referenced by GetLong_R(), HcalHF_PETalgorithm(), HFSetFlagFromPET(), and SetLong_R().
|
private |
Definition at line 72 of file HcalHF_PETalgorithm.h.
Referenced by HcalHF_PETalgorithm(), and HFSetFlagFromPET().
|
private |
Definition at line 65 of file HcalHF_PETalgorithm.h.
Referenced by GetShort_Energy_Thresh(), HcalHF_PETalgorithm(), HFSetFlagFromPET(), and SetShort_Energy_Thresh().
|
private |
Definition at line 64 of file HcalHF_PETalgorithm.h.
Referenced by GetShort_ET_Thresh(), HcalHF_PETalgorithm(), HFSetFlagFromPET(), and SetShort_ET_Thresh().
|
private |
Definition at line 63 of file HcalHF_PETalgorithm.h.
Referenced by GetShort_R(), HcalHF_PETalgorithm(), HFSetFlagFromPET(), and SetShort_R().
|
private |
Definition at line 71 of file HcalHF_PETalgorithm.h.
Referenced by HcalHF_PETalgorithm(), and HFSetFlagFromPET().