#include <HcalHF_S9S1algorithm.h>
Public Member Functions | |
double | bit () |
double | CalcEnergyThreshold (double abs_energy, const std::vector< double > ¶ms) |
double | CalcSlope (int abs_ieta, const std::vector< double > ¶ms) |
HcalHF_S9S1algorithm () | |
HcalHF_S9S1algorithm (const std::vector< double > &short_optimumSlope, const std::vector< double > &short_Energy, const std::vector< double > &short_ET, const std::vector< double > &long_optimumSlope, const std::vector< double > &long_Energy, const std::vector< double > &long_ET, int HcalAcceptSeverityLevel, bool isS8S1) | |
void | HFSetFlagFromS9S1 (HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity) |
~HcalHF_S9S1algorithm () | |
Private Attributes | |
int | HcalAcceptSeverityLevel_ |
bool | isS8S1_ |
std::vector< double > | long_Energy_ |
std::vector< double > | long_ET_ |
std::vector< double > | LongEnergyThreshold |
std::vector< double > | LongETThreshold |
std::vector< double > | LongSlopes |
std::vector< double > | short_Energy_ |
std::vector< double > | short_ET_ |
std::vector< double > | ShortEnergyThreshold |
std::vector< double > | ShortETThreshold |
std::vector< double > | ShortSlopes |
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_S9S1algorithm.h.
HcalHF_S9S1algorithm::HcalHF_S9S1algorithm | ( | ) |
Constructors
Definition at line 13 of file HcalHF_S9S1algorithm.cc.
References HcalAcceptSeverityLevel_, mps_fire::i, isS8S1_, LongEnergyThreshold, LongETThreshold, LongSlopes, ShortEnergyThreshold, ShortETThreshold, and ShortSlopes.
HcalHF_S9S1algorithm::HcalHF_S9S1algorithm | ( | const std::vector< double > & | short_optimumSlope, |
const std::vector< double > & | short_Energy, | ||
const std::vector< double > & | short_ET, | ||
const std::vector< double > & | long_optimumSlope, | ||
const std::vector< double > & | long_Energy, | ||
const std::vector< double > & | long_ET, | ||
int | HcalAcceptSeverityLevel, | ||
bool | isS8S1 | ||
) |
Definition at line 43 of file HcalHF_S9S1algorithm.cc.
References HLT_2023v12_cff::HcalAcceptSeverityLevel, HcalAcceptSeverityLevel_, HLT_2023v12_cff::isS8S1, isS8S1_, HLT_2023v12_cff::long_optimumSlope, LongEnergyThreshold, LongETThreshold, LongSlopes, HLT_2023v12_cff::short_optimumSlope, ShortEnergyThreshold, ShortETThreshold, and ShortSlopes.
HcalHF_S9S1algorithm::~HcalHF_S9S1algorithm | ( | ) |
Definition at line 79 of file HcalHF_S9S1algorithm.cc.
|
inline |
double HcalHF_S9S1algorithm::CalcEnergyThreshold | ( | double | abs_energy, |
const std::vector< double > & | params | ||
) |
Definition at line 244 of file HcalHF_S9S1algorithm.cc.
References mps_fire::i, submitPVValidationJobs::params, funct::pow(), and DiMuonV_cfg::threshold.
double HcalHF_S9S1algorithm::CalcSlope | ( | int | abs_ieta, |
const std::vector< double > & | params | ||
) |
Definition at line 230 of file HcalHF_S9S1algorithm.cc.
References mps_fire::i, submitPVValidationJobs::params, funct::pow(), and DiMuonV_cfg::threshold.
void HcalHF_S9S1algorithm::HFSetFlagFromS9S1 | ( | HFRecHit & | hf, |
HFRecHitCollection & | rec, | ||
const HcalChannelQuality * | myqual, | ||
const HcalSeverityLevelComputer * | mySeverity | ||
) |
Definition at line 81 of file HcalHF_S9S1algorithm.cc.
References funct::abs(), ztail::d, hcalRecHitTable_cff::depth, edm::SortedCollection< T, SORT >::end(), hcalRecHitTable_cff::energy, ET, HLT_2023v12_cff::eta1, HLT_2023v12_cff::eta2, HcalTopology::etaRange(), EnergyCorrector::etas, l1ScoutingRun3::ugmt::fEta(), edm::SortedCollection< T, SORT >::find(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalAcceptSeverityLevel_, HcalForward, photonIsolationHIProducer_cfi::hf, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFS8S1Ratio, mps_fire::i, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, isS8S1_, dqm-mbProfile::log, LongEnergyThreshold, LongETThreshold, LongSlopes, ShortEnergyThreshold, ShortETThreshold, ShortSlopes, slope, and HcalCondObjectContainerBase::topo().
Referenced by HcalHitReconstructor::produce().
|
private |
Definition at line 59 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 60 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 51 of file HcalHF_S9S1algorithm.h.
|
private |
Definition at line 50 of file HcalHF_S9S1algorithm.h.
|
private |
Definition at line 55 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 57 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 53 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 49 of file HcalHF_S9S1algorithm.h.
|
private |
Definition at line 48 of file HcalHF_S9S1algorithm.h.
|
private |
Definition at line 56 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 58 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 54 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().