#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_, 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 HLT_25ns10e33_v2_cff::HcalAcceptSeverityLevel, HcalAcceptSeverityLevel_, isS8S1_, LongEnergyThreshold, LongETThreshold, LongSlopes, 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 i, funct::pow(), and dtDQMClient_cfg::threshold.
double HcalHF_S9S1algorithm::CalcSlope | ( | int | abs_ieta, |
const std::vector< double > & | params | ||
) |
Definition at line 239 of file HcalHF_S9S1algorithm.cc.
References i, funct::pow(), and dtDQMClient_cfg::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(), ztail::d, HcalDetId::depth(), HLT_25ns10e33_v2_cff::depth, edm::SortedCollection< T, SORT >::end(), CaloRecHit::energy(), relval_parameters_module::energy, ET, HcalTopology::etaRange(), EnergyCorrector::etas, edm::SortedCollection< T, SORT >::find(), HcalSeverityLevelComputer::getSeverityLevel(), HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalAcceptSeverityLevel_, HcalForward, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFS8S1Ratio, i, HFRecHit::id(), HcalDetId::ieta(), HcalDetId::iphi(), isS8S1_, dqm-mbProfile::log, LongEnergyThreshold, LongETThreshold, LongSlopes, neighbor(), 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().