#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 34 of file L1GctJetFinderParams.cc.
References corrType_, energyConversionCoeffs_, Exception, jetCorrCoeffs_, LogDebug, N_CENTRAL_ETA_VALUES, NUMBER_ETA_VALUES, and tauCorrCoeffs_.
L1GctJetFinderParams::~L1GctJetFinderParams | ( | ) |
Definition at line 102 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 209 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 185 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 226 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 45 of file L1GctJetFinderParams.h.
References cenForJetEtaBoundary_.
Referenced by operator<<(), L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 49 of file L1GctJetFinderParams.h.
References cenJetEtSeed_, and rgnEtLsb_.
Referenced by L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 39 of file L1GctJetFinderParams.h.
References cenJetEtSeed_.
Referenced by operator<<().
|
inline |
|
inline |
Access to jet Et calibration parameters.
Definition at line 92 of file L1GctJetFinderParams.h.
References corrType_.
Referenced by operator<<().
|
inline |
Definition at line 50 of file L1GctJetFinderParams.h.
References forJetEtSeed_, and rgnEtLsb_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 40 of file L1GctJetFinderParams.h.
References forJetEtSeed_.
Referenced by operator<<().
|
inline |
Definition at line 53 of file L1GctJetFinderParams.h.
References htJetEtThreshold_, and htLsb_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 43 of file L1GctJetFinderParams.h.
References htJetEtThreshold_.
Referenced by L1GctValidation::analyze(), and operator<<().
|
inline |
Definition at line 38 of file L1GctJetFinderParams.h.
References htLsb_.
Referenced by L1GctValidation::analyze(), L1GetHistLimits::getHistLimits(), operator<<(), L1ExtraParticlesProd::produce(), and L1GctGlobalEnergyAlgos::setJetFinderParams().
|
inline |
Definition at line 93 of file L1GctJetFinderParams.h.
References jetCorrCoeffs_.
Referenced by operator<<().
|
inline |
Definition at line 54 of file L1GctJetFinderParams.h.
References correctedEtGct(), correctedEtGeV(), stringResolutionProvider_cfi::et, stringResolutionProvider_cfi::eta, htLsb_, mhtJetEtThreshold_, setHtSumParams(), setJetEtCalibrationParams(), setJetEtConvertToEnergyOff(), setJetEtConvertToEnergyOn(), setParams(), setRegionEtLsb(), setSlidingWindowParams(), and setTauAlgorithmParams().
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 44 of file L1GctJetFinderParams.h.
References mhtJetEtThreshold_.
Referenced by L1GctValidation::analyze(), and operator<<().
|
inline |
Definition at line 37 of file L1GctJetFinderParams.h.
References rgnEtLsb_.
Referenced by L1GctValidation::analyze(), and operator<<().
|
inline |
Definition at line 94 of file L1GctJetFinderParams.h.
References correctionFunction(), findCorrectedEt(), orcaStyleCorrect(), pfCorrect(), piecewiseCubicCorrect(), powerSeriesCorrect(), simpleCorrect(), and tauCorrCoeffs_.
Referenced by operator<<().
|
inline |
Definition at line 52 of file L1GctJetFinderParams.h.
References rgnEtLsb_, and tauIsoEtThreshold_.
Referenced by L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 42 of file L1GctJetFinderParams.h.
References tauIsoEtThreshold_.
Referenced by operator<<().
|
inline |
Definition at line 51 of file L1GctJetFinderParams.h.
References rgnEtLsb_, and tauJetEtSeed_.
Referenced by L1GlobalCaloTrigger::setJetFinderParams(), and L1GctJetFinderBase::setJetFinderParams().
|
inline |
Definition at line 41 of file L1GctJetFinderParams.h.
References tauJetEtSeed_.
Referenced by operator<<().
|
private |
Definition at line 264 of file L1GctJetFinderParams.cc.
References patCaloMETCorrections_cff::A, patCaloMETCorrections_cff::C, mathSSE::sqrt(), and totemRPUVPatternFinder_cfi::threshold.
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
Definition at line 329 of file L1GctJetFinderParams.cc.
References JetChargeProducer_cfi::exp, and funct::pow().
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
Definition at line 298 of file L1GctJetFinderParams.cc.
References patCaloMETCorrections_cff::A, patCaloMETCorrections_cff::C, and totemRPUVPatternFinder_cfi::threshold.
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
private |
Definition at line 255 of file L1GctJetFinderParams.cc.
References 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 146 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 125 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 134 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 160 of file L1GctJetFinderParams.cc.
References setHtSumParams(), setJetEtCalibrationParams(), setRegionEtLsb(), setSlidingWindowParams(), and setTauAlgorithmParams().
Referenced by getMHtJetEtThresholdGct().
void L1GctJetFinderParams::setRegionEtLsb | ( | const double | rgnEtLsb | ) |
Definition at line 109 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 114 of file L1GctJetFinderParams.cc.
References cenForJetEtaBoundary_, cenJetEtSeed_, forJetEtSeed_, and tauJetEtSeed_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
void L1GctJetFinderParams::setTauAlgorithmParams | ( | const double | tauIsoEtThresh | ) |
Definition at line 155 of file L1GctJetFinderParams.cc.
References tauIsoEtThreshold_.
Referenced by getMHtJetEtThresholdGct(), and setParams().
|
private |
Definition at line 286 of file L1GctJetFinderParams.cc.
References funct::pow().
Referenced by correctionFunction(), and getTauCorrCoeffs().
|
friend |
Definition at line 134 of file L1GctJetFinderParams.h.
|
friend |
Definition at line 134 of file L1GctJetFinderParams.h.
|
private |
Definition at line 122 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getCenForJetEtaBoundary(), and setSlidingWindowParams().
|
private |
Definition at line 116 of file L1GctJetFinderParams.h.
Referenced by getCenJetEtSeedGct(), getCenJetEtSeedGeV(), and setSlidingWindowParams().
|
private |
Definition at line 130 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getConvertToEnergy(), setJetEtConvertToEnergyOff(), and setJetEtConvertToEnergyOn().
|
private |
Definition at line 125 of file L1GctJetFinderParams.h.
Referenced by correctionFunction(), getCorrType(), L1GctJetFinderParams(), and setJetEtCalibrationParams().
|
private |
Definition at line 131 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), L1GctJetFinderParams(), setJetEtConvertToEnergyOff(), and setJetEtConvertToEnergyOn().
|
private |
Definition at line 117 of file L1GctJetFinderParams.h.
Referenced by getForJetEtSeedGct(), getForJetEtSeedGeV(), and setSlidingWindowParams().
|
private |
Definition at line 120 of file L1GctJetFinderParams.h.
Referenced by getHtJetEtThresholdGct(), getHtJetEtThresholdGeV(), and setHtSumParams().
|
private |
Definition at line 113 of file L1GctJetFinderParams.h.
Referenced by correctedEtGct(), getHtJetEtThresholdGct(), getHtLsbGeV(), getMHtJetEtThresholdGct(), and setHtSumParams().
|
private |
Definition at line 126 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getJetCorrCoeffs(), L1GctJetFinderParams(), and setJetEtCalibrationParams().
|
private |
Definition at line 121 of file L1GctJetFinderParams.h.
Referenced by getMHtJetEtThresholdGct(), getMHtJetEtThresholdGeV(), and setHtSumParams().
|
static |
Number of eta bins used in correction.
Definition at line 15 of file L1GctJetFinderParams.h.
Referenced by L1GctConfigProducers::L1GctConfigProducers(), L1GctJetFinderParams(), and L1GctJetFinderParamsOnlineProd::newObject().
|
static |
Number of eta bins used in correction.
Definition at line 14 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), L1GctConfigProducers::L1GctConfigProducers(), L1GctEmulator::L1GctEmulator(), L1GctJetFinderParams(), L1GctJetFinderParamsOnlineProd::newObject(), L1GctJetFinderBase::setEnergySumMasks(), and L1GctJetFinderBase::setJetEtCalibrationLuts().
|
private |
Definition at line 112 of file L1GctJetFinderParams.h.
Referenced by getCenJetEtSeedGct(), getForJetEtSeedGct(), getRgnEtLsbGeV(), getTauIsoEtThresholdGct(), getTauJetEtSeedGct(), and setRegionEtLsb().
|
private |
Definition at line 127 of file L1GctJetFinderParams.h.
Referenced by correctedEtGeV(), getTauCorrCoeffs(), L1GctJetFinderParams(), and setJetEtCalibrationParams().
|
private |
Definition at line 119 of file L1GctJetFinderParams.h.
Referenced by getTauIsoEtThresholdGct(), getTauIsoEtThresholdGeV(), and setTauAlgorithmParams().
|
private |
Definition at line 118 of file L1GctJetFinderParams.h.
Referenced by getTauJetEtSeedGct(), getTauJetEtSeedGeV(), and setSlidingWindowParams().