#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_2024v12_cff::HcalAcceptSeverityLevel, HcalAcceptSeverityLevel_, long_Energy_Thresh, long_ET_Thresh, long_R, long_R_29, HLT_2024v12_cff::longEnergyParams, HLT_2024v12_cff::longETParams, short_Energy_Thresh, short_ET_Thresh, short_R, short_R_29, HLT_2024v12_cff::shortEnergyParams, and HLT_2024v12_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, submitPVValidationJobs::params, funct::pow(), and DiMuonV_cfg::threshold.
Referenced by HFSetFlagFromPET().
|
inline |
Definition at line 58 of file HcalHF_PETalgorithm.h.
References long_Energy_Thresh.
|
inline |
Definition at line 57 of file HcalHF_PETalgorithm.h.
References long_ET_Thresh.
|
inline |
|
inline |
Definition at line 55 of file HcalHF_PETalgorithm.h.
References short_Energy_Thresh.
|
inline |
Definition at line 54 of file HcalHF_PETalgorithm.h.
References short_ET_Thresh.
|
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(), hcalRecHitTable_cff::depth, HcalSeverityLevelComputer::dropChannel(), edm::SortedCollection< T, SORT >::end(), hcalRecHitTable_cff::energy, ET, HLT_2024v12_cff::eta1, HLT_2024v12_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::HFPET, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::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 |
Definition at line 51 of file HcalHF_PETalgorithm.h.
References long_Energy_Thresh, and x.
|
inline |
Definition at line 50 of file HcalHF_PETalgorithm.h.
References long_ET_Thresh, and x.
|
inline |
Definition at line 49 of file HcalHF_PETalgorithm.h.
|
inline |
Definition at line 48 of file HcalHF_PETalgorithm.h.
References short_Energy_Thresh, and x.
|
inline |
Definition at line 47 of file HcalHF_PETalgorithm.h.
References short_ET_Thresh, and x.
|
inline |
Definition at line 46 of file HcalHF_PETalgorithm.h.
|
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().