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 piecewiseCubicCorrect(const double Et, const std::vector< double > &coeffs) const
static const unsigned N_CENTRAL_ETA_VALUES
Number of eta bins used in correction.
void setHtSumParams(const double htLsb, const double htJetEtThresh, const double mhtJetEtThresh)
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...
void setJetEtConvertToEnergyOff()
double getRgnEtLsbGeV() const
uint16_t correctedEtGct(const double correctedEt) const
Convert the corrected Et value to a linear Et for Ht summing.
double getHtLsbGeV() const
void setRegionEtLsb(const double rgnEtLsb)
bool getConvertToEnergy() const
unsigned getHtJetEtThresholdGct() const
double correctionFunction(const double Et, const std::vector< double > &coeffs) const
double getHtJetEtThresholdGeV() const
std::vector< std::vector< double > > tauCorrCoeffs_
unsigned getTauIsoEtThresholdGct() const
const std::vector< std::vector< double > > & getJetCorrCoeffs() const
double getCenJetEtSeedGeV() const
unsigned getForJetEtSeedGct() const
double tauIsoEtThreshold_
double findCorrectedEt(const double Et, const std::vector< double > &coeffs) const
double pfCorrect(const double Et, const std::vector< double > &coeffs) const
const std::vector< std::vector< double > > & getTauCorrCoeffs() const
double getTauJetEtSeedGeV() const
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)
unsigned getCenForJetEtaBoundary() const
unsigned cenForJetEtaBoundary_
void setJetEtConvertToEnergyOn(const std::vector< double > &energyConvCoeffs)
double orcaStyleCorrect(const double Et, const std::vector< double > &coeffs) const
static const unsigned NUMBER_ETA_VALUES
Number of eta bins used in correction.
double getForJetEtSeedGeV() const
double powerSeriesCorrect(const double Et, const std::vector< double > &coeffs) const
void setJetEtCalibrationParams(const unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs)
double simpleCorrect(const double Et, const std::vector< double > &coeffs) const
#define COND_SERIALIZABLE
std::vector< std::vector< double > > jetCorrCoeffs_
unsigned getCorrType() const
Access to jet Et calibration parameters.
void setTauAlgorithmParams(const double tauIsoEtThresh)
double getTauIsoEtThresholdGeV() const
unsigned getCenJetEtSeedGct() const
void setSlidingWindowParams(const double cJetSeed, const double fJetSeed, const double tJetSeed, const unsigned etaBoundary)
unsigned getTauJetEtSeedGct() const
double getMHtJetEtThresholdGeV() const
std::vector< double > energyConversionCoeffs_
unsigned getMHtJetEtThresholdGct() const