#include <L1GctJetFinderParams.h>
Public Member Functions | |
uint16_t | correctedEtGct (const double correctedEt) const |
Convert the corrected Et value to a linear Et for Ht summing. More... | |
double | correctedEtGeV (const double et, const unsigned eta, const bool tauVeto) const |
Eta takes a value from 0-10, corresponding to jet regions running from eta=0.0 to eta=5.0. More... | |
unsigned | getCenForJetEtaBoundary () const |
unsigned | getCenJetEtSeedGct () const |
double | getCenJetEtSeedGeV () const |
bool | getConvertToEnergy () const |
unsigned | getCorrType () const |
Access to jet Et calibration parameters. More... | |
unsigned | getForJetEtSeedGct () const |
double | getForJetEtSeedGeV () const |
unsigned | getHtJetEtThresholdGct () const |
double | getHtJetEtThresholdGeV () const |
double | getHtLsbGeV () const |
const std::vector< std::vector< double > > & | getJetCorrCoeffs () const |
unsigned | getMHtJetEtThresholdGct () const |
double | getMHtJetEtThresholdGeV () const |
double | getRgnEtLsbGeV () const |
const std::vector< std::vector< double > > & | getTauCorrCoeffs () const |
unsigned | getTauIsoEtThresholdGct () const |
double | getTauIsoEtThresholdGeV () const |
unsigned | getTauJetEtSeedGct () const |
double | getTauJetEtSeedGeV () const |
L1GctJetFinderParams () | |
L1GctJetFinderParams (double rgnEtLsb, double htLsb, double cJetSeed, double fJetSeed, double tJetSeed, double tauIsoEtThresh, double htJetEtThresh, double mhtJetEtThresh, unsigned etaBoundary, unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs, bool convertToEnergy, const std::vector< double > &energyConvCoeffs) | |
void | setHtSumParams (const double htLsb, const double htJetEtThresh, const double mhtJetEtThresh) |
void | setJetEtCalibrationParams (const unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs) |
void | setJetEtConvertToEnergyOff () |
void | setJetEtConvertToEnergyOn (const std::vector< double > &energyConvCoeffs) |
void | setParams (const double rgnEtLsb, const double htLsb, const double cJetSeed, const double fJetSeed, const double tJetSeed, const double tauIsoEtThresh, const double htJetEtThresh, const double mhtJetEtThresh, const unsigned etaBoundary, const unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs) |
void | setRegionEtLsb (const double rgnEtLsb) |
void | setSlidingWindowParams (const double cJetSeed, const double fJetSeed, const double tJetSeed, const unsigned etaBoundary) |
void | setTauAlgorithmParams (const double tauIsoEtThresh) |
~L1GctJetFinderParams () | |
Static Public Attributes | |
static const unsigned | N_CENTRAL_ETA_VALUES = 7 |
Number of eta bins used in correction. More... | |
static const unsigned | NUMBER_ETA_VALUES = 11 |
Number of eta bins used in correction. More... | |
Private Member Functions | |
double | correctionFunction (const double Et, const std::vector< double > &coeffs) const |
double | findCorrectedEt (const double Et, const std::vector< double > &coeffs) const |
double | orcaStyleCorrect (const double Et, const std::vector< double > &coeffs) const |
double | pfCorrect (const double Et, const std::vector< double > &coeffs) const |
double | piecewiseCubicCorrect (const double Et, const std::vector< double > &coeffs) const |
double | powerSeriesCorrect (const double Et, const std::vector< double > &coeffs) const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
double | simpleCorrect (const double Et, const std::vector< double > &coeffs) const |
Private Attributes | |
unsigned | cenForJetEtaBoundary_ |
double | cenJetEtSeed_ |
bool | convertToEnergy_ |
unsigned | corrType_ |
std::vector< double > | energyConversionCoeffs_ |
double | forJetEtSeed_ |
double | htJetEtThreshold_ |
double | htLsb_ |
std::vector< std::vector< double > > | jetCorrCoeffs_ |
double | mhtJetEtThreshold_ |
double | rgnEtLsb_ |
std::vector< std::vector< double > > | tauCorrCoeffs_ |
double | tauIsoEtThreshold_ |
double | tauJetEtSeed_ |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 10 of file L1GctJetFinderParams.h.
L1GctJetFinderParams::L1GctJetFinderParams | ( | ) |
Definition at line 17 of file L1GctJetFinderParams.cc.
L1GctJetFinderParams::L1GctJetFinderParams | ( | double | rgnEtLsb, |
double | htLsb, | ||
double | cJetSeed, | ||
double | fJetSeed, | ||
double | tJetSeed, | ||
double | tauIsoEtThresh, | ||
double | htJetEtThresh, | ||
double | mhtJetEtThresh, | ||
unsigned | etaBoundary, | ||
unsigned | corrType, | ||
const std::vector< std::vector< double > > & | jetCorrCoeffs, | ||
const std::vector< std::vector< double > > & | tauCorrCoeffs, | ||
bool | convertToEnergy, | ||
const std::vector< double > & | energyConvCoeffs | ||
) |
Definition at line 33 of file L1GctJetFinderParams.cc.
References corrType_, energyConversionCoeffs_, Exception, jetCorrCoeffs_, LogDebug, N_CENTRAL_ETA_VALUES, NUMBER_ETA_VALUES, and tauCorrCoeffs_.
L1GctJetFinderParams::~L1GctJetFinderParams | ( | ) |
Definition at line 108 of file L1GctJetFinderParams.cc.
uint16_t L1GctJetFinderParams::correctedEtGct | ( | const double | correctedEt | ) | const |
Convert the corrected Et value to a linear Et for Ht summing.
Convert the corrected Et value to an integer Et for Ht summing.
Definition at line 198 of file L1GctJetFinderParams.cc.
References htLsb_, and L1GctStaticParameters::jetCalibratedEtMax.
Referenced by getMHtJetEtThresholdGct().
double L1GctJetFinderParams::correctedEtGeV | ( | const double | et, |
const unsigned | eta, | ||
const bool | tauVeto | ||
) | const |
Eta takes a value from 0-10, corresponding to jet regions running from eta=0.0 to eta=5.0.
Definition at line 177 of file L1GctJetFinderParams.cc.
References cenForJetEtaBoundary_, convertToEnergy_, correctionFunction(), energyConversionCoeffs_, jetCorrCoeffs_, NUMBER_ETA_VALUES, mps_fire::result, and tauCorrCoeffs_.
Referenced by getMHtJetEtThresholdGct(), and L1GctJetEtCalibrationLut::value().
|
private |
Definition at line 212 of file L1GctJetFinderParams.cc.
References corrType_, orcaStyleCorrect(), pfCorrect(), piecewiseCubicCorrect(), powerSeriesCorrect(), mps_fire::result, and simpleCorrect().
Referenced by correctedEtGeV(), and getTauCorrCoeffs().
|
private |
Referenced by getTauCorrCoeffs().
|
inline |
Definition at line 43 of file L1GctJetFinderParams.h.
References cenForJetEtaBoundary_.
Referenced by operator<<(), L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 47 of file L1GctJetFinderParams.h.
References cenJetEtSeed_, and rgnEtLsb_.
Referenced by L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 37 of file L1GctJetFinderParams.h.
References cenJetEtSeed_.
Referenced by operator<<().
|
inline |
|
inline |
Access to jet Et calibration parameters.
Definition at line 88 of file L1GctJetFinderParams.h.
References corrType_.
Referenced by operator<<().
|
inline |
Definition at line 48 of file L1GctJetFinderParams.h.
References forJetEtSeed_, and rgnEtLsb_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 38 of file L1GctJetFinderParams.h.
References forJetEtSeed_.
Referenced by operator<<().
|
inline |
Definition at line 51 of file L1GctJetFinderParams.h.
References htJetEtThreshold_, and htLsb_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 41 of file L1GctJetFinderParams.h.
References htJetEtThreshold_.
Referenced by L1GctValidation::analyze(), and operator<<().
|
inline |
Definition at line 36 of file L1GctJetFinderParams.h.
References htLsb_.
Referenced by L1GctValidation::analyze(), L1GetHistLimits::getHistLimits(), operator<<(), L1ExtraParticlesProd::produce(), and L1GctGlobalEnergyAlgos::setJetFinderParams().
|
inline |
Definition at line 89 of file L1GctJetFinderParams.h.
References jetCorrCoeffs_.
Referenced by operator<<().
|
inline |
Definition at line 52 of file L1GctJetFinderParams.h.
References correctedEtGct(), correctedEtGeV(), EgHLTOffHistBins_cfi::et, PVValHelper::eta, htLsb_, mhtJetEtThreshold_, setHtSumParams(), setJetEtCalibrationParams(), setJetEtConvertToEnergyOff(), setJetEtConvertToEnergyOn(), setParams(), setRegionEtLsb(), setSlidingWindowParams(), and setTauAlgorithmParams().
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 42 of file L1GctJetFinderParams.h.
References mhtJetEtThreshold_.
Referenced by L1GctValidation::analyze(), and operator<<().
|
inline |
Definition at line 35 of file L1GctJetFinderParams.h.
References rgnEtLsb_.
Referenced by L1GctValidation::analyze(), and operator<<().
|
inline |
Definition at line 90 of file L1GctJetFinderParams.h.
References correctionFunction(), findCorrectedEt(), orcaStyleCorrect(), pfCorrect(), piecewiseCubicCorrect(), powerSeriesCorrect(), simpleCorrect(), and tauCorrCoeffs_.
Referenced by operator<<().
|
inline |
Definition at line 50 of file L1GctJetFinderParams.h.
References rgnEtLsb_, and tauIsoEtThreshold_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 40 of file L1GctJetFinderParams.h.
References tauIsoEtThreshold_.
Referenced by operator<<().
|
inline |
Definition at line 49 of file L1GctJetFinderParams.h.
References rgnEtLsb_, and tauJetEtSeed_.
Referenced by L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 39 of file L1GctJetFinderParams.h.
References tauJetEtSeed_.
Referenced by operator<<().
|
private |
Definition at line 247 of file L1GctJetFinderParams.cc.
References MaterialEffects_cfi::A, TtFullHadDaughter::B, gen::C, mathSSE::sqrt(), and MessageLogger_cff::threshold.
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
Definition at line 303 of file L1GctJetFinderParams.cc.
References JetChargeProducer_cfi::exp, and funct::pow().
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
Definition at line 277 of file L1GctJetFinderParams.cc.
References MaterialEffects_cfi::A, TtFullHadDaughter::B, gen::C, and MessageLogger_cff::threshold.
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
Definition at line 239 of file L1GctJetFinderParams.cc.
References mps_fire::i, and funct::pow().
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
void L1GctJetFinderParams::setHtSumParams | ( | const double | htLsb, |
const double | htJetEtThresh, | ||
const double | mhtJetEtThresh | ||
) |
Definition at line 145 of file L1GctJetFinderParams.cc.
References htJetEtThreshold_, htLsb_, and mhtJetEtThreshold_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
void L1GctJetFinderParams::setJetEtCalibrationParams | ( | const unsigned | corrType, |
const std::vector< std::vector< double > > & | jetCorrCoeffs, | ||
const std::vector< std::vector< double > > & | tauCorrCoeffs | ||
) |
Definition at line 127 of file L1GctJetFinderParams.cc.
References corrType_, jetCorrCoeffs_, and tauCorrCoeffs_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
void L1GctJetFinderParams::setJetEtConvertToEnergyOff | ( | ) |
Definition at line 140 of file L1GctJetFinderParams.cc.
References convertToEnergy_, and energyConversionCoeffs_.
Referenced by getMHtJetEtThresholdGct().
void L1GctJetFinderParams::setJetEtConvertToEnergyOn | ( | const std::vector< double > & | energyConvCoeffs | ) |
Definition at line 135 of file L1GctJetFinderParams.cc.
References convertToEnergy_, and energyConversionCoeffs_.
Referenced by getMHtJetEtThresholdGct().
void L1GctJetFinderParams::setParams | ( | const double | rgnEtLsb, |
const double | htLsb, | ||
const double | cJetSeed, | ||
const double | fJetSeed, | ||
const double | tJetSeed, | ||
const double | tauIsoEtThresh, | ||
const double | htJetEtThresh, | ||
const double | mhtJetEtThresh, | ||
const unsigned | etaBoundary, | ||
const unsigned | corrType, | ||
const std::vector< std::vector< double > > & | jetCorrCoeffs, | ||
const std::vector< std::vector< double > > & | tauCorrCoeffs | ||
) |
Definition at line 153 of file L1GctJetFinderParams.cc.
References setHtSumParams(), setJetEtCalibrationParams(), setRegionEtLsb(), setSlidingWindowParams(), and setTauAlgorithmParams().
Referenced by getMHtJetEtThresholdGct().
void L1GctJetFinderParams::setRegionEtLsb | ( | const double | rgnEtLsb | ) |
Definition at line 115 of file L1GctJetFinderParams.cc.
References rgnEtLsb_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
void L1GctJetFinderParams::setSlidingWindowParams | ( | const double | cJetSeed, |
const double | fJetSeed, | ||
const double | tJetSeed, | ||
const unsigned | etaBoundary | ||
) |
Definition at line 117 of file L1GctJetFinderParams.cc.
References cenForJetEtaBoundary_, cenJetEtSeed_, forJetEtSeed_, and tauJetEtSeed_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
void L1GctJetFinderParams::setTauAlgorithmParams | ( | const double | tauIsoEtThresh | ) |
Definition at line 151 of file L1GctJetFinderParams.cc.
References tauIsoEtThreshold_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
|
private |
Definition at line 267 of file L1GctJetFinderParams.cc.
References funct::pow().
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
friend |
Definition at line 127 of file L1GctJetFinderParams.h.
|
friend |
Definition at line 127 of file L1GctJetFinderParams.h.
|
private |
Definition at line 116 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getCenForJetEtaBoundary(), and setSlidingWindowParams().
|
private |
Definition at line 110 of file L1GctJetFinderParams.h.
Referenced by getCenJetEtSeedGct(), getCenJetEtSeedGeV(), and setSlidingWindowParams().
|
private |
Definition at line 124 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getConvertToEnergy(), setJetEtConvertToEnergyOff(), and setJetEtConvertToEnergyOn().
|
private |
Definition at line 119 of file L1GctJetFinderParams.h.
Referenced by correctionFunction(), getCorrType(), L1GctJetFinderParams(), and setJetEtCalibrationParams().
|
private |
Definition at line 125 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), L1GctJetFinderParams(), setJetEtConvertToEnergyOff(), and setJetEtConvertToEnergyOn().
|
private |
Definition at line 111 of file L1GctJetFinderParams.h.
Referenced by getForJetEtSeedGct(), getForJetEtSeedGeV(), and setSlidingWindowParams().
|
private |
Definition at line 114 of file L1GctJetFinderParams.h.
Referenced by getHtJetEtThresholdGct(), getHtJetEtThresholdGeV(), and setHtSumParams().
|
private |
Definition at line 107 of file L1GctJetFinderParams.h.
Referenced by correctedEtGct(), getHtJetEtThresholdGct(), getHtLsbGeV(), getMHtJetEtThresholdGct(), and setHtSumParams().
|
private |
Definition at line 120 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getJetCorrCoeffs(), L1GctJetFinderParams(), and setJetEtCalibrationParams().
|
private |
Definition at line 115 of file L1GctJetFinderParams.h.
Referenced by getMHtJetEtThresholdGct(), getMHtJetEtThresholdGeV(), and setHtSumParams().
|
static |
Number of eta bins used in correction.
Definition at line 13 of file L1GctJetFinderParams.h.
Referenced by L1GctConfigProducers::L1GctConfigProducers(), L1GctJetFinderParams(), and L1GctJetFinderParamsOnlineProd::newObject().
|
static |
Number of eta bins used in correction.
Definition at line 12 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), L1GctConfigProducers::L1GctConfigProducers(), L1GctEmulator::L1GctEmulator(), L1GctJetFinderParams(), L1GctJetFinderParamsOnlineProd::newObject(), L1GctJetFinderBase::setEnergySumMasks(), and L1GctJetFinderBase::setJetEtCalibrationLuts().
|
private |
Definition at line 106 of file L1GctJetFinderParams.h.
Referenced by getCenJetEtSeedGct(), getForJetEtSeedGct(), getRgnEtLsbGeV(), getTauIsoEtThresholdGct(), getTauJetEtSeedGct(), and setRegionEtLsb().
|
private |
Definition at line 121 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getTauCorrCoeffs(), L1GctJetFinderParams(), and setJetEtCalibrationParams().
|
private |
Definition at line 113 of file L1GctJetFinderParams.h.
Referenced by getTauIsoEtThresholdGct(), getTauIsoEtThresholdGeV(), and setTauAlgorithmParams().
|
private |
Definition at line 112 of file L1GctJetFinderParams.h.
Referenced by getTauJetEtSeedGct(), getTauJetEtSeedGeV(), and setSlidingWindowParams().