1 #ifndef L1GCTJETFINDERPARAMS_H_ 2 #define L1GCTJETFINDERPARAMS_H_ 22 double tauIsoEtThresh,
24 double mhtJetEtThresh,
27 const std::vector<std::vector<double> >& jetCorrCoeffs,
28 const std::vector<std::vector<double> >& tauCorrCoeffs,
30 const std::vector<double>& energyConvCoeffs);
57 const double fJetSeed,
58 const double tJetSeed,
59 const unsigned etaBoundary);
61 const std::vector<std::vector<double> >& jetCorrCoeffs,
62 const std::vector<std::vector<double> >& tauCorrCoeffs);
65 void setHtSumParams(
const double htLsb,
const double htJetEtThresh,
const double mhtJetEtThresh);
69 const double cJetSeed,
70 const double fJetSeed,
71 const double tJetSeed,
72 const double tauIsoEtThresh,
73 const double htJetEtThresh,
74 const double mhtJetEtThresh,
75 const unsigned etaBoundary,
76 const unsigned corrType,
77 const std::vector<std::vector<double> >& jetCorrCoeffs,
78 const std::vector<std::vector<double> >& tauCorrCoeffs);
97 double findCorrectedEt(
const double Et,
const std::vector<double>& coeffs)
const;
99 double orcaStyleCorrect(
const double Et,
const std::vector<double>& coeffs)
const;
100 double simpleCorrect(
const double Et,
const std::vector<double>& coeffs)
const;
102 double pfCorrect(
const double Et,
const std::vector<double>& coeffs)
const;
std::ostream & operator<<(std::ostream &os, const L1GctJetFinderParams &fn)
Overload << operator.
double powerSeriesCorrect(const double Et, const std::vector< double > &coeffs) const
static const unsigned N_CENTRAL_ETA_VALUES
Number of eta bins used in correction.
bool getConvertToEnergy() const
void setHtSumParams(const double htLsb, const double htJetEtThresh, const double mhtJetEtThresh)
double findCorrectedEt(const double Et, const std::vector< double > &coeffs) const
void setJetEtConvertToEnergyOff()
void setRegionEtLsb(const double rgnEtLsb)
unsigned getCenJetEtSeedGct() const
unsigned getTauJetEtSeedGct() const
const std::vector< std::vector< double > > & getJetCorrCoeffs() const
std::vector< std::vector< double > > tauCorrCoeffs_
unsigned getTauIsoEtThresholdGct() const
double getHtLsbGeV() const
double tauIsoEtThreshold_
uint16_t correctedEtGct(const double correctedEt) const
Convert the corrected Et value to a linear Et for Ht summing.
double getCenJetEtSeedGeV() const
unsigned getMHtJetEtThresholdGct() const
double getTauJetEtSeedGeV() const
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...
double mhtJetEtThreshold_
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)
double correctionFunction(const double Et, const std::vector< double > &coeffs) const
unsigned getCorrType() const
Access to jet Et calibration parameters.
unsigned cenForJetEtaBoundary_
double simpleCorrect(const double Et, const std::vector< double > &coeffs) const
void setJetEtConvertToEnergyOn(const std::vector< double > &energyConvCoeffs)
double getMHtJetEtThresholdGeV() const
const std::vector< std::vector< double > > & getTauCorrCoeffs() const
double getTauIsoEtThresholdGeV() const
double piecewiseCubicCorrect(const double Et, const std::vector< double > &coeffs) const
static const unsigned NUMBER_ETA_VALUES
Number of eta bins used in correction.
unsigned getCenForJetEtaBoundary() const
void setJetEtCalibrationParams(const unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs)
#define COND_SERIALIZABLE
std::vector< std::vector< double > > jetCorrCoeffs_
unsigned getHtJetEtThresholdGct() const
double getHtJetEtThresholdGeV() const
void setTauAlgorithmParams(const double tauIsoEtThresh)
double pfCorrect(const double Et, const std::vector< double > &coeffs) const
double getRgnEtLsbGeV() const
unsigned getForJetEtSeedGct() const
double orcaStyleCorrect(const double Et, const std::vector< double > &coeffs) const
void setSlidingWindowParams(const double cJetSeed, const double fJetSeed, const double tJetSeed, const unsigned etaBoundary)
double getForJetEtSeedGeV() const
std::vector< double > energyConversionCoeffs_