#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.
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_, l1tnanotables_cff::et, PVValHelper::eta, jetCorrCoeffs_, NUMBER_ETA_VALUES, mps_fire::result, and tauCorrCoeffs_.
Referenced by 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().
|
private |
|
inline |
Definition at line 43 of file L1GctJetFinderParams.h.
References cenForJetEtaBoundary_.
Referenced by 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 |
|
inline |
|
inline |
Access to jet Et calibration parameters.
Definition at line 88 of file L1GctJetFinderParams.h.
References corrType_.
|
inline |
Definition at line 48 of file L1GctJetFinderParams.h.
References forJetEtSeed_, and rgnEtLsb_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
|
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().
|
inline |
Definition at line 36 of file L1GctJetFinderParams.h.
References htLsb_.
Referenced by L1GctValidation::analyze(), L1GetHistLimits::getHistLimits(), L1ExtraParticlesProd::produce(), and L1GctGlobalEnergyAlgos::setJetFinderParams().
|
inline |
Definition at line 89 of file L1GctJetFinderParams.h.
References jetCorrCoeffs_.
|
inline |
Definition at line 52 of file L1GctJetFinderParams.h.
References htLsb_, and mhtJetEtThreshold_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 42 of file L1GctJetFinderParams.h.
References mhtJetEtThreshold_.
Referenced by L1GctValidation::analyze().
|
inline |
Definition at line 35 of file L1GctJetFinderParams.h.
References rgnEtLsb_.
Referenced by L1GctValidation::analyze().
|
inline |
Definition at line 90 of file L1GctJetFinderParams.h.
References tauCorrCoeffs_.
|
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_.
|
inline |
Definition at line 49 of file L1GctJetFinderParams.h.
References rgnEtLsb_, and tauJetEtSeed_.
Referenced by L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
|
private |
Definition at line 247 of file L1GctJetFinderParams.cc.
References A, B, correctionTermsCaloMet_cff::C, mathSSE::sqrt(), and DiMuonV_cfg::threshold.
Referenced by correctionFunction().
|
private |
Definition at line 303 of file L1GctJetFinderParams.cc.
References l1tnanotables_cff::et, JetChargeProducer_cfi::exp, and funct::pow().
Referenced by correctionFunction().
|
private |
Definition at line 277 of file L1GctJetFinderParams.cc.
References A, B, correctionTermsCaloMet_cff::C, and DiMuonV_cfg::threshold.
Referenced by correctionFunction().
|
private |
Definition at line 239 of file L1GctJetFinderParams.cc.
References mps_fire::i, and funct::pow().
Referenced by correctionFunction().
|
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 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 setParams().
void L1GctJetFinderParams::setJetEtConvertToEnergyOff | ( | ) |
Definition at line 140 of file L1GctJetFinderParams.cc.
References convertToEnergy_, and energyConversionCoeffs_.
void L1GctJetFinderParams::setJetEtConvertToEnergyOn | ( | const std::vector< double > & | energyConvCoeffs | ) |
Definition at line 135 of file L1GctJetFinderParams.cc.
References convertToEnergy_, and energyConversionCoeffs_.
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().
void L1GctJetFinderParams::setRegionEtLsb | ( | const double | rgnEtLsb | ) |
Definition at line 115 of file L1GctJetFinderParams.cc.
References rgnEtLsb_.
Referenced by 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 setParams().
void L1GctJetFinderParams::setTauAlgorithmParams | ( | const double | tauIsoEtThresh | ) |
Definition at line 151 of file L1GctJetFinderParams.cc.
References tauIsoEtThreshold_.
Referenced by setParams().
|
private |
Definition at line 267 of file L1GctJetFinderParams.cc.
References funct::pow().
Referenced by correctionFunction().
|
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().