#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 22 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 47 of file HcalHF_S9S1algorithm.cc.
References CaloTowerSchemeBnoEE_cfi::HcalAcceptSeverityLevel, HcalAcceptSeverityLevel_, HcalHitReconstructor_hf_cfi::isS8S1, isS8S1_, HcalHitReconstructor_hf_cfi::long_optimumSlope, LongEnergyThreshold, LongETThreshold, LongSlopes, HcalHitReconstructor_hf_cfi::short_optimumSlope, ShortEnergyThreshold, ShortETThreshold, and ShortSlopes.
HcalHF_S9S1algorithm::~HcalHF_S9S1algorithm | ( | ) |
Definition at line 83 of file HcalHF_S9S1algorithm.cc.
|
inline |
double HcalHF_S9S1algorithm::CalcEnergyThreshold | ( | double | abs_energy, |
const std::vector< double > & | params | ||
) |
Definition at line 258 of file HcalHF_S9S1algorithm.cc.
References mps_fire::i, funct::pow(), and electronIdCutBased_cfi::threshold.
double HcalHF_S9S1algorithm::CalcSlope | ( | int | abs_ieta, |
const std::vector< double > & | params | ||
) |
Definition at line 239 of file HcalHF_S9S1algorithm.cc.
References mps_fire::i, funct::pow(), and electronIdCutBased_cfi::threshold.
void HcalHF_S9S1algorithm::HFSetFlagFromS9S1 | ( | HFRecHit & | hf, |
HFRecHitCollection & | rec, | ||
const HcalChannelQuality * | myqual, | ||
const HcalSeverityLevelComputer * | mySeverity | ||
) |
Definition at line 86 of file HcalHF_S9S1algorithm.cc.
References funct::abs(), edmIntegrityCheck::d, egammaForCoreTracking_cff::depth, HcalDetId::depth(), edm::SortedCollection< T, SORT >::end(), CaloRecHit::energy(), ET, HcalTopology::etaRange(), EnergyCorrector::etas, edm::SortedCollection< T, SORT >::find(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalAcceptSeverityLevel_, HcalForward, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFS8S1Ratio, mps_fire::i, HFRecHit::id(), HcalDetId::ieta(), HcalDetId::iphi(), isS8S1_, cmsBatch::log, LongEnergyThreshold, LongETThreshold, LongSlopes, CaloRecHit::setFlagField(), ShortEnergyThreshold, ShortETThreshold, ShortSlopes, slope, and HcalCondObjectContainerBase::topo().
Referenced by HcalHitReconstructor::produce().
|
private |
Definition at line 61 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 62 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 53 of file HcalHF_S9S1algorithm.h.
|
private |
Definition at line 52 of file HcalHF_S9S1algorithm.h.
|
private |
Definition at line 57 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 59 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().
|
private |
Definition at line 55 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 58 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 56 of file HcalHF_S9S1algorithm.h.
Referenced by HcalHF_S9S1algorithm(), and HFSetFlagFromS9S1().